You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/01/03 19:13:00 UTC

[jira] [Created] (HIVE-18366) Update HBaseSerDe to use hbase.mapreduce.hfileoutputformat.table.name instead of hbase.table.name as the table name property

Aihua Xu created HIVE-18366:
-------------------------------

             Summary: Update HBaseSerDe to use hbase.mapreduce.hfileoutputformat.table.name instead of hbase.table.name as the table name property
                 Key: HIVE-18366
                 URL: https://issues.apache.org/jira/browse/HIVE-18366
             Project: Hive
          Issue Type: Sub-task
          Components: HBase Handler
    Affects Versions: 3.0.0
            Reporter: Aihua Xu
            Assignee: Aihua Xu


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.

{noformat}
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')
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)