Skip to content

Commit 3319a3e

Browse files
Peter MacKinnonrxin
authored andcommitted
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 <[email protected]> Closes apache#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
1 parent 04fa122 commit 3319a3e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
<dependency>
3535
<groupId>org.apache.hadoop</groupId>
3636
<artifactId>hadoop-client</artifactId>
37+
<exclusions>
38+
<exclusion>
39+
<groupId>javax.servlet</groupId>
40+
<artifactId>servlet-api</artifactId>
41+
</exclusion>
42+
</exclusions>
3743
</dependency>
3844
<dependency>
3945
<groupId>net.java.dev.jets3t</groupId>

project/SparkBuild.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ object SparkBuild extends Build {
371371
"net.java.dev.jets3t" % "jets3t" % jets3tVersion excludeAll(excludeCommonsLogging),
372372
"commons-codec" % "commons-codec" % "1.5", // Prevent jets3t from including the older version of commons-codec
373373
"org.apache.derby" % "derby" % "10.4.2.0" % "test",
374-
"org.apache.hadoop" % hadoopClient % hadoopVersion excludeAll(excludeJBossNetty, excludeAsm, excludeCommonsLogging, excludeSLF4J, excludeOldAsm),
374+
"org.apache.hadoop" % hadoopClient % hadoopVersion excludeAll(excludeJBossNetty, excludeAsm, excludeCommonsLogging, excludeSLF4J, excludeOldAsm, excludeServletApi),
375375
"org.apache.curator" % "curator-recipes" % "2.4.0" excludeAll(excludeJBossNetty),
376376
"com.codahale.metrics" % "metrics-core" % codahaleMetricsVersion,
377377
"com.codahale.metrics" % "metrics-jvm" % codahaleMetricsVersion,

0 commit comments

Comments
 (0)