Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
windows 7上的Cassandra服务器崩溃_Cassandra_Cassandra 2.0_Datastax_Datastax Enterprise_Datastax Java Driver - Fatal编程技术网

windows 7上的Cassandra服务器崩溃

windows 7上的Cassandra服务器崩溃,cassandra,cassandra-2.0,datastax,datastax-enterprise,datastax-java-driver,Cassandra,Cassandra 2.0,Datastax,Datastax Enterprise,Datastax Java Driver,我已经在Windows7上安装了Datastax Cassandra社区服务器2.2.3。刚才它工作得很好,重启我的机器后,Cassandra服务器崩溃了。我甚至不能打开cqlshell命令行。 我得到的错误消息是: com.datastax.driver.core.exceptions.NoHostAvailableException: NoHostAvailableException: All host(s) tried for query failed (tried: localhost/

我已经在Windows7上安装了Datastax Cassandra社区服务器2.2.3。刚才它工作得很好,重启我的机器后,Cassandra服务器崩溃了。我甚至不能打开cqlshell命令行。 我得到的错误消息是:

com.datastax.driver.core.exceptions.NoHostAvailableException: NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1:9042]
在system.log中找到的错误消息是

INFO  [SharedPool-Worker-2] 2016-01-18 09:43:22,141 Message.java:605 - Unexpected exception during request; channel = [id: 0xafffeedf, /127.0.0.1:53095 :> 0.0.0.0/0.0.0.0:9042]
java.io.IOException: An existing connection was forcibly closed by the remote host
    at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[na:1.7.0_72]
    at sun.nio.ch.SocketDispatcher.read(Unknown Source) ~[na:1.7.0_72]
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) ~[na:1.7.0_72]
    at sun.nio.ch.IOUtil.read(Unknown Source) ~[na:1.7.0_72]
    at sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[na:1.7.0_72]
    at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:311) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:225) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
    at java.lang.Thread.run(Unknown Source) [na:1.7.0_72]
WARN  [SharedPool-Worker-4] 2016-01-18 09:43:48,833 NoSpamLogger.java:94 - Unlogged batch covering 3 partitions detected against tables [acasystem.Job, acasystem._75fd0052d53648dabb4f8e74b69cbaa9_inverse, acasystem._5d3f48c729c54dad939d5597b1d041ea_inverse]. You should use a logged batch for atomicity, or asynchronous writes for performance.


可能是网络/防火墙问题。能否提供节点数、服务器重新启动时会发生什么情况等。服务器重新启动时是否会再次发生相同的错误?可能是网络/防火墙问题。能否提供节点数、服务器重新启动时会发生什么情况等。服务器重新启动时是否会再次发生相同的错误?