beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <>
Subject [jira] [Commented] (BEAM-1325) DataflowRunner support for Class-Path jars
Date Thu, 26 Jan 2017 15:09:24 GMT


Daniel Halperin commented on BEAM-1325:

This SO post:

seems to indicate there's no excellent way to do this. We could detect the case of a single
jar and go look for its specific classpath manifest, but that would be quite a hack.

> DataflowRunner support for Class-Path jars
> ------------------------------------------
>                 Key: BEAM-1325
>                 URL:
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-dataflow
>            Reporter: Daniel Halperin
>            Assignee: Davor Bonaci
> See
> The code that infers {{--filesToStage}} from the classpath does not seem to support a
classpath jar. which uses a {{Class-Path}} manifest to indicate which other jars are needed
at runtime. This is apparently a standard, approved way to pass the classpath.
> We need to add this support to {{DataflowRunner#detectClasspathResourcesToStage}}.
> (As {{FlinkRunner}} has copied this code, we should probably either pull the common utility
somewhere public or update the FlinkRunner too?)

This message was sent by Atlassian JIRA

View raw message