Skip to content

Commit 461ee5a

Browse files
committed
[YARN] [SPARK-20756] yarn-shuffle jar has references to unshaded guava and contains scala classes
1 parent bbd163d commit 461ee5a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

common/network-yarn/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
<includes>
8888
<include>*:*</include>
8989
</includes>
90+
<excludes>
91+
<exclude>org.scala-lang:scala-library</exclude>
92+
</excludes>
9093
</artifactSet>
9194
<filters>
9295
<filter>
@@ -113,6 +116,13 @@
113116
<include>io.netty.**</include>
114117
</includes>
115118
</relocation>
119+
<relocation>
120+
<pattern>com.google.common</pattern>
121+
<shadedPattern>${spark.shade.packageName}.guava</shadedPattern>
122+
<includes>
123+
<include>com.google.**</include>
124+
</includes>
125+
</relocation>
116126
</relocations>
117127
</configuration>
118128
<executions>

0 commit comments

Comments
 (0)