zoukankan      html  css  js  c++  java
  • Zookeeper error: Cannot open channel to X at election address

    配置zookeeper集群的时候报错 Zookeeper error: Cannot open channel to X at election address。

    配置如下:

    server.1=x.x.x.x:2888:3888
    server.2=x.x.x.x:2888:3888
    server.3=x.x.x.x:2888:3888

    可能是本节点ip 没有配置对。

    尝试将对应节点的的本机Ip改为0.0.0.0后成功。

    如在server.1对应的机器上则应为:

    server.1=0.0.0.0:2888:3888
    server.2=x.x.x.x:2888:3888
    server.3=x.x.x.x:2888:3888

    参考

  • 相关阅读:
    数据库是什么以及用来干嘛
    10.3
    10.2
    12.7
    12.5
    12.4
    12.3
    12.2
    12.1JOptionPane
    11.30eclipse常用快捷键
  • 原文地址:https://www.cnblogs.com/thewindkee/p/12873165.html
Copyright © 2011-2022 走看看