hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhengzhuangjie (JIRA)" <>
Subject [jira] [Created] (HIVE-7179) hive connect to hbase cause select results error
Date Thu, 05 Jun 2014 08:05:01 GMT
zhengzhuangjie created HIVE-7179:

             Summary: hive connect to hbase cause select results error
                 Key: HIVE-7179
             Project: Hive
          Issue Type: Bug
          Components: HBase Handler
    Affects Versions: 0.12.0
         Environment: Hadoop 1.0.4, HBase, Hive 0.12.0
            Reporter: zhengzhuangjie

CREATE EXTERNAL TABLE hb_test(key string, `_plat` int, `_uid` int)STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,d:_plat#b,d:_uid#b")TBLPROPERTIES(""
= "test");
insert overwrite local directory '/data/mf/app/data/check' ROW FORMAT DELIMITED FIELDS TERMINATED
BY ',' select key, `_plat`, `_uid` from hb_test where key>'00604' and key<'00605';

after finish the query, under fold /data/mf/app/data/check output eight files. and each file
has the same duplicate data

This message was sent by Atlassian JIRA

View raw message