Re: JavaStreamingContext.stop() hangs

2016-07-01 Thread chandan prakash
http://why-not-learn-something.blogspot.in/2016/05/apache-spark-streaming-how-to-do.html On Fri, Jul 1, 2016 at 1:42 PM, manoop wrote: > I have a Spark job and I just want to stop it on some condition. Once the > condition is met, I am calling JavaStreamingContext.stop(),

JavaStreamingContext.stop() hangs

2016-07-01 Thread manoop
I have a Spark job and I just want to stop it on some condition. Once the condition is met, I am calling JavaStreamingContext.stop(), but it just hangs. Does not move on to the next line, which is just a debug line. I expect it to come out. I already tried different variants of stop, that is,