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

Update HBaseSerDe to use hbase.mapreduce.hfileoutputformat.table.name instead of hbase.table.name as the table name property

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.0
    • 3.0.0
    • HBase Handler
    • None

    Description

      HBase 2.0 changes the table name property to hbase.mapreduce.hfileoutputformat.table.name. HiveHFileOutputFormat is using the new property name while HiveHBaseTableOutputFormat is not. If we create the table as follows, HiveHBaseTableOutputFormat is used which still uses the old property hbase.table.name.

      create table hbase_table2(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-18366.1.patch
          77 kB
          Aihua Xu
        2. HIVE-18366.2.patch
          77 kB
          Aihua Xu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: