Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20784

Migrate hbase.util.Base64 to java.util.Base64

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: HBase Handler
    • Environment:

      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

            Activity

              People

              • Assignee:
                functicons Dagang Wei
                Reporter:
                functicons Dagang Wei
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: