Abacn commented on code in PR #33954:
URL: https://github.com/apache/beam/pull/33954#discussion_r1955107781


##########
sdks/java/container/boot.go:
##########
@@ -153,24 +153,19 @@ func main() {
                        cp = append(cp, filepath.Join(jarsDir, jar))
                }
        }
-       cp = append(cp, filepath.Join(jarsDir, javaHarnessJar))
-
        var hasWorkerExperiment = strings.Contains(options, 
"use_staged_dataflow_worker_jar")
+
+       if !hasWorkerExperiment {
+               cp = append(cp, filepath.Join(jarsDir, javaHarnessJar))
+       } else {
+               // Skip adding system "beam-sdks-java-harness.jar". 
User-provided jar will

Review Comment:
   external user could also use it. The purpose is detailed in the description 
of #33508users without docker access could test/run custom build 
beam-sdk-harness now 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to