|
@@ -5,6 +5,7 @@ export PATH=$JAVA_HOME/bin:$PATH
|
|
|
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
|
|
|
|
|
|
bashPath=/root/maxcompute_job/flow
|
|
|
+odps_cmd=/root/maxcompute_job/flow/odpscmd
|
|
|
debug=0
|
|
|
|
|
|
if [ $# -eq 0 ]; then
|
|
@@ -53,7 +54,7 @@ start_job() {
|
|
|
return
|
|
|
else
|
|
|
echo ""
|
|
|
- java -jar $bashPath/DataWorks-flow-touch.jar -f $bashPath/jobs/$1
|
|
|
+ java -jar $bashPath/DataWorks-flow-touch.jar -f $bashPath/jobs/$1 -odps $odps_cmd
|
|
|
fi
|
|
|
|
|
|
if [ $? -eq 0 ]; then
|