qinf commented on code in PR #23219:
URL: https://github.com/apache/flink/pull/23219#discussion_r1298093205


##########
flink-yarn/src/main/java/org/apache/flink/yarn/configuration/YarnConfigOptions.java:
##########
@@ -272,17 +272,24 @@ public class YarnConfigOptions {
                     .noDefaultValue()
                     .withDeprecatedKeys("yarn.ship-directories")
                     .withDescription(
-                            "A semicolon-separated list of files and/or 
directories to be shipped to the YARN cluster.");
+                            "A semicolon-separated list of files and/or 
directories to be shipped to the YARN "
+                                    + "cluster. These files/directories can 
come from the local client and/or remote "
+                                    + "file system. For example, 
\"/path/to/local/file;/path/to/local/directory;"
+                                    + "hdfs://$namenode_address/path/of/file;"
+                                    + 
"hdfs://$namenode_address/path/of/directory\"");
 
     public static final ConfigOption<List<String>> SHIP_ARCHIVES =
             key("yarn.ship-archives")
                     .stringType()
                     .asList()
                     .noDefaultValue()
                     .withDescription(
-                            "A semicolon-separated list of archives to be 
shipped to the YARN cluster."
-                                    + " These archives will be un-packed when 
localizing and they can be any of the following types: "
-                                    + "\".tar.gz\", \".tar\", \".tgz\", 
\".dst\", \".jar\", \".zip\".");
+                            "A semicolon-separated list of archives to be 
shipped to the YARN cluster. "
+                                    + "These archives can come from the local 
client and/or remote file system. "
+                                    + "They will be un-packed when localizing 
and they can be any of the following "
+                                    + "types: \".tar.gz\", \".tar\", \".tgz\", 
\".dst\", \".jar\", \".zip\". "
+                                    + "For example, 
\"/path/to/local/archive.jar;"
+                                    + 
"hdfs://$namenode_address/path/to/archive.jar\"");

Review Comment:
   updated.



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

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to