aboutsummaryrefslogtreecommitdiff
path: root/assembly/pom.xml
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2014-09-23 13:42:00 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-09-23 13:42:00 -0700
commit8dfe79ffb204807945e3c09b75c7255b09ad2a97 (patch)
tree3d046d43ff09a4ac4fbde8855fcce29cbfa73418 /assembly/pom.xml
parenta08153f8a3e7bad81bae330ec4152651da5e7804 (diff)
downloadspark-8dfe79ffb204807945e3c09b75c7255b09ad2a97.tar.gz
spark-8dfe79ffb204807945e3c09b75c7255b09ad2a97.tar.bz2
spark-8dfe79ffb204807945e3c09b75c7255b09ad2a97.zip
[SPARK-3647] Add more exceptions to Guava relocation.
Guava's Optional refers to some package private classes / methods, and when those are relocated the code stops working, throwing exceptions. So add the affected classes to the exception list too, and add a unit test. (Note that this unit test only really makes sense in maven, since we don't relocate in the sbt build. Also, JavaAPISuite doesn't seem to be run by "mvn test" - I had to manually add command line options to enable it.) Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #2496 from vanzin/SPARK-3647 and squashes the following commits: 84f58d7 [Marcelo Vanzin] [SPARK-3647] Add more exceptions to Guava relocation.
Diffstat (limited to 'assembly/pom.xml')
-rw-r--r--assembly/pom.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 604b1ab3de..5ec9da22ae 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -141,7 +141,9 @@
<include>com.google.common.**</include>
</includes>
<excludes>
- <exclude>com.google.common.base.Optional**</exclude>
+ <exclude>com/google/common/base/Absent*</exclude>
+ <exclude>com/google/common/base/Optional*</exclude>
+ <exclude>com/google/common/base/Present*</exclude>
</excludes>
</relocation>
</relocations>