wangyang0918 commented on issue #8303: [FLINK-12343] [flink-yarn] add file replication config for yarn configuration URL: https://github.com/apache/flink/pull/8303#issuecomment-510381735 HiĀ @HuangZhenQiu After investigation, i got the following conclusions. 1. The the default value of `dfs.replication` is 1 just because MiniDFSCluster only start 1 datanode. So the replication in configuration is updated to 1 by MiniDFSCluster. 2. The settings of dfs.replication is not used by MiniYarnCluster and flink application. Because you write the hdfs configuration to `core-site.xml`, it should be `hdfs-site.xml`. And also `hdfs-site.xml` should be added to local resource just like `yarn-site.xml` so that all containers(jm/tm) could access it. What do you think?
---------------------------------------------------------------- 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
