hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lxw" <lxw1...@qq.com>
Subject Storage index table in HBase
Date Wed, 09 Jul 2014 07:39:50 GMT
Hi,experts:

  I want to storage hive index table in HBase to improve index performance.
I do it like this :


  CREATE INDEX idx_number on table my_hive_table (number) as  'org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler'
with DEFERRED REBUILD 
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' 
WITH SERDEPROPERTIES(“hbase.columns.mapping”=“:key,cf:bucketname,cf:offsets”);

  but it fails, exception message is:
org.apache.hadoop.hive.ql.metadata.HiveException:must specify an InputFormat class.

 Who can help me to resolve this problem or tell me what should I do.

Thanks all!
Sean
Mime
View raw message