Skip to content

Commit dba08d1

Browse files
Marcelo Vanzinpwendell
authored andcommitted
[SPARK-6070] [yarn] Remove unneeded classes from shuffle service jar.
These may conflict with the classes already in the NM. We shouldn't be repackaging them. Author: Marcelo Vanzin <[email protected]> Closes #4820 from vanzin/SPARK-6070 and squashes the following commits: 871b566 [Marcelo Vanzin] The "d'oh how didn't I think of it before" solution. 3cba946 [Marcelo Vanzin] Use profile instead, so that dependencies don't need to be explicitly listed. 7a18a1b [Marcelo Vanzin] [SPARK-6070] [yarn] Remove unneeded classes from shuffle service jar.
1 parent e0e64ba commit dba08d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

network/yarn/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
<url>http://spark.apache.org/</url>
3434
<properties>
3535
<sbt.project.name>network-yarn</sbt.project.name>
36+
<!-- Make sure all Hadoop dependencies are provided to avoid repackaging. -->
37+
<hadoop.deps.scope>provided</hadoop.deps.scope>
3638
</properties>
3739

3840
<dependencies>
@@ -47,7 +49,6 @@
4749
<dependency>
4850
<groupId>org.apache.hadoop</groupId>
4951
<artifactId>hadoop-client</artifactId>
50-
<scope>provided</scope>
5152
</dependency>
5253
</dependencies>
5354

0 commit comments

Comments
 (0)