spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Massimiliano Tomassi <max.toma...@gmail.com>
Subject Gracefully stopping a Spark Streaming application
Date Fri, 17 Oct 2014 10:20:12 GMT
Hi all,
I have a Spark Streaming application running on a cluster, deployed with
the spark-submit script. I was reading here that it's possible to
gracefully shutdown the application in order to allow the deployment of a
new one:

http://spark.apache.org/docs/latest/streaming-programming-guide.html#deploying-applications

Question is: how can I call StreamingContext.stop(...)
<http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.streaming.StreamingContext>
from
outside the application?

Thanks a lot,
Max

-- 
------------------------------------------------
Massimiliano Tomassi
------------------------------------------------

Mime
View raw message