cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Rokhin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12263) Exception leads to the "connection closed".
Date Thu, 21 Jul 2016 16:03:20 GMT
Artem Rokhin created CASSANDRA-12263:
----------------------------------------

             Summary: Exception leads to the "connection closed".
                 Key: CASSANDRA-12263
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12263
             Project: Cassandra
          Issue Type: Bug
         Environment: CentOS 6, Cassandra 3.5
            Reporter: Artem Rokhin


Just noticed the following exception in Cassandra logs: 

```
java.lang.IllegalStateException: null
	at org.apache.cassandra.db.rows.RangeTombstoneBoundMarker.openDeletionTime(RangeTombstoneBoundMarker.java:87)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.service.DataResolver$RepairMergeListener$MergeListener.onMergedRangeTombstoneMarkers(DataResolver.java:275)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:482)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:437)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:217) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:156)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:419)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:279)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:112) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.processPartition(SelectStatement.java:720)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:659)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:382)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:335)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:209)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:76)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:206) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:472) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:449) ~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:130)
~[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.5.jar:3.5]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
	at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
	at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.5.jar:3.5]
	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.5.jar:3.5]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
```

This leads to the closed connection:

```
java.lang.RuntimeException: com.datastax.driver.core.exceptions.TransportException: [/172.20.202.193]
Connection has been closed
	at com.jetbrains.upsource.database.datastax.WriteExecutor.execute(WriteExecutor.java:48)
	at com.jetbrains.upsource.database.datastax.ThroughDbMediator.submitSync(ThroughDbMediator.java:54)
	at com.jetbrains.upsource.database.datastax.buffering.CqlWriteBuffer.flush(CqlWriteBuffer.java:152)
	at com.jetbrains.upsource.database.datastax.buffering.CqlBufferedQueue$StorageChunk.flush(CqlBufferedQueue.java:71)
	at com.jetbrains.upsource.db.impl.AbstractBufferingWriter.flushChunk(AbstractBufferingWriter.java:143)
	at com.jetbrains.upsource.db.impl.DatabaseFlushExecutorImpl$Executor.a(DatabaseFlushExecutorImpl.java:253)
	at __.db_104-jetProfile.__(JavaGeneratorTemplate.java:44)
	at org.jonnyzzz.stack.NamedStackFrame.frame(NamedStackFrame.java:48)
	at com.jetbrains.upsource.db.impl.DatabaseFlushExecutorImpl$Executor.c(DatabaseFlushExecutorImpl.java:252)
	at com.jetbrains.upsource.db.impl.DatabaseFlushExecutorImpl$Executor.run(DatabaseFlushExecutorImpl.java:235)
	at java.lang.Thread.run(Thread.java:745)
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message