beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <>
Subject [jira] [Assigned] (BEAM-3370) Add ability to stage directories with compiled classes to Flink
Date Fri, 05 Jan 2018 15:55:00 GMT


Aljoscha Krettek reassigned BEAM-3370:

    Assignee:     (was: Aljoscha Krettek)

> Add ability to stage directories with compiled classes to Flink
> ---------------------------------------------------------------
>                 Key: BEAM-3370
>                 URL:
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink
>            Reporter: Ɓukasz Gajowy
>            Priority: Minor
> Currently, when _filesToStage_ contain a path to directory with resources, flink runner
throws a {{" <path_to_the_dir> (Is a directory)"}}. A
way to include directory resources would be helpful. 
> This "blocker" occurs while trying to run IOITs on flink runner, which basically makes
it impossible/very inconvenient to run. When the tests are run via "mvn verify" command, a
"test-classes" *directory* gets detected by detectClasspathResourcesToStage() method which
in turn causes the above error. 
> One way to solve this issue is to package the directories to jars with unique names and
update the paths accordingly before staging the files on flink. Something similar is already
done in the Dataflow runner ([GcsStager|]),
more specifically in [PackageUtil|]
class. We are able to run the tests on dataflow thanks to that. 
> As I checked in a [small experiment of mine|],
providing analogous change makes it possible to run the tests on a Flink cluster. 

This message was sent by Atlassian JIRA

View raw message