我尝试使用Apache Cassandra在单个节点上配置多个节点,我使用这些ip地址创建了3个节点(127.0.0.2& 127.0.0.3& 127.0.0.4)。种子是127.0.0.2。
显然,当我在每个节点吃午餐时,我都没有错误。但是当我尝试使用nodetool命令显示节点时,会显示以下错误:
nodetool -h 127.0.0.2 -p 8081 ring
elyes@ubuntu:~/Cassandra/127.0.0.2/apache-cassandra-2.0.6$ bin/nodetool -h 127.0.0.2 -p 8081 ring
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/elyes/Cassandra/apache-cassandra-2.0.6/lib/pig-0.12.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/elyes/Cassandra/apache-cassandra-2.0.6/lib/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.util.NoSuchElementException
at com.google.common.collect.LinkedHashMultimap$1.next(LinkedHashMultimap.java:508)
at com.google.common.collect.LinkedHashMultimap$1.next(LinkedHashMultimap.java:496)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at java.util.Collections.max(Collections.java:735)
at org.apache.cassandra.tools.NodeCmd.printRing(NodeCmd.java:254)
at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:1214)
请帮助!!谢谢