zhengcanbin opened a new pull request #11472: [FLINK-15647][yarn] Respect the 
config option of FileJobGraphRetriever#JOB_GRAPH_FILE_PATH
URL: https://github.com/apache/flink/pull/11472
 
 
   ## What is the purpose of the change
   
   Currently, in `YarnClusterDescriptor#startAppMaster,` we first write out and 
upload the Flink Configuration file, then start to write out the JobGraph file 
and set its name into the Flink Configuration object, the afterward setting is 
not written into the Flink Configuration file so that it does not take effect 
in the cluster side.
   
   This ticket proposes to write out the JobGraph file before the Configuration 
file to ensure that the setting of FileJobGraphRetriever.JOB_GRAPH_FILE_PATH 
works on the cluster side.
   
   ## Verifying this change
   
   This change is a trivial rework without any test coverage and could be 
verified manually by succeeding to deploy a yarn per job.
   `./bin/flink run -d -e yarn-per-job examples/streaming/WordCount.jar`
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to