HuangZhenQiu commented on a change in pull request #8303: [FLINK-12343]add file
replication config for yarn configuration
URL: https://github.com/apache/flink/pull/8303#discussion_r300810769
##########
File path: flink-yarn/src/main/java/org/apache/flink/yarn/Utils.java
##########
@@ -465,6 +467,8 @@ static ContainerLaunchContext createTaskExecutorContext(
log.debug("Writing TaskManager configuration to {}",
taskManagerConfigFile.getAbsolutePath());
BootstrapTools.writeConfiguration(taskManagerConfig,
taskManagerConfigFile);
+ final int replication =
yarnConfig.getInt("dfs.replication", 3);
Review comment:
Agree.
----------------------------------------------------------------
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