Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16531 Enable support for HADOOP-3.x
  3. HIVE-18202

Automatically migrate hbase.table.name to hbase.mapreduce.hfileoutputformat.table.name for hbase-based table

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: HBase Handler
    • Labels:
      None

      Description

      The property name for Hbase table mapping is changed from hbase.table.name to hbase.mapreduce.hfileoutputformat.table.name in HBase 2.

      We can include such upgrade for existing hbase-based tables in DB upgrade script to automatically change such values.

      For the new tables, the query will be like:

      create table hbase_table(key int, val string) stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties ('hbase.columns.mapping' = ':key,cf:val') tblproperties ('hbase.mapreduce.hfileoutputformat.table.name' = 'positive_hbase_handler_bulk')

        Attachments

        1. HIVE-18202.1.patch
          5 kB
          Aihua Xu
        2. HIVE-18202.patch.addendum
          0.6 kB
          Aihua Xu

          Issue Links

            Activity

              People

              • Assignee:
                aihuaxu Aihua Xu
                Reporter:
                aihuaxu Aihua Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: