Uh oh!
There was an error while loading. Please reload this page.
[SPARK-15024] NoClassDefFoundError in spark-examples due to Guava relocation - #12800
[SPARK-15024] NoClassDefFoundError in spark-examples due to Guava relocation#12800atokhy wants to merge 1 commit into
Conversation
AmplabJenkins
commented
Apr 30, 2016
Can one of the admins verify this patch? |
HyukjinKwon
commented
Apr 30, 2016
(It looks the last part of the title is truncated) |
srowen
commented
Apr 30, 2016
This is opened vs 1.6 when it should be master. |
atokhy
commented
May 3, 2016
This is a problem only found in the 1.6 branch (potentially in Spark 1.6.2), and it does not apply to Apache master. |
vanzin
commented
Aug 5, 2016
@atokhy that's a little weird. The examples module should be inheriting the guava shading from the parent pom. I have a 1.6 build locally (with patches, so I'll check the official package tomorrow) and HiveFromSpark does not reference unshaded guava classes. |
HyukjinKwon
commented
Feb 9, 2017
Hi @atokhy, it seems inactive without an answer to the comment above. Should this be better closed if you are not able to proceed this further? |
## What changes were proposed in this pull request? This PR proposes to close stale PRs. What I mean by "stale" here includes that there are some review comments by reviewers but the author looks inactive without any answer to them more than a month. I left some comments roughly a week ago to ping and the author looks still inactive in these PR below These below includes some PR suggested to be closed and a PR against another branch which seems obviously inappropriate. Given the comments in the last three PRs below, they are probably worth being taken over by anyone who is interested in it. Closesapache#7963Closesapache#8374Closesapache#11192Closesapache#11374Closesapache#11692Closesapache#12243Closesapache#12583Closesapache#12620Closesapache#12675Closesapache#12697Closesapache#12800Closesapache#13715Closesapache#14266Closesapache#15053Closesapache#15159Closesapache#15209Closesapache#15264Closesapache#15267Closesapache#15871Closesapache#15861Closesapache#16319Closesapache#16324Closesapache#16890Closesapache#12398Closesapache#12933Closesapache#14517 ## How was this patch tested? N/A Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#16937 from HyukjinKwon/stale-prs-close.
What changes were proposed in this pull request?
This change will only shade and relocate Guava in the spark-examples JAR used by the Apache Bigtop distribution (as of writing the Bigtop distribution uses the unshaded JAR). Since only Guava and Jetty are relocated, and since there are 0 references to Jetty in the spark-examples codebase, only Guava needs to be shaded. The shaded spark-assembly JAR provides the rest of the dependencies needed to get the spark-examples to run without any NoClassDefFoundErrors
How was this patch tested?
mvn package -DrecompileMode=all -Pbigtop-dist -Pyarn -Phadoop-2.6 -Phive -Phive-thriftserver -Dprotobuf.version=2.5.0
$ unzip -l target/scala-2.10/spark-examples-1.6.1-hadoop2.6.0.jar | grep org.spark-project.guava | wc -l
1602