Re: Stopping a Spark Streaming Context gracefully

2018-07-15 Thread Dhaval Modi
+1 Regards, Dhaval Modi dhavalmod...@gmail.com On 8 November 2017 at 00:06, Bryan Jeffrey wrote: > Hello. > > I am running Spark 2.1, Scala 2.11. We're running several Spark streaming > jobs. In some cases we restart these jobs on an occasional basis. We have > code that looks like the

Stopping a Spark Streaming Context gracefully

2017-11-07 Thread Bryan Jeffrey
Hello. I am running Spark 2.1, Scala 2.11. We're running several Spark streaming jobs. In some cases we restart these jobs on an occasional basis. We have code that looks like the following: logger.info("Starting the streaming context!") ssc.start() logger.info("Waiting for termination!")