Skip to content

Commit c8c59b3

Browse files
tgravescspwendell
authored andcommitted
[SPARK-1232] Fix the hadoop 0.23 yarn build
Author: Thomas Graves <[email protected]> Closes #127 from tgravescs/SPARK-1232 and squashes the following commits: c05cfd4 [Thomas Graves] Fix the hadoop 0.23 yarn build
1 parent af7f2f1 commit c8c59b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@
3030
<packaging>jar</packaging>
3131
<name>Spark Project Core</name>
3232
<url>http://spark.apache.org/</url>
33+
<!-- SPARK-1121: Adds an explicit dependency on Avro to work around a Hadoop 0.23.X issue -->
34+
<profiles>
35+
<profile>
36+
<id>yarn-alpha</id>
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.apache.avro</groupId>
40+
<artifactId>avro</artifactId>
41+
</dependency>
42+
</dependencies>
43+
</profile>
44+
</profiles>
3345

3446
<dependencies>
3547
<dependency>

0 commit comments

Comments
 (0)