在我从 Windows 命令提示符启动 Zookeeper 服务器并启动 zkConsole 之后。我尝试/be
从命令提示符创建 znode 持久节点,如下所示 -
WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] create -s /be
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:700)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:593)
at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:365)
at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)
一旦我这样做了,如上所述,我在控制台上遇到了一个异常。因为这是我第一次,所以我不知道如何解决这个问题?任何指针将不胜感激。