Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Hive currently packages HBase libraries into its lib directory.
It also adds the HBase libraries separately to its classpath in the hive startup script.
Having both mechanisms is redundant, and it also causes errors, as the standard HBase libraries packaged into Hive are unshaded, while the libraries added by hbase mapredcp
are shaded, and the two are NOT compatible when custom coprocessors are used, and in some cases the classpaths during local execution and for MR/TEZ jobs are mutually incompatible.
I propose removing all HBase libraries from the distribution, and pulling them via the hbase mapredcp mechanism.
This also solves the old problem of including ancient HBase alpha versions Hive.
Attachments
Issue Links
- causes
-
HIVE-26511 Fix NoClassDefFoundError in HMS for HBaseConfiguration
- Closed
- relates to
-
PHOENIX-6939 Change phoenix-hive connector shading to work with hbase-shaded-mapreduce
- Resolved
- links to