Re: Get the JobID when Flink job fails

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

Yes I think that's the only way to get it. I'll open a JIRA to print the JobID also for failed jobs.

On 01.02.2018 20:50, Vinay Patil wrote:
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