diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-08-17 19:35:35 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-08-17 19:35:50 -0700 |
commit | bfb4c842540310fc3d369382ba7e341cd9a68940 (patch) | |
tree | 9bf6a319182437bf66426039b7d7dce198300c5d | |
parent | 9740d43d3b5e1ca64f39515612e937f640eb436e (diff) | |
download | spark-bfb4c842540310fc3d369382ba7e341cd9a68940.tar.gz spark-bfb4c842540310fc3d369382ba7e341cd9a68940.tar.bz2 spark-bfb4c842540310fc3d369382ba7e341cd9a68940.zip |
[SPARK-10059] [YARN] Explicitly add JSP dependencies for tests.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #8251 from vanzin/SPARK-10059.
(cherry picked from commit ee093c8b927e8d488aeb76115c7fb0de96af7720)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
-rw-r--r-- | yarn/pom.xml | 22 |
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> |