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 2022/03/03 17:22:00 UTC

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

    [ https://issues.apache.org/jira/browse/BEAM-13097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500916#comment-17500916 ] 

Kyle Weaver commented on BEAM-13097:
------------------------------------

Oh, so it does. Forgot I fixed that :)

> 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
>            Priority: P2
>
> 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.20.1#820001)