Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/5660#issuecomment-95627460
Would like to add some background about this change:
Spark SQL repackaged Hive jars to remove unnecessary shading and
dependencies. One of them is Kryo. Hive shades Kryo to package
`org.apache.hive.com.esotericsoftware`. Normally this should be fine. However,
MapR replaces Spark SQL's repackaged Hive dependencies with genuine Hive
packages, thus the reflection call mentioned in this PR couldn't find Kryo
because it's moved into another package. On the other hand, the two reflected
methods are actually quite simple. That's why we chose to reimplement them in
Spark SQL instead of using them via reflection.
---
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]