This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new e296c00  [BEAM-12089] Clarify usage of --artifacts-dir for job servers.
     new 158e177  Merge pull request #14420 from ibzib/BEAM-12089
e296c00 is described below

commit e296c0009209f61504500a6cfcd10be512dc3925
Author: Kyle Weaver <kcwea...@google.com>
AuthorDate: Fri Apr 2 16:08:11 2021 -0700

    [BEAM-12089] Clarify usage of --artifacts-dir for job servers.
---
 .../java/org/apache/beam/runners/jobsubmission/JobServerDriver.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobServerDriver.java
 
b/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobServerDriver.java
index 499fc8c..7bc129e 100644
--- 
a/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobServerDriver.java
+++ 
b/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/JobServerDriver.java
@@ -90,7 +90,11 @@ public abstract class JobServerDriver implements Runnable {
         usage = "The Java expansion service port. 0 to use a dynamic port. 
(Default: 8097)")
     private int expansionPort = 8097;
 
-    @Option(name = "--artifacts-dir", usage = "The location to store staged 
artifact files")
+    @Option(
+        name = "--artifacts-dir",
+        usage =
+            "The location to store staged artifact files. "
+                + "If artifact staging is needed, this directory must be 
accessible by the execution engine's workers.")
     private String artifactStagingPath =
         Paths.get(System.getProperty("java.io.tmpdir"), 
"beam-artifact-staging").toString();
 

Reply via email to