Skip to content

Commit 8017e8b

Browse files
committed
Remove unnecessary spark.version property
1 parent e3141bd commit 8017e8b

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

r/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@
383383
<property><name>!scala-2.11</name></property>
384384
</activation>
385385
<properties>
386-
<spark.version>1.6.1</spark.version>
387386
<extra.source.dir>src/main/scala-2.10</extra.source.dir>
388387
<extra.testsource.dir>src/test/scala-2.10</extra.testsource.dir>
389388
</properties>
@@ -395,7 +394,6 @@
395394
<property><name>scala-2.11</name></property>
396395
</activation>
397396
<properties>
398-
<spark.version>1.6.1</spark.version>
399397
<extra.source.dir>src/main/scala-2.11</extra.source.dir>
400398
<extra.testsource.dir>src/test/scala/scala-2.11</extra.testsource.dir>
401399
</properties>

spark-dependencies/pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,16 @@
3636
<url>http://zeppelin.apache.org</url>
3737

3838
<properties>
39-
<spark.version>1.4.1</spark.version>
39+
<!-- library version defined in this section brought from spark 1.4.1 and it's dependency.
40+
Therefore changing only spark.version is not going to be enough when this module
41+
support new version of spark to make the new version as default supported version.
42+
43+
Each profile (spark-2.0, spark-1.6, etc) will overrides necessary dependency version.
44+
So we'll make one of those profile 'activateByDefault' to make it default supported version
45+
instead of changing spark.version in this section.
46+
-->
4047

48+
<spark.version>1.4.1</spark.version>
4149
<hadoop.version>2.3.0</hadoop.version>
4250
<yarn.version>${hadoop.version}</yarn.version>
4351
<avro.version>1.7.7</avro.version>
@@ -338,14 +346,6 @@
338346
</dependencies>
339347

340348
<profiles>
341-
<profile>
342-
<id>scala-2.11</id>
343-
<properties>
344-
<spark.version>1.6.1</spark.version>
345-
<spark.download.url>http://archive.apache.org/dist/spark/spark-${spark.version}/spark-${spark.version}.tgz</spark.download.url>
346-
</properties>
347-
</profile>
348-
349349
<profile>
350350
<id>spark-1.1</id>
351351
<dependencies>

0 commit comments

Comments
 (0)