Skip to content

Commit c118e0f

Browse files
author
Andrew Or
committed
[Build] Set hadoop version from yarn profiles
This has been failing maven builds for a long time.
1 parent 5e4ac7c commit c118e0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,9 @@
979979

980980
<profile>
981981
<id>hadoop-0.23</id>
982+
<properties>
983+
<hadoop.version>0.23.10</hadoop.version>
984+
</properties>
982985
<!-- SPARK-1121: Adds an explicit dependency on Avro to work around a Hadoop 0.23.X issue -->
983986
<dependencies>
984987
<dependency>
@@ -991,13 +994,15 @@
991994
<profile>
992995
<id>hadoop-2.2</id>
993996
<properties>
997+
<hadoop.version>2.2.0</hadoop.version>
994998
<protobuf.version>2.5.0</protobuf.version>
995999
</properties>
9961000
</profile>
9971001

9981002
<profile>
9991003
<id>hadoop-2.3</id>
10001004
<properties>
1005+
<hadoop.version>2.3.0</hadoop.version>
10011006
<protobuf.version>2.5.0</protobuf.version>
10021007
<jets3t.version>0.9.0</jets3t.version>
10031008
</properties>
@@ -1006,6 +1011,7 @@
10061011
<profile>
10071012
<id>hadoop-2.4</id>
10081013
<properties>
1014+
<hadoop.version>2.4.0</hadoop.version>
10091015
<protobuf.version>2.5.0</protobuf.version>
10101016
<jets3t.version>0.9.0</jets3t.version>
10111017
</properties>

0 commit comments

Comments
 (0)