Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
c1f80553
Commit
c1f80553
authored
Apr 26, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
0c27512f
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
15 deletions
+22
-15
demo.zip
jobs/demo/demo.zip
+0
-0
step1.job
jobs/demo/step1.job
+2
-2
demo.zip
jobs/demo_param/demo.zip
+0
-0
demo_param.zip
jobs/demo_param/demo_param.zip
+0
-0
step1_1.job
jobs/demo_param/step1_1.job
+2
-2
step1_2.job
jobs/demo_param/step1_2.job
+2
-2
step1_3.job
jobs/demo_param/step1_3.job
+2
-2
step1_4.job
jobs/demo_param/step1_4.job
+2
-2
step1_5.job
jobs/demo_param/step1_5.job
+2
-2
step1_6.job
jobs/demo_param/step1_6.job
+2
-2
waitsuccess.sh
lib/shell/waitsuccess.sh
+8
-1
No files found.
jobs/demo/demo.zip
View file @
c1f80553
No preview for this file type
jobs/demo/step1.job
View file @
c1f80553
#step1.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online ml_device_day_active_status 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online ml_device_day_active_status
\ No newline at end of file
jobs/demo_param/demo.zip
0 → 100644
View file @
c1f80553
File added
jobs/demo_param/demo_param.zip
deleted
100644 → 0
View file @
0c27512f
File deleted
jobs/demo_param/step1_1.job
View file @
c1f80553
#step1_1.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_3_0_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_3_0_view
\ No newline at end of file
jobs/demo_param/step1_2.job
View file @
c1f80553
#step1_2.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_aggregate_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_aggregate_view
\ No newline at end of file
jobs/demo_param/step1_3.job
View file @
c1f80553
#step1_3.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_tag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_tag_view
\ No newline at end of file
jobs/demo_param/step1_4.job
View file @
c1f80553
#step1_4.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_view
\ No newline at end of file
jobs/demo_param/step1_5.job
View file @
c1f80553
#step1_5.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_map_oldtag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_map_oldtag_view
\ No newline at end of file
jobs/demo_param/step1_6.job
View file @
c1f80553
#step1_6.job
type=command
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_view
\ No newline at end of file
lib/shell/waitsuccess.sh
View file @
c1f80553
...
...
@@ -5,10 +5,17 @@ if [ $# -lt 4 ]; then
exit
0
fi
yesterday_date
=
$4
#输入的账期为空,则取T+1默认账期
if
[
-z
$4
]
;
then
yesterday_date
=
`
date
--date
=
"-1 day"
+%Y%m%d
`
fi
export
TYPE
=
$1
export
DB
=
$2
export
TABLE
=
$3
export
PARTITIONS
=
$
4
export
PARTITIONS
=
$
yesterday_date
/bin/bash /srv/apps/data-ready-checker/client/bin/checker.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment