Gracefully stop long running streaming job

Posted by Robert Schmidtke on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Gracefully-stop-long-running-streaming-job-tp6186.html

Hi everyone,

I am running a streaming benchmark which involves a potentially infinitely running Flink Streaming Job. I run it blocking on YARN using ./bin/flink run ... and then send the command into background, remembering its PID to kill it later on. While this gets the work done, the job always ends up in the FAILED state. I imagine it would be the same if I used ./bin/flink cancel ... to cancel the job? It's not that pressing but it would be nice to shut down a streaming job properly.

Thanks

Robert

--
My GPG Key ID: 336E2680