cassandra-commits mailing list archives

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

     [ 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

Mime
View raw message