Get the JobID when Flink job fails

Posted by Vinay Patil on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Get-the-JobID-when-Flink-job-fails-tp18115.html

Hi,

When the Flink job executes successfully I get the jobID, however when the Flink job fails the jobID is not returned.

How do I get the jobId in this case ? 

Do I need to call /joboverview REST api to get the job ID by  looking for the Job Name ?

Regards,
Vinay Patil