You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Vinay Patil <vi...@gmail.com> on 2018/02/01 19:50:29 UTC
Get the JobID when Flink job fails
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
Re: Get the JobID when Flink job fails
Posted by Chesnay Schepler <ch...@apache.org>.
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 <vinay18.patil@gmail.com
> <ma...@gmail.com>> 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
>
>
Re: Get the JobID when Flink job fails
Posted by Vinay Patil <vi...@gmail.com>.
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 <vi...@gmail.com> 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
>
Re: Get the JobID when Flink job fails
Posted by Chesnay Schepler <ch...@apache.org>.
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