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 異常退出!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM