cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serhat Rıfat Demircan (JIRA) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12255) 3.5.0 error while rebuilding: java.lang.AssertionError: Attempted to use closed region
Date Thu, 21 Jul 2016 01:28:20 GMT
Serhat Rıfat Demircan created CASSANDRA-12255:
-------------------------------------------------

             Summary: 3.5.0 error while rebuilding: java.lang.AssertionError: Attempted to
use closed region 
                 Key: CASSANDRA-12255
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12255
             Project: Cassandra
          Issue Type: Bug
          Components: Streaming and Messaging
         Environment: Production
            Reporter: Serhat Rıfat Demircan
            Priority: Critical


I got the following error while rebuilding a node in new datacenter.

{noformat}
ERROR [CompactionExecutor:5] 2016-07-21 02:04:37,141 CassandraDaemon.java:195 - Exception
in thread Thread[CompactionExecutor:5,1,main]
org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /var/lib/cassandra/data/keyspace/table/ma-18-big-Data.db
    at org.apache.cassandra.db.columniterator.AbstractSSTableIterator$Reader.hasNext(AbstractSSTableIterator.java:367)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.columniterator.AbstractSSTableIterator.hasNext(AbstractSSTableIterator.java:229)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.columniterator.SSTableIterator.hasNext(SSTableIterator.java:32)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.computeNext(LazilyInitializedUnfilteredRowIterator.java:100)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredRowIteratorWithLowerBound.computeNext(UnfilteredRowIteratorWithLowerBound.java:93)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredRowIteratorWithLowerBound.computeNext(UnfilteredRowIteratorWithLowerBound.java:25)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:374)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.MergeIterator$ManyToOne.advance(MergeIterator.java:186)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:155)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:419)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:279)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:112) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.index.SecondaryIndexManager.indexPartition(SecondaryIndexManager.java:549)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.Keyspace.indexPartition(Keyspace.java:570) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.index.internal.CollatedViewIndexBuilder.build(CollatedViewIndexBuilder.java:70)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.compaction.CompactionManager$12.run(CompactionManager.java:1472)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_91]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_91]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: java.io.IOException: Error building row with data deserialized from /var/lib/cassandra/data/keyspace/table/ma-18-big-Data.db
- chunk length 65536, data length 81867738.
    at org.apache.cassandra.db.rows.UnfilteredSerializer.deserializeRowBody(UnfilteredSerializer.java:446)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.UnfilteredDeserializer$CurrentDeserializer.readNext(UnfilteredDeserializer.java:211)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.columniterator.SSTableIterator$ForwardReader.computeNext(SSTableIterator.java:125)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.columniterator.SSTableIterator$ForwardReader.hasNextInternal(SSTableIterator.java:149)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.columniterator.AbstractSSTableIterator$Reader.hasNext(AbstractSSTableIterator.java:354)
~[apache-cassandra-3.5.0.jar:3.5.0]
    ... 23 common frames omitted
Caused by: java.lang.AssertionError: Attempted to use closed region
    at org.apache.cassandra.io.util.MmappedRegions.floor(MmappedRegions.java:190) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBufferMmap(CompressedRandomAccessReader.java:172)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.io.util.RandomAccessReader.reBuffer(RandomAccessReader.java:111)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.io.util.RebufferingInputStream.readByte(RebufferingInputStream.java:144)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.utils.vint.VIntCoding.readUnsignedVInt(VIntCoding.java:63) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.io.util.RebufferingInputStream.readUnsignedVInt(RebufferingInputStream.java:209)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.SerializationHeader.readLocalDeletionTime(SerializationHeader.java:210)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.Cell$Serializer.deserialize(Cell.java:224) ~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredSerializer.readSimpleColumn(UnfilteredSerializer.java:455)
~[apache-cassandra-3.5.0.jar:3.5.0]
    at org.apache.cassandra.db.rows.UnfilteredSerializer.deserializeRowBody(UnfilteredSerializer.java:433)
~[apache-cassandra-3.5.0.jar:3.5.0]
    ... 27 common frames omitted
{noformat}



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

Mime
View raw message