回复:Re:run spark apps in linux crontab

2016-07-20 Thread luohui20001
na.com>, "user@spark.apache.org" <user@spark.apache.org> 主题:Re:run spark apps in linux crontab 日期:2016年07月20日 18点11分 Hi, I just meet this problem, too! The reason is crontab runtime doesn't have the variables you defined, such as $SPARK_HOME.I defined the $SPARK_HOME and other v

Re:run spark apps in linux crontab

2016-07-20 Thread focus
Hi, I just meet this problem, too! The reason is crontab runtime doesn't have the variables you defined, such as $SPARK_HOME. I defined the $SPARK_HOME and other variables in /etc/profile like this: export $MYSCRIPTS=/opt/myscripts export $SPARK_HOME=/opt/spark then, in my crontab job script