Re: Diff between stop and cancel job

2016-05-09 Thread Ufuk Celebi
On Thu, May 5, 2016 at 1:59 AM, Bajaj, Abhinav wrote: > Or can we resume a stopped streaming job ? You can use savepoints [1] to take a snapshot of a streaming program from which you can restart the job at a later point in time. This is independent of whether you cancel or stop the program afte

Re: Diff between stop and cancel job

2016-05-05 Thread Robert Metzger
Hi Abhi, The difference between cancelling and stopping a (streaming) job is the following: On a cancel call, the operators in a job immediately receive a `cancel()` method call to cancel them as soon as possible. If operators are not not stopping after the cancel call, Flink will start interrupt

Diff between stop and cancel job

2016-05-04 Thread Bajaj, Abhinav
Hi, Can some one please clarify the difference between stop and cancel of a Job. Stop documentation mentions it is only for "streaming jobs only” but cancel also works for it. Or can we resume a stopped streaming job ? Thanks, Abhi [cid:DACBF116-FD8C-48DB-B91D-D54510B306E8] Abhinav Bajaj Seni