diff options
-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> |