FAILED TO WRITE PID installing Zookeeper

后端 未结 11 2905
小蘑菇
小蘑菇 2021-02-19 22:10

I am new to Zookeeper and it has being a real issue to install it and run. I am not sure what is wrong in here but I will explain what I\'ve being doing to make it more clear:

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 22:21

    I have faced the same issue while starting the zookeeper with this command:

    hadoop@ubuntu:~/hadoop/zookeeper/zookeeper-3.4.8$ bin/zkServer.sh start

    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.

    But running the script as su rectified the issue:

    hadoop@ubuntu:~/hadoop/zookeeper/zookeeper-3.4.8$ sudo bin/zkServer.sh start

    ZooKeeper JMX enabled by default Using config: /home/hadoop/hadoop/zookeeper/zookeeper-3.4.8/bin/../conf/zoo.cfg Starting zookeeper ... STARTED

提交回复
热议问题