spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Pfeiffer <>
Subject Re: How to shut down Spark Streaming with Kafka properly?
Date Thu, 05 Jun 2014 12:39:56 GMT

thanks for your link! I will try this ASAP!

On Thu, Jun 5, 2014 at 6:49 PM, Sean Owen <> wrote:
> However I do seem to be able to shut down everything cleanly and
> terminate my (Java-based) program. I just call
> StreamingContext.stop(true, true). I don't know why it's different.

I think that's a peculiarity of sbt, cf.
If I call System.exit() that will surely terminate my program (and
sbt) as well, but in general I think it's better not to have these
threads lurking around ;-)


View raw message