cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 鄢来琼 <laiqiong....@gtafe.com>
Subject cannot login cassandra
Date Mon, 18 Aug 2014 00:40:50 GMT
Dear All,

After creating table “mykeysapce. cffex_l23 “, some data are insert into the table, then
the connection is closed and quit;
And then reconnection Cassandra, error is thrown.
The following errors are recorded in the system.log file.
ERROR [SSTableBatchOpen:1] 2014-08-15 17:08:22,912 CassandraDaemon.java (line 199) Exception
in thread Thread[SSTableBatchOpen:1,5,main]
FSReadError in /opt/apache-cassandra-2.0.9/cassandraData/data/mykeyspace/cffex_l23/mykeyspace-cffex_l23-jb-17-Index.db
        at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
        at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
        at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:457)
        at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:422)
        at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:203)
        at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:184)
        at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:264)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Channel not open for writing - cannot extend file to required
size
        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:851)
        at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
        ... 11 more
ERROR [SSTableBatchOpen:1] 2014-08-15 17:08:22,913 StorageService.java (line 366) Stopping
gossiper
WARN [SSTableBatchOpen:1] 2014-08-15 17:08:22,913 StorageService.java (line 280) Stopping
gossip by operator request
INFO [SSTableBatchOpen:1] 2014-08-15 17:08:22,913 Gossiper.java (line 1279) Announcing shutdown
ERROR [SSTableBatchOpen:1] 2014-08-15 17:08:24,916 StorageService.java (line 371) Stopping
RPC server
INFO [SSTableBatchOpen:1] 2014-08-15 17:08:24,916 ThriftServer.java (line 141) Stop listening
to thrift clients
ERROR [SSTableBatchOpen:1] 2014-08-15 17:08:24,920 StorageService.java (line 376) Stopping
native transport
INFO [SSTableBatchOpen:1] 2014-08-15 17:08:24,937 Server.java (line 182) Stop listening for
CQL clients
WARN [Native-Transport-Requests:55] 2014-08-15 17:08:24,973 Slf4JLogger.java (line 76) An
exception was thrown by an exception handler.
java.util.concurrent.RejectedExecutionException: Worker has already been shutdown
        at org.jboss.netty.channel.socket.nio.AbstractNioSelector.registerTask(AbstractNioSelector.java:115)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:73)
        at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:57)
        at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
        at org.jboss.netty.channel.socket.nio.AbstractNioChannelSink.execute(AbstractNioChannelSink.java:34)
        at org.jboss.netty.channel.Channels.fireExceptionCaughtLater(Channels.java:496)
        at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:46)
        at org.jboss.netty.channel.Channels.write(Channels.java:725)
        at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
        at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
        at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:60)
        at org.jboss.netty.channel.Channels.write(Channels.java:725)
        at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
        at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
        at org.jboss.netty.handler.execution.ExecutionHandler.handleDownstream(ExecutionHandler.java:186)
        at org.jboss.netty.channel.Channels.write(Channels.java:704)
        at org.jboss.netty.channel.Channels.write(Channels.java:671)
        at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
        at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:311)
        at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)

What’s the problem? How to fix it?
Any comments from you are appreciated!


________________________________
Thanks and regards,
深圳市国泰安信息技术有限公司
鄢来琼
手机:18620306659
邮箱:laiqiong.yan@gtafe.com
地址:深圳市南山区南头检查站关口二路智恒产业园19栋3楼
http://www.gtafe.com/
[说明: cid:image001.png@01CF5897.E1268DE0]

Mime
View raw message