You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xq...@apache.org on 2025/05/28 22:53:04 UTC
(beam) branch master updated: Clarify dataflow worker jar path (#35074)
This is an automated email from the ASF dual-hosted git repository.
xqhu 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 34ba184b05c Clarify dataflow worker jar path (#35074)
34ba184b05c is described below
commit 34ba184b05c9f2546b0157570420bed6e350df11
Author: Yi Hu <ya...@google.com>
AuthorDate: Wed May 28 18:52:57 2025 -0400
Clarify dataflow worker jar path (#35074)
---
contributor-docs/code-change-guide.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contributor-docs/code-change-guide.md b/contributor-docs/code-change-guide.md
index d8b15fbfb66..55a1c0beac8 100644
--- a/contributor-docs/code-change-guide.md
+++ b/contributor-docs/code-change-guide.md
@@ -417,12 +417,12 @@ If you're using the standard Dataflow runner (not Runner v2), and the worker har
```
./gradlew :runners:google-cloud-dataflow-java:worker:shadowJar
```
- The jar is located in the build output.
+ The jar is located in the build output (`<beam root>/runners/google-cloud-dataflow-java/worker/build/libs`).
-2. Use the following command to pass `pipelineOption`:
+2. Add the following `pipelineOption` to your pipeline invocation:
```
- --dataflowWorkerJar=/.../beam-runners-google-cloud-dataflow-java-legacy-worker-2.XX.0-SNAPSHOT.jar
+ --dataflowWorkerJar=<full-path-to>/beam-runners-google-cloud-dataflow-java-legacy-worker-2.XX.0-SNAPSHOT.jar
```
If you're using Dataflow Runner v2 and `sdks/java/harness` or its dependencies (like `sdks/java/core`) have changed, do the following: