Skip to content

Commit 1aa90e3

Browse files
lianchengpwendell
authored andcommitted
[SPARK-6149] [SQL] [Build] Excludes Guava 15 referenced by jackson-module-scala_2.10
This PR excludes Guava 15.0 from the SBT build, to make Spark SQL CLI (`bin/spark-sql`) work when compiled against Hive 0.12.0. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4890) <!-- Reviewable:end --> Author: Cheng Lian <[email protected]> Closes apache#4890 from liancheng/exclude-guava-15 and squashes the following commits: 91ae9fa [Cheng Lian] Moves Guava 15 exclusion from SBT build to POM 282bd2a [Cheng Lian] Excludes Guava 15 referenced by jackson-module-scala_2.10
1 parent 3a35a0d commit 1aa90e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,18 @@
583583
<artifactId>jackson-databind</artifactId>
584584
<version>${fasterxml.jackson.version}</version>
585585
</dependency>
586+
<!-- Guava is excluded because of SPARK-6149. The Guava version referenced in this module is
587+
15.0, which causes runtime incompatibility issues. -->
586588
<dependency>
587589
<groupId>com.fasterxml.jackson.module</groupId>
588590
<artifactId>jackson-module-scala_2.10</artifactId>
589591
<version>${fasterxml.jackson.version}</version>
592+
<exclusions>
593+
<exclusion>
594+
<groupId>com.google.guava</groupId>
595+
<artifactId>guava</artifactId>
596+
</exclusion>
597+
</exclusions>
590598
</dependency>
591599
<dependency>
592600
<groupId>org.scala-lang</groupId>

0 commit comments

Comments
 (0)