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-669) Handle mmapping index files greater than 2GB
Date Tue, 05 Jan 2010 23:21:54 GMT

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

Brandon Williams commented on CASSANDRA-669:
--------------------------------------------

Received the following traceback after testing (during compaction):

ERROR - Error in executor futuretask
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Negative position
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
        at java.util.concurrent.FutureTask.get(FutureTask.java:111)
        at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:53)
        at org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(CompactionManager.java:591)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalArgumentException: Negative position
        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:739)
        at org.apache.cassandra.io.SSTableReader.mmap(SSTableReader.java:273)
        at org.apache.cassandra.io.SSTableReader.<init>(SSTableReader.java:234)
        at org.apache.cassandra.io.SSTableWriter.closeAndOpenReader(SSTableWriter.java:157)
        at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:307)
        at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:102)
        at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:83)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)


> Handle mmapping index files greater than 2GB
> --------------------------------------------
>
>                 Key: CASSANDRA-669
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-669
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.9
>
>         Attachments: 0001-store-data-information-for-any-index-entries-spanning-.txt,
0002-add-support-for-multiple-mmapped-index-segments-and-ad.txt
>
>
> "Who would ever have an index file larger than 2GB?" I thought.  Turns out it's not that
hard with narrow rows... :)

-- 
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