HBase 0.96.0 集成 Hive .012.0 问题
hive>bin/hive -hiveconf hbase.zookeeper.quorum=centos.master
hive>create table hbase_table_user(key int,value string) stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties ("hbase.columns.mapping"=":key,cf1:val") tblproperties ("hbase.table.name"="hive_table_user");
hive> select * from hbase_table_user;
OK
Failed with exception java.io.IOException:java.lang.ClassCastException: org.apache.hadoop.hbase.client.Result cannot be cast to org.apache.hadoop.io.Writable
不知道这个该怎么解决?有遇到这个问题的吗?是什么原因导致的?诚心求解