From 34d0b70b309f16af263eb4e6d7c36e2ea170bc67 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 9 Feb 2016 11:01:47 -0800 Subject: [SPARK-12807][YARN] Spark External Shuffle not working in Hadoop clusters with Jackson 2.2.3 Patch to 1. Shade jackson 2.x in spark-yarn-shuffle JAR: core, databind, annotation 2. Use maven antrun to verify the JAR has the renamed classes Being Maven-based, I don't know if the verification phase kicks in on an SBT/jenkins build. It will on a `mvn install` Author: Steve Loughran Closes #10780 from steveloughran/stevel/patches/SPARK-12807-master-shuffle. --- network/yarn/pom.xml | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) (limited to 'network') diff --git a/network/yarn/pom.xml b/network/yarn/pom.xml index a28785b16e..3cb44324f2 100644 --- a/network/yarn/pom.xml +++ b/network/yarn/pom.xml @@ -35,6 +35,8 @@ network-yarn provided + ${project.build.directory}/scala-${scala.binary.version}/spark-${project.version}-yarn-shuffle.jar + org/spark-project/ @@ -70,7 +72,7 @@ maven-shade-plugin false - ${project.build.directory}/scala-${scala.binary.version}/spark-${project.version}-yarn-shuffle.jar + ${shuffle.jar} *:* @@ -86,6 +88,15 @@ + + + com.fasterxml.jackson + org.spark-project.com.fasterxml.jackson + + com.fasterxml.jackson.** + + + @@ -96,6 +107,42 @@ + + + + org.apache.maven.plugins + maven-antrun-plugin + + + verify + + run + + + + + + + + + + + + + + + + + + Verifying dependency shading + + + + + + + + -- cgit v1.2.3