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-2652) Hinted handoff needs to adjust page size for lage columns to avoid OOM
Date Mon, 16 May 2011 21:10:47 GMT

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

Brandon Williams commented on CASSANDRA-2652:
---------------------------------------------

+1

> Hinted handoff needs to adjust page size for lage columns to avoid OOM
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-2652
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2652
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.7
>
>         Attachments: 2652.txt
>
>
> Example OOM:
> {noformat}
> java.lang.OutOfMemoryError: Java heap space
> 	at org.apache.cassandra.io.util.BufferedRandomAccessFile.readBytes(BufferedRandomAccessFile.java:269)
> 	at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:356)
> 	at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:318)
> 	at org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:99)
> 	at org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:248)
> 	at org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:268)
> 	at org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:227)
> 	at java.util.concurrent.ConcurrentSkipListMap.buildFromSorted(ConcurrentSkipListMap.java:1493)
> 	at java.util.concurrent.ConcurrentSkipListMap.<init>(ConcurrentSkipListMap.java:1443)
> 	at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:379)
> 	at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:362)
> 	at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:322)
> 	at org.apache.cassandra.db.columniterator.IndexedSliceReader$IndexedBlockFetcher.getNextBlock(IndexedSliceReader.java:179)
> 	at org.apache.cassandra.db.columniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:121)
> 	at org.apache.cassandra.db.columniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:49)
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
> 	at org.apache.cassandra.db.columniterator.SSTableSliceIterator.hasNext(SSTableSliceIterator.java:108)
> 	at org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:283)
> 	at org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
> 	at org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
> 	at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:69)
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
> 	at org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:116)
> 	at org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:130)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1390)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1267)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1195)
> 	at org.apache.cassandra.db.HintedHandOffManager.sendMessage(HintedHandOffManager.java:138)
> 	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:331)
> 	at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:88)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message