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-tp18115p18212.html

As far as i know there's no way to specify the JobID when submitting a job.

I've responded to your previous question in a separate mail.

On 06.02.2018 18:14, Vinay Patil wrote:
Hi,

I see we can generate our own JobID, but how do I use it to submit the job to the cluster.

I am using remoteExecutionEnvironment to submit the job to the cluster.

Also, can you please answer the query of earlier mail.

Regards,
Vinay Patil

On Thu, Feb 1, 2018 at 1:50 PM, Vinay Patil <[hidden email]> 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