HuangZhenQiu commented on a change in pull request #10980: 
[FLINK-12343][flink-yarn] add yarn file replication configuration
URL: https://github.com/apache/flink/pull/10980#discussion_r382097527
 
 

 ##########
 File path: 
flink-yarn/src/test/java/org/apache/flink/yarn/YarnFileStageTest.java
 ##########
 @@ -261,7 +263,8 @@ private static void testCopySingleFileFromLocal(
                                remotePaths,
                                localResources,
                                localResourceDirectory,
-                               new StringBuilder());
+                               new StringBuilder(),
+                               DFSConfigKeys.DFS_REPLICATION_DEFAULT);
 
 Review comment:
   I think my argument is a little bit misleading. For real HDFS cluster, name 
node will prevent more than one replica of a block from been placed to the same 
data node. From my debugging experience, there is no such limitation for 
MiniHDFSCluster.

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