TisonKun commented on a change in pull request #10143: [FLINK-13184]Starting a 
TaskExecutor blocks the YarnResourceManager's main thread
URL: https://github.com/apache/flink/pull/10143#discussion_r346204965
 
 

 ##########
 File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
 ##########
 @@ -844,14 +844,16 @@ private ApplicationReport startAppMaster(
                tmpConfigurationFile.deleteOnExit();
                BootstrapTools.writeConfiguration(configuration, 
tmpConfigurationFile);
 
+               String flinkConfigKey = "flink-conf.yaml";
                Path remotePathConf = setupSingleLocalResource(
-                               "flink-conf.yaml",
+                       flinkConfigKey,
                                fs,
                                appId,
                                new 
Path(tmpConfigurationFile.getAbsolutePath()),
                                localResources,
                                homeDir,
                                "");
+               
envShipFileList.append(flinkConfigKey).append("=").append(remotePathConf).append(",");
 
 Review comment:
   I get the difference and I think it is the fault of Utils#L493 call the tm 
conf file `flinkConf`. IIUC we still ship the original flink-conf.yaml, and 
what @wangyang0918 trying to resolve here is FLINK ship a modified 
flink-conf.yaml per TM launched...My concern on this issue is shared below.

----------------------------------------------------------------
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