cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-866) AssertionError SSTableSliceIterator.java:126
Date Thu, 01 Apr 2010 19:21:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852513#action_12852513
] 

Brandon Williams commented on CASSANDRA-866:
--------------------------------------------

I tried reproducing this with the data set provided.  I couldn't reproduce at all on a 64bit
jvm, and I tried on a 32bit, which also succeeded with the disk mode set to auto.  I had a
theory that this was caused by forcing mmap mode on 32bits, but that actually raises a different
exception:

Exception in thread "main" java.io.IOException: Map failed
        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:803)
        at org.apache.cassandra.io.SSTableReader.mmap(SSTableReader.java:206)
        at org.apache.cassandra.io.SSTableReader.<init>(SSTableReader.java:152)
        at org.apache.cassandra.io.SSTableReader.<init>(SSTableReader.java:216)
        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:121)
        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:112)
        at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:304)
        at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:329)
        at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:373)
Caused by: java.lang.OutOfMemoryError: Map failed
        at sun.nio.ch.FileChannelImpl.map0(Native Method)
        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:800)
        ... 8 more


Todd, can you give us more details about your environment?

> AssertionError SSTableSliceIterator.java:126
> --------------------------------------------
>
>                 Key: CASSANDRA-866
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-866
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: B. Todd Burruss
>             Fix For: 0.6.1
>
>
> also seeing these, using cassandra-0.6.0-beta2/
> 2010-03-09 07:37:57,683 ERROR [ROW-READ-STAGE:77] [CassandraDaemon.java:78] Fatal exception
in thread Thread[ROW-READ-STAGE:77,5,main]
> java.lang.AssertionError
>         at org.apache.cassandra.db.filter.SSTableSliceIterator$ColumnGroupReader.<init>(SSTableSliceIterator.java:126)
>         at org.apache.cassandra.db.filter.SSTableSliceIterator.<init>(SSTableSliceIterator.java:59)
>         at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:63)
>         at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:851)
>         at org.apache.cassandra.db.ColumnFamilyStore.cacheRow(ColumnFamilyStore.java:748)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:773)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:740)
>         at org.apache.cassandra.db.Table.getRow(Table.java:381)
>         at org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:56)
>         at org.apache.cassandra.db.ReadVerbHandler.doVerb(ReadVerbHandler.java:80)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message