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
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