From 0540bdf8a54690b5815cba389b2ecc4acd323e5a Mon Sep 17 00:00:00 2001 From: Marcelo Vanzin Date: Tue, 30 Sep 2014 14:43:11 -0700 Subject: [PATCH 1/2] [SPARK-3710] Fix Yarn integration tests on Hadoop 2.2. It seems some dependencies are not declared when pulling the 2.2 test dependencies, so we need to add them manually for the Yarn cluster to come up. These don't seem to be necessary for 2.3 and beyond, so restrict them to the hadoop-2.2 profile. --- yarn/stable/pom.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/yarn/stable/pom.xml b/yarn/stable/pom.xml index 97eb0548e77c3..3d1ac309c0246 100644 --- a/yarn/stable/pom.xml +++ b/yarn/stable/pom.xml @@ -41,4 +41,51 @@ + + + hadoop-2.2 + + 1.9 + + + + org.mortbay.jetty + jetty + 6.1.26 + + + org.mortbay.jetty + servlet-api + + + test + + + com.sun.jersey + jersey-core + ${jersey.version} + test + + + com.sun.jersey + jersey-json + ${jersey.version} + test + + + stax + stax-api + + + + + com.sun.jersey + jersey-server + ${jersey.version} + test + + + + + From 701d4fb9fbeb52856ab4611b00f2ecfb35cc9e88 Mon Sep 17 00:00:00 2001 From: Marcelo Vanzin Date: Tue, 7 Oct 2014 09:45:57 -0700 Subject: [PATCH 2/2] Add comment. --- yarn/stable/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yarn/stable/pom.xml b/yarn/stable/pom.xml index 3d1ac309c0246..fe55d70ccc370 100644 --- a/yarn/stable/pom.xml +++ b/yarn/stable/pom.xml @@ -41,6 +41,10 @@ + hadoop-2.2