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

Commit 618b187

Browse files
committed
Update sparkbench
* Added profile scala 2.12 on sparkbench POM. Scala < 2.11 does not compiles on java 1.11 jdk. * Added profile spark2.4 on sparkbench POM due spark-core_2.12 supports > 2.4.0 version. * Added profile spark2.4 on sparkbench-streaming POM with spark-streaming-kafka-0-8_2.11 version 2.4.0 Signed-off-by: Luis Ponce <luis.f.ponce.navarro@linux.intel.com>
1 parent 3a6ec6d commit 618b187

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

sparkbench/pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,20 @@
191191
</activation>
192192
</profile>
193193

194+
<profile>
195+
<id>spark2.4</id>
196+
<properties>
197+
<spark.version>2.4.0</spark.version>
198+
<spark.bin.version>2.4</spark.bin.version>
199+
</properties>
200+
<activation>
201+
<property>
202+
<name>spark</name>
203+
<value>2.4</value>
204+
</property>
205+
</activation>
206+
</profile>
207+
194208
<profile>
195209
<id>defaultScalaVersion</id>
196210
<properties>
@@ -232,5 +246,19 @@
232246
</activation>
233247
</profile>
234248

249+
<profile>
250+
<id>scala2.12</id>
251+
<properties>
252+
<scala.version>2.12.8</scala.version>
253+
<scala.binary.version>2.12</scala.binary.version>
254+
</properties>
255+
<activation>
256+
<property>
257+
<name>scala</name>
258+
<value>2.12</value>
259+
</property>
260+
</activation>
261+
</profile>
262+
235263
</profiles>
236264
</project>

sparkbench/streaming/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,22 @@
119119
</activation>
120120
</profile>
121121

122+
<profile>
123+
<id>spark2.4</id>
124+
<dependencies>
125+
<dependency>
126+
<groupId>org.apache.spark</groupId>
127+
<artifactId>spark-streaming-kafka-0-8_2.11</artifactId>
128+
<version>2.4.0</version>
129+
</dependency>
130+
</dependencies>
131+
<activation>
132+
<property>
133+
<name>spark</name>
134+
<value>2.4</value>
135+
</property>
136+
</activation>
137+
</profile>
138+
122139
</profiles>
123140
</project>

0 commit comments

Comments
 (0)