integration between Hive and Hbase

时光怂恿深爱的人放手 提交于 2019-12-11 08:52:14

问题


I'm using hive over hbase to make some BI. i have already configured hive and hbase but when i run that query "select count(*) from hbase_table_2 " on Hive

hbase_table_2 is a table in hive which refer to a table in Hbase

This exception occurred:

# of failed Map Tasks exceeded allowed limit. FailedCount: 1. LastFailedTask: task_201212171838_0009_m_000000" 

java.io.IOException: java.io.IOException: org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@7d858aa0 closed
at org.apache.hadoop.hive.io.HiveIOExceptionHandlerChain.handleRecordReaderCreationException(HiveIOExceptionHandlerChain.java:97)
at org.apache.hadoop.hive.io.HiveIOExceptionHandlerUtil.handleRecordReaderCreationException(HiveIOExceptionHandlerUtil.java:57)"

WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

WARN org.apache.hadoop.hive.conf.HiveConf: hive-site.xml not found on CLASSPATH

I don't know where is the problem, can any one help me?

来源:https://stackoverflow.com/questions/13929471/integration-between-hive-and-hbase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!