Github user steveloughran commented on the pull request:
https://github.com/apache/spark/pull/10780#issuecomment-172985031
The latest patch
1. relocates everything except leveldb. Leveldb uses JNI stuff, which
doesn't relocate, and on JVMs with multiple classloaders, can still only be
loaded once. Jackson, netty and javax.annotation all go under org.spark-project.
1. Added a `leveldb-provided` profile which excludes leveldb from both the
shuffle and hadoop-hdfs dependencies. (The latter could be excluded in the root
spark POM; it's server-side only).
When built with `leveldb-provided`, the relocation stops version conflict
in simple java classes; leveldb will be needed to be added to the NM classpath
âHadoop 2.6+(?) certainly does that.
Maybe instead of `leveldb-provided`, the profile could just become
`hadoop-2.6`, which is already in the top-level
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]