[ 
https://issues.apache.org/jira/browse/FLINK-19358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204556#comment-17204556
 ] 

Kostas Kloudas commented on FLINK-19358:
----------------------------------------

Yes, so if we agree on that [~trohrmann], then the remaining issue would be how 
to expose it to the API I think. This will allow users to disambiguate 
checkpoints of jobs running in HA in application mode.

Two options to do that would be to expose it through a config option or to set 
it in the {{execute()}}, as we do for the {{jobName}}. I would go for the 
second one, as the first one will not allow an application with multiple 
{{execute()}} calls. If the config option is set, then it cannot change for 
each of the generated job graphs in the multi-execute application and if we 
allow a list of job ids, then the mapping of {{execute()}} call to job id can 
be tricky. 

As a side-note: We currently *do not* support multi-{{execute()}} applications 
with HA because of other reasons, but there is no reason to design this 
specific feature with a broader scope I think.

What do you think [~zhangjun], [~fly_in_gis] and [~trohrmann]? Would that solve 
the issue?

> when submit job on application mode with HA,the jobid will be 0000000000
> ------------------------------------------------------------------------
>
>                 Key: FLINK-19358
>                 URL: https://issues.apache.org/jira/browse/FLINK-19358
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / YARN
>    Affects Versions: 1.11.0
>            Reporter: Jun Zhang
>            Priority: Major
>              Labels: usability
>             Fix For: 1.12.0
>
>
> when submit a flink job on application mode with HA ,the flink job id will beĀ 
> 00000000000000000000000000000000, when I have many jobs ,they have the same 
> job id , it will be lead to a checkpoint error



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to