You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/10/13 08:41:00 UTC

[jira] [Commented] (FLINK-19580) Creating PackagedProgram overwrites an actual job name with default JobName

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

Aljoscha Krettek commented on FLINK-19580:
------------------------------------------

So we just need to change https://github.com/apache/flink/blob/039a74afe572a03c3cef5dd3643e9e2e52e5b4e5/flink-clients/src/main/java/org/apache/flink/client/program/OptimizerPlanEnvironment.java#L47 to pass the job name, right?

> Creating PackagedProgram overwrites an actual job name with default JobName
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-19580
>                 URL: https://issues.apache.org/jira/browse/FLINK-19580
>             Project: Flink
>          Issue Type: Bug
>          Components: Client / Job Submission
>    Affects Versions: 1.11.2
>            Reporter: Murtaza H Zaveri
>            Priority: Minor
>         Attachments: GetJobGraph.png, OptimizerPlanEnvt.png, createProgramPlanWithDefaultName.png, executeAsync.png, getPipeLine.png
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hi Team,
> Flink Version : Flink 1.11.X
> We are creating JobGraph through packagedProgram and trying to submit the flink job using rest client. hence to do so we are using below API,
> *_createJobGraph(packagedProgram,configuration,defaultParallelism,jobId,suppressOutput);_*
> In Above method's implementation, it creates a pipeline a object and this pipeline object calls OptimizerPlanEnvironment(which is used to extract the Pipeline) and this instance override an actual job name with the default jobName viz, *Flink Java Job <Date time>.*



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