hbase.client.RetriesExhaustedException: Can't get the locations hive关联Hbase查询报错
特征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 异常退出!
转载注明出处
如果本文对你有帮助,请帮忙啦~~
打开支付宝首页搜“522901509”领红包,领到大红包的小伙伴赶紧使用哦!
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步