我在独立模式下运行HBase,并收到以下错误。
2016-10-05 16:29:06,268 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper
It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
HBase-site.xml文件中HBase的Standalone模式的zookeeper.znode.parent的值是多少?
答案 0 :(得分:0)
答案 1 :(得分:0)
您可以从HBase日志中获得最佳解决方案。就我而言,我在同一台服务器上运行Kafka + zookeeper和HBase。因此,每当我尝试运行hbase shell时,我都会在控制台上遇到相同的错误。当我检查日志并找到
端口已在使用中
所以我刚刚在hbase-site.xml文件中更改了zookeeper的端口号,一切开始运行。