Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
3.1.0
-
None
-
HBase 2.0.2
Hive 3.1.0
Description
By default Hive 3.1.0 depends on HBase 2.0.0-alpha4. HBase 2.0.2 migrated from hbase.util.Base64 to java.util.Base64 (HBASE-20884), which causes Hive 3.1.0 fails to build with HBase 2.0.2.
$ cd hbase-handler
$ mvn package -DskipTests -Dhbase.version=2.0.2
[ERROR] .../hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableSnapshotInputFormat.java:[29,36] cannot find symbol
[ERROR] symbol: class Base64
[ERROR] location: package org.apache.hadoop.hbase.util
To make Hive works with 2.0.2+ (and also older versions), we should consider migrating Hive to java.util.Base64.
Attachments
Issue Links
- duplicates
-
HIVE-20201 Hive shouldn't use HBase's Base64 implementation
- Closed
- links to