You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/08/19 08:11:00 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #8303: [FLINK-12343] [flink-yarn] add file replication config for yarn configuration

tillrohrmann commented on a change in pull request #8303: [FLINK-12343] [flink-yarn] add file replication config for yarn configuration
URL: https://github.com/apache/flink/pull/8303#discussion_r315075935
 
 

 ##########
 File path: flink-yarn/src/main/java/org/apache/flink/yarn/configuration/YarnConfigOptions.java
 ##########
 @@ -188,6 +188,17 @@
 		.defaultValue("")
 		.withDescription("A comma-separated list of tags to apply to the Flink YARN application.");
 
+	/**
+	 * Yarn session client uploads flink jar and user libs to file system (hdfs/s3) as local resource for yarn
+	 * application context. The replication number changes the how many replica of each of these files in hdfs/s3.
+	 * It is useful to accelerate this container bootstrap time, when a Flink application needs more one hundred
+	 * of containers.
+	 */
+	public static final ConfigOption<String> FILE_REPLICATION =
+		key("yarn.file-replication")
 
 Review comment:
   @HuangZhenQiu, why didn't you address @xintongsong comment?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services