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
905c4e42
Commit
905c4e42
authored
Oct 30, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sh
parent
7832deda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
run.sh
eda/feededa/run.sh
+13
-0
No files found.
eda/feededa/run.sh
0 → 100644
View file @
905c4e42
if
[[
$#
-ne
2
]]
;
then
echo
'Usage:'
$0
' <startdate> <enddate>'
exit
fi
startdate
=
`
date
-d
"("
+%Y%m%d
`
enddate
=
`
date
-d
"["
+%Y%m%d
`
while
[[
$startdate
<
"nddate ]]
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
`
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