aboutsummaryrefslogtreecommitdiff
path: root/yarn/pom.xml
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-08-17 19:35:35 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2015-08-17 19:35:35 -0700
commitee093c8b927e8d488aeb76115c7fb0de96af7720 (patch)
tree761b311dae699430e389f693a9e45b8b3f413ab0 /yarn/pom.xml
parentc90c605dc6a876aef3cc204ac15cd65bab9743ad (diff)
downloadspark-ee093c8b927e8d488aeb76115c7fb0de96af7720.tar.gz
spark-ee093c8b927e8d488aeb76115c7fb0de96af7720.tar.bz2
spark-ee093c8b927e8d488aeb76115c7fb0de96af7720.zip
[SPARK-10059] [YARN] Explicitly add JSP dependencies for tests.
Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #8251 from vanzin/SPARK-10059.
Diffstat (limited to 'yarn/pom.xml')
-rw-r--r--yarn/pom.xml22
1 files changed, 19 insertions, 3 deletions
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 49360c4825..15db54e4e7 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -92,12 +92,28 @@
<artifactId>jetty-servlet</artifactId>
</dependency>
<!-- End of shaded deps. -->
-
+
+ <!--
+ SPARK-10059: Explicitly add JSP dependencies for tests since the MiniYARN cluster needs them.
+ -->
+ <dependency>
+ <groupId>org.eclipse.jetty.orbit</groupId>
+ <artifactId>javax.servlet.jsp</artifactId>
+ <version>2.2.0.v201112011158</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.orbit</groupId>
+ <artifactId>javax.servlet.jsp.jstl</artifactId>
+ <version>1.2.0.v201105211821</version>
+ <scope>test</scope>
+ </dependency>
+
<!--
See SPARK-3710. hadoop-yarn-server-tests in Hadoop 2.2 fails to pull some needed
dependencies, so they need to be added manually for the tests to work.
-->
-
+
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-tests</artifactId>
@@ -137,7 +153,7 @@
<scope>test</scope>
</dependency>
</dependencies>
-
+
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>