Two Nodes :SparkContext Null Pointer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Two Nodes :SparkContext Null Pointer

Sriram
This post has NOT been accepted by the mailing list yet.
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Two Nodes :SparkContext Null Pointer

Sriram
This post has NOT been accepted by the mailing list yet.
Fixed it by submitting the second job as a child process.

Thanks,
Sriram.
Loading...