Streamingstopgraceful
Example to show how to stop the Spark Streaming Application Gracefully
Install / Use
/learn @lanjiang/StreamingstopgracefulREADME
Demo how to stop the spark streaming gracefully
Example to show how to stop the Spark Streaming application gracefully.
Spark submit command:
spark-submit --class com.cloudera.ps.GracefulShutdownExample --master yarn --deploy-mode cluster --num-executors 3 /tmp/streamingstopgraceful-1.0-SNAPSHOT.jar
To shutdown the streaming app gracefully, place a file named "shutdownmarker" to HDFS /tmp folder
hdfs dfs -put shutdownmarker /tmp/shutdownmarker
For a detailed review of how to stop spark streaming gracefully, please visit [my blog] (http://blog.parseconsulting.com/2017/02/how-to-shutdown-spark-streaming-job.html)
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
