Dagang Wei created HIVE-20784:
---------------------------------

             Summary: Migrate hbase.util.Base64 to java.util.Base64
                 Key: HIVE-20784
                 URL: https://issues.apache.org/jira/browse/HIVE-20784
             Project: Hive
          Issue Type: Improvement
          Components: HBase Handler
    Affects Versions: 3.1.0
         Environment: HBase 2.0.2

Hive 3.1.0
            Reporter: Dagang Wei
            Assignee: Dagang Wei


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to