cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Frank (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-4593) Reading the ByteBuffer key from a map job causes an infinite fetch loop
Date Thu, 30 Aug 2012 23:13:07 GMT

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

Ben Frank edited comment on CASSANDRA-4593 at 8/31/12 10:12 AM:
----------------------------------------------------------------

patch against the cassandra-1.1 branch attached.
This does a mark on the buffer, saves off the token value and then resets the buffer to back
to the mark. Downstream users then aren't able to effect the operation of the iterator. 


                
      was (Author: airlust):
    patch against the cassandra-1.1 branch
                  
> 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

Mime
View raw message