aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/pom.xml b/tools/pom.xml
index 67f2d780f3..b8dd255d40 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -30,6 +30,20 @@
<name>Spark Project Tools</name>
<url>http://spark.apache.org/</url>
+ <!-- SPARK-1121: SPARK-1121: Adds an explicit dependency on Avro to work around
+ a Hadoop 0.23.X issue -->
+ <profiles>
+ <profile>
+ <id>yarn-alpha</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>