diff options
author | Thomas Graves <tgraves@apache.org> | 2014-03-12 10:32:01 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-03-12 10:32:01 -0700 |
commit | c8c59b326e587b7515ba4f43399c67d949df244f (patch) | |
tree | bf2f10648543256968c9499704f8849df6c3331e | |
parent | af7f2f10902c7b42e08797f7467dd06e4803594c (diff) | |
download | spark-c8c59b326e587b7515ba4f43399c67d949df244f.tar.gz spark-c8c59b326e587b7515ba4f43399c67d949df244f.tar.bz2 spark-c8c59b326e587b7515ba4f43399c67d949df244f.zip |
[SPARK-1232] Fix the hadoop 0.23 yarn build
Author: Thomas Graves <tgraves@apache.org>
Closes #127 from tgravescs/SPARK-1232 and squashes the following commits:
c05cfd4 [Thomas Graves] Fix the hadoop 0.23 yarn build
-rw-r--r-- | core/pom.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/pom.xml b/core/pom.xml index 2248f9d044..a6f478b09b 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -30,6 +30,18 @@ <packaging>jar</packaging> <name>Spark Project Core</name> <url>http://spark.apache.org/</url> + <!-- 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> |