hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-18366) Update HBaseSerDe to use hbase.mapreduce.hfileoutputformat.table.name instead of hbase.table.name as the table name property
Date Wed, 03 Jan 2018 19:13:00 GMT
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)

Mime
View raw message