Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Issue #33
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasters committed Feb 23, 2019
1 parent da42332 commit 74a7b4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@
<artifactId>beam-runners-apex</artifactId>
<version>${apache-beam-version}</version>
</dependency>
<dependency>
<groupId>kettle-beam</groupId>
<artifactId>kettle-beam-core</artifactId>
<version>${kettle-beam-version}</version>
</dependency>
<dependency>
<groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-extensions-join-library</artifactId>
Expand Down Expand Up @@ -145,6 +140,11 @@
<artifactId>google-cloud-bigquery</artifactId>
<version>1.55.0</version>
</dependency>
<dependency>
<groupId>kettle-beam</groupId>
<artifactId>kettle-beam-core</artifactId>
<version>${kettle-beam-version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,10 @@ private void setVariablesInTransformation( BeamJobConfig config, TransMeta trans

private void configureDataFlowOptions( BeamJobConfig config, DataflowPipelineOptions options, VariableSpace space ) throws IOException {

options.setFilesToStage( BeamConst.findLibraryFilesToStage( null, space.environmentSubstitute( config.getPluginsToStage() ), true, true ) );
List<String> files = BeamConst.findLibraryFilesToStage( null, space.environmentSubstitute( config.getPluginsToStage() ), true, true );
files.removeIf( s-> s.contains( "commons-logging" ) || s.contains( "log4j" ) );

options.setFilesToStage( files );
options.setProject( space.environmentSubstitute( config.getGcpProjectId() ) );
options.setAppName( space.environmentSubstitute( config.getGcpAppName() ) );
options.setStagingLocation( space.environmentSubstitute( config.getGcpStagingLocation() ) );
Expand Down

0 comments on commit 74a7b4c

Please sign in to comment.