码迷,mamicode.com
首页 > 其他好文 > 详细

hbase.client.RetriesExhaustedException: Can't get the locations hive关联Hbase查询报错

时间:2016-10-17 14:35:17      阅读:721      评论:0      收藏:0      [点我收藏+]

标签:

特征1:

hbase.client.RetriesExhaustedException: Can‘t get the locations

特征2:

hbase日志报错如下:
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid

特征3:

unexpected error, closing socket connection and attempting reconnect

 

shell终端打开全部的shell,运行命令,检查Zookeeper是否正常

命令:zkServer.sh status

如果发现zkServer.sh 出现 没有运行的指令

关闭这台机器的Zookeeper

zkServer.sh stop

然后再

zkServer.sh start

 

exit; 退出hive终端,重新进入hive查询测试

 

本人测试完成解决!

 

问题原因:

zookeeper 异常退出!

hbase.client.RetriesExhaustedException: Can't get the locations hive关联Hbase查询报错

标签:

原文地址:http://www.cnblogs.com/tnsay/p/5969371.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!