You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sriram <sr...@gmail.com> on 2017/04/10 07:33:32 UTC

Two Nodes :SparkContext Null Pointer

Hello Everyone,

Need support on this scenario,
We have two masters and three worker nodes all configured in standalone
cluster. There are two jobs deployed in all the worker nodes. one job Quartz
scheduler and the other job is some exporting application.

Quartz scheduler job is submitted from the shell and when the cron triggers
other job launched using java spark launcher from the first job. Both the
jobs runs fine on same worker node, but when master chooses different nodes
its unable to create a spark context in the second job. Any idea?.

Thanks,
Sriram.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Two-Nodes-SparkContext-Null-Pointer-tp28582.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Re: Two Nodes :SparkContext Null Pointer

Posted by Sriram <sr...@gmail.com>.
Fixed it by submitting the second job as a child process. 

Thanks,
Sriram.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Two-Nodes-SparkContext-Null-Pointer-tp28582p28585.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org