Skip to content

Commit 8b9b779

Browse files
committed
Spark2 no longer supported in newest beam versions
1 parent 3f78af7 commit 8b9b779

File tree

9 files changed

+9
-34
lines changed

9 files changed

+9
-34
lines changed

API/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<parent>
3232
<groupId>org.ohnlp.backbone</groupId>
3333
<artifactId>backbone-parent</artifactId>
34-
<version>3.0.8</version>
34+
<version>3.0.9</version>
3535
</parent>
3636

3737
<artifactId>api</artifactId>

Core/pom.xml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.8</version>
10+
<version>3.0.9</version>
1111
</parent>
1212

1313
<artifactId>core</artifactId>
@@ -126,20 +126,6 @@
126126
<properties>
127127
<backbone.runner>Spark</backbone.runner>
128128
</properties>
129-
<dependencies>
130-
<dependency>
131-
<groupId>org.apache.beam</groupId>
132-
<artifactId>beam-runners-spark</artifactId>
133-
<version>${beam.version}</version>
134-
</dependency>
135-
</dependencies>
136-
</profile>
137-
<!-- Spark -->
138-
<profile>
139-
<id>spark3</id>
140-
<properties>
141-
<backbone.runner>Spark3</backbone.runner>
142-
</properties>
143129
<dependencies>
144130
<dependency>
145131
<groupId>org.apache.beam</groupId>
@@ -158,7 +144,7 @@
158144
<dependencies>
159145
<dependency>
160146
<groupId>org.apache.beam</groupId>
161-
<artifactId>beam-runners-spark</artifactId>
147+
<artifactId>beam-runners-spark-3</artifactId>
162148
<version>${beam.version}</version>
163149
</dependency>
164150
<dependency>

Example-Backbone-Configs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.8</version>
10+
<version>3.0.9</version>
1111
</parent>
1212

1313
<artifactId>example-backbone-configs</artifactId>

IO/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.8</version>
10+
<version>3.0.9</version>
1111
</parent>
1212

1313
<groupId>org.ohnlp.backbone.io</groupId>

Plugin-Manager/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.8</version>
10+
<version>3.0.9</version>
1111
</parent>
1212

1313
<artifactId>plugin-manager</artifactId>

Transforms/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.8</version>
10+
<version>3.0.9</version>
1111
</parent>
1212

1313
<groupId>org.ohnlp.backbone.transforms</groupId>

build.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@
9090
<copy file="Core/target/Backbone-Core-Spark.jar" tofile="${dist}/bin/Backbone-Core-Spark.jar"/>
9191
</target>
9292

93-
<!-- Generate Spark Distribution -->
94-
<target name="exec-spark3" description="compiles spark components" depends="dist-gcp">
95-
<antcall target="run-mvn-goals">
96-
<param name="mvn_goals" value="clean install -P spark3"/>
97-
</antcall>
98-
</target>
99-
100-
<target name="dist-spark3" depends="exec-spark3">
101-
<copy file="Core/target/Backbone-Core-Spark3.jar" tofile="${dist}/bin/Backbone-Core-Spark3.jar"/>
102-
</target>
103-
10493
<!-- Generate Spark Standalone Distribution -->
10594
<target name="exec-spark-standalone" description="compiles spark standalone components" depends="dist-spark">
10695
<antcall target="run-mvn-goals">

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.ohnlp.backbone</groupId>
88
<artifactId>backbone-parent</artifactId>
9-
<version>3.0.8</version>
9+
<version>3.0.9</version>
1010

1111

1212
<properties>

scripts/run_pipeline_spark_instructions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To run the pipeline on a spark cluster, do the following:
1111

1212

1313
Important Notes:
14-
- Backbone currently only supports Spark v2.x
14+
- Backbone currently only supports Spark v3.x
1515
- If running in local mode (--master=local[#]), you will need to have to have spark binaries in the final shaded
1616
package. Two spark variants are provided, if running in local mode, simply replace all instances of
1717
Backbone-Core-Spark-Packaged.jar with Backbone-Core-Spark-Standalone-Packaged.jar in the above instructions. Note that

0 commit comments

Comments
 (0)