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

Zhu Zhu commented on FLINK-16612:
---------------------------------

`OptimizerPlanEnvironment` is not used for jobGraph generation anymore in 
production. It is only used to get job preview (via command "flink info") in 
which case the job name does not make any difference.
However, the proposed change still looks good to have to avoid potential 
problem in the future. [~kkl0u] WDYT?

> Submit job through the rest api, job name will be lost
> ------------------------------------------------------
>
>                 Key: FLINK-16612
>                 URL: https://issues.apache.org/jira/browse/FLINK-16612
>             Project: Flink
>          Issue Type: Bug
>          Components: Client / Job Submission
>    Affects Versions: 1.10.0
>         Environment: In flink1.10
>            Reporter: Junli Zhang
>            Priority: Major
>              Labels: Client, JobName, RESTful
>             Fix For: 1.12.0, 1.11.2, 1.10.3
>
>         Attachments: image-2020-03-16-18-04-59-891.png, 
> image-2020-03-16-18-06-05-051.png
>
>
> Bug:Submit job through the rest api, job name will be lost
> Reason:In method OptimizerPlanEnvironment.executeAsync(String jobName)        
>     
>   !image-2020-03-16-18-04-59-891.png!
>  
> Fix: change to :   this.pipeline = createProgramPlan(jobName);
> !image-2020-03-16-18-06-05-051.png!
>  



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

Reply via email to