You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2021/10/21 22:01:00 UTC

[jira] [Created] (BEAM-13097) Don't assume 1 jar on classpath in portable jar creator

Kyle Weaver created BEAM-13097:
----------------------------------

             Summary: Don't assume 1 jar on classpath in portable jar creator
                 Key: BEAM-13097
                 URL: https://issues.apache.org/jira/browse/BEAM-13097
             Project: Beam
          Issue Type: Bug
          Components: runner-spark
            Reporter: Kyle Weaver


Right now we assume there is exactly 1 jar, the Spark/Flink job server jar, on the classpath. That assumption is not always correct. We should make this code more flexible, so it works even when there are other jars on the classpath. Perhaps by writing only the specific jar the PortablePipelineJarCreator class came from.

https://github.com/apache/beam/blob/32dd786f2d6cff02743421c0bb01bd3eea60dbbf/runners/java-job-service/src/main/java/org/apache/beam/runners/jobsubmission/PortablePipelineJarCreator.java#L142



--
This message was sent by Atlassian Jira
(v8.3.4#803005)