You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/08/31 01:15:08 UTC

[jira] [Resolved] (CASSANDRA-4593) Reading the ByteBuffer key from a map job causes an infinite fetch loop

     [ https://issues.apache.org/jira/browse/CASSANDRA-4593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-4593.
---------------------------------------

    Resolution: Invalid

You're not free to destructively mutate the key buffer.  Use positional reads or duplicate() it.
                
> Reading the ByteBuffer key from a map job causes an infinite fetch loop
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4593
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4593
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.1.2
>            Reporter: Ben Frank
>         Attachments: cassandra-1.1-4593.txt
>
>
> Reading the ByteBuffer key from a map job empties the buffer. One of these key buffers is later used in ColumnFamilyRecordReader to figure out the last token that was received, then using that as a start point to fetch more rows. With a now empty buffer, the token defaults to the start of the range and thus the end of the data is never reached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira