aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorThomas Graves <tgraves@apache.org>2014-05-06 12:00:09 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-05-06 12:00:09 -0700
commit1e829905c791fbf1dfd8e0c1caa62ead7354605e (patch)
treee0cf8d483c3b4d4c1672685f690fc297aef1a762 /pom.xml
parent0a5a46811475a7accac1ed8dfefeeba9554456db (diff)
downloadspark-1e829905c791fbf1dfd8e0c1caa62ead7354605e.tar.gz
spark-1e829905c791fbf1dfd8e0c1caa62ead7354605e.tar.bz2
spark-1e829905c791fbf1dfd8e0c1caa62ead7354605e.zip
SPARK-1474: Spark on yarn assembly doesn't include AmIpFilter
We use org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter in spark on yarn but are not included it in the assembly jar. I tested this on yarn cluster by removing the yarn jars from the classpath and spark runs fine now. Author: Thomas Graves <tgraves@apache.org> Closes #406 from tgravescs/SPARK-1474 and squashes the following commits: 1548bf9 [Thomas Graves] SPARK-1474: Spark on yarn assembly doesn't include org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index e4b5c36d69..fb904e868c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -616,7 +616,25 @@
</exclusion>
</exclusions>
</dependency>
-
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-server-web-proxy</artifactId>
+ <version>${yarn.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>asm</groupId>
+ <artifactId>asm</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-client</artifactId>
@@ -960,6 +978,11 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-server-web-proxy</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-client</artifactId>
<scope>provided</scope>
</dependency>