aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter MacKinnon <pmackinn@redhat.com>2014-07-01 00:28:38 -0700
committerReynold Xin <rxin@apache.org>2014-07-01 00:28:38 -0700
commit3319a3e3c604f187ff8176597b269af04ca5c1c5 (patch)
tree43e1d13dbc147eda79c2709d0ed502d160380303
parent04fa1223ee69760f0d23b40e56f4b036aa301879 (diff)
downloadspark-3319a3e3c604f187ff8176597b269af04ca5c1c5.tar.gz
spark-3319a3e3c604f187ff8176597b269af04ca5c1c5.tar.bz2
spark-3319a3e3c604f187ff8176597b269af04ca5c1c5.zip
SPARK-2332 [build] add exclusion for old servlet-api on hadoop-client in core
Fix for class of test suite failures in jenkins Author: Peter MacKinnon <pmackinn@redhat.com> Closes #1271 from pdmack/master and squashes the following commits: cfe59fd [Peter MacKinnon] exclude servlet-api in hadoop-client for sbt 6f39fec [Peter MacKinnon] add exclusion for old servlet-api on hadoop-client in core
-rw-r--r--core/pom.xml6
-rw-r--r--project/SparkBuild.scala2
2 files changed, 7 insertions, 1 deletions
diff --git a/core/pom.xml b/core/pom.xml
index 8c23842730..6abf8480d5 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -34,6 +34,12 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.java.dev.jets3t</groupId>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 55a2aa0fc7..599714233c 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -371,7 +371,7 @@ object SparkBuild extends Build {
"net.java.dev.jets3t" % "jets3t" % jets3tVersion excludeAll(excludeCommonsLogging),
"commons-codec" % "commons-codec" % "1.5", // Prevent jets3t from including the older version of commons-codec
"org.apache.derby" % "derby" % "10.4.2.0" % "test",
- "org.apache.hadoop" % hadoopClient % hadoopVersion excludeAll(excludeJBossNetty, excludeAsm, excludeCommonsLogging, excludeSLF4J, excludeOldAsm),
+ "org.apache.hadoop" % hadoopClient % hadoopVersion excludeAll(excludeJBossNetty, excludeAsm, excludeCommonsLogging, excludeSLF4J, excludeOldAsm, excludeServletApi),
"org.apache.curator" % "curator-recipes" % "2.4.0" excludeAll(excludeJBossNetty),
"com.codahale.metrics" % "metrics-core" % codahaleMetricsVersion,
"com.codahale.metrics" % "metrics-jvm" % codahaleMetricsVersion,