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
e87e6ee2
Commit
e87e6ee2
authored
Apr 26, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
3de65f1e
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
22 deletions
+23
-22
pull_zjw.sh
bin/pull_zjw.sh
+0
-0
demo.zip
jobs/demo/demo.zip
+0
-0
step1.job
jobs/demo/step1.job
+2
-2
step2.job
jobs/demo/step2.job
+2
-2
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
step2.job
jobs/demo_param/step2.job
+2
-2
hive2csv.sh
lib/shell/hive2csv.sh
+1
-1
hive2hive.sh
lib/shell/hive2hive.sh
+1
-1
sparksql2email.sh
lib/shell/sparksql2email.sh
+3
-2
No files found.
bin/pull_zjw.sh
100644 → 100755
View file @
e87e6ee2
File mode changed from 100644 to 100755
jobs/demo/demo.zip
deleted
100644 → 0
View file @
3de65f1e
File deleted
jobs/demo/step1.job
View file @
e87e6ee2
#step1.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo/step2.job
View file @
e87e6ee2
#step2.job
type=command
dependencies=step1
command=sh /srv/apps/bi-report/lib/shell/hive2csv.sh demo
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/hive2csv.sh demo
\ No newline at end of file
jobs/demo_param/demo_param.zip
deleted
100644 → 0
View file @
3de65f1e
File deleted
jobs/demo_param/step1_1.job
View file @
e87e6ee2
#step1_1.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step1_2.job
View file @
e87e6ee2
#step1_2.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step1_3.job
View file @
e87e6ee2
#step1_3.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step1_4.job
View file @
e87e6ee2
#step1_4.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step1_5.job
View file @
e87e6ee2
#step1_5.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step1_6.job
View file @
e87e6ee2
#step1_6.job
type=command
command=sh /srv/apps/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 20200423
\ No newline at end of file
jobs/demo_param/step2.job
View file @
e87e6ee2
#step2.job
type=command
dependencies=step1_1,step1_2,step1_3,step1_4,step1_5,step1_6
command=sh /srv/apps/bi-report/lib/shell/sparksql2email.sh demo_param zhaojianwei zhaojianwei
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/sparksql2email.sh demo_param zhaojianwei zhaojianwei
\ No newline at end of file
lib/shell/hive2csv.sh
View file @
e87e6ee2
...
...
@@ -45,7 +45,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo
"************************************"
echo
""
cp
"/
srv/apps
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
cp
"/
home/bi
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
sed
-i
"s/
\$
V_PARYMD/
$V_PARYMD
/g"
$tmp_file_name
sed
-i
"s/
\$
V_PARY_M_D/
$V_PARY_M_D
/g"
$tmp_file_name
sed
-i
"s/
\$
V_1DAYMD_AGO/
$V_1DAYMD_AGO
/g"
$tmp_file_name
...
...
lib/shell/hive2hive.sh
View file @
e87e6ee2
...
...
@@ -43,7 +43,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo
"************************************"
echo
""
cp
"/
srv/apps
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
cp
"/
home/bi
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
sed
-i
"s/
\$
V_PARYMD/
$V_PARYMD
/g"
$tmp_file_name
sed
-i
"s/
\$
V_PARY_M_D/
$V_PARY_M_D
/g"
$tmp_file_name
sed
-i
"s/
\$
V_1DAYMD_AGO/
$V_1DAYMD_AGO
/g"
$tmp_file_name
...
...
lib/shell/sparksql2email.sh
View file @
e87e6ee2
...
...
@@ -45,7 +45,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo
"************************************"
echo
""
cp
"/
srv/apps
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
cp
"/
home/bi
/bi-report/sqls/"
$1
".sql"
$tmp_file_name
sed
-i
"s/
\$
V_PARYMD/
$V_PARYMD
/g"
$tmp_file_name
sed
-i
"s/
\$
V_PARY_M_D/
$V_PARY_M_D
/g"
$tmp_file_name
sed
-i
"s/
\$
V_1DAYMD_AGO/
$V_1DAYMD_AGO
/g"
$tmp_file_name
...
...
@@ -63,6 +63,6 @@ cc=$3
echo
"to: "
$to
echo
"cc: "
$cc
python2.7 /
srv/apps
/bi-report/lib/python/sendmail.py
-t
$to
-s
自动发送
-m
$cc
-a
$result_file_name
python2.7 /
home/bi
/bi-report/lib/python/sendmail.py
-t
$to
-s
自动发送
-m
$cc
-a
$result_file_name
exit
0
\ No newline at end of file
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