在啟動hadoop集群和zookeeper集群后,再啟動hbase
HMaster和hregionServer都正常啟動

但是hbase web顯示 HRegionServer 無法連接到 HMaster

查看hbase的HRegionServer日志發現
1 client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
解決:
這是因為hadoop處於安全模式引起的

退出安全模式后

重啟hbase

在啟動hadoop集群和zookeeper集群后,再啟動hbase
HMaster和hregionServer都正常啟動

但是hbase web顯示 HRegionServer 無法連接到 HMaster

查看hbase的HRegionServer日志發現
1 client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
解決:
這是因為hadoop處於安全模式引起的

退出安全模式后

重啟hbase

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