Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
17829832
Commit
17829832
authored
Oct 30, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sh
parent
905c4e42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
run.sh
eda/feededa/run.sh
+4
-4
No files found.
eda/feededa/run.sh
View file @
17829832
...
...
@@ -3,11 +3,11 @@ if [[ $# -ne 2 ]];then
exit
fi
startdate
=
`
date
-d
"
("
+%Y%m
%d
`
enddate
=
`
date
-d
"
["
+%Y%m
%d
`
startdate
=
`
date
-d
"
$1
"
+%Y-%m-
%d
`
enddate
=
`
date
-d
"
$2
"
+%Y-%m-
%d
`
while
[[
$startdate
<
"nddate
]]
while
[[
$startdate
<
$enddate
]]
do
/opt/spark/bin/spark-submit
--master
spark://10.31.242.83:7077
--total-executor-cores
20
--executor-memory
3g
--executor-cores
2
--driver-memory
8g
--conf
spark.default.parallelism
=
200
--conf
spark.storage.memoryFraction
=
0.5
--conf
spark.shuffle.memoryFraction
=
0.3
--class
com.gmei.jerry.strategy_clk_imp_oldUser /srv/apps/ffm-baseline/eda/feededa/target/scala-2.11/feededa-assembly-0.1.jar
--env
prod
--date
$startdate
>>
ctr1.log
startdate=
`
date
-d
"+1 day
$startdate
"
+%Y
%m
%d
`
startdate
=
`
date
-d
"+1 day
$startdate
"
+%Y
-%m-
%d
`
done
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