Repository: spark Updated Branches: refs/heads/master c90c605dc -> ee093c8b9
[SPARK-10059] [YARN] Explicitly add JSP dependencies for tests. Author: Marcelo Vanzin <van...@cloudera.com> Closes #8251 from vanzin/SPARK-10059. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ee093c8b Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ee093c8b Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ee093c8b Branch: refs/heads/master Commit: ee093c8b927e8d488aeb76115c7fb0de96af7720 Parents: c90c605 Author: Marcelo Vanzin <van...@cloudera.com> Authored: Mon Aug 17 19:35:35 2015 -0700 Committer: Marcelo Vanzin <van...@cloudera.com> Committed: Mon Aug 17 19:35:35 2015 -0700 ---------------------------------------------------------------------- yarn/pom.xml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/ee093c8b/yarn/pom.xml ---------------------------------------------------------------------- diff --git a/yarn/pom.xml b/yarn/pom.xml index 49360c4..15db54e 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> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org