zookeeper에서 KeeperErrorCode = NoNode for 를 시작할 수 없습니다.

1261 단어 서버

KeeperErrorCode = NoNode for

  • zookeeper 프로필을 보고 dataDir의 주소를 얻습니다
  • [root@iZ25o9lq6f5Z ~]# cd /usr/local/zookeeper-3.3.6/
    [root@iZ25o9lq6f5Z zookeeper-3.3.6]# cat conf/zoo.cfg 
    # The number of milliseconds of each tick
    tickTime=2000
    # The number of ticks that the initial 
    # synchronization phase can take
    initLimit=10
    # The number of ticks that can pass between 
    # sending a request and getting an acknowledgement
    syncLimit=5
    # the directory where the snapshot is stored.
    dataDir=/tmp/zookeeper
    # the port at which the clients will connect
    clientPort=2181
  • 디렉터리에 있는 /tmp/zookeeper 폴더 삭제
  • 그리고zookeeper
  • 를 시작합니다.

    좋은 웹페이지 즐겨찾기