cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Kempe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4834) Old-style mapred interface only populates row key for first column when using wide rows
Date Thu, 25 Oct 2012 23:51:12 GMT

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

Ben Kempe updated CASSANDRA-4834:
---------------------------------

    Attachment: trunk-CASSANDRA-4834.txt

lastColumn also needs a duplicated ByteBuffer.
Otherwise, if the column name is consumed in the map/reduce code, the expression in
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java#L458
will evaluate to false and the CFRR can get into an infinite loop.
                
> Old-style mapred interface only populates row key for first column when using wide rows
> ---------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4834
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4834
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.1.0
>            Reporter: Ben Kempe
>            Assignee: Ben Kempe
>            Priority: Minor
>             Fix For: 1.1.7
>
>         Attachments: TestJob.java, TestJobOldHadoop.java, trunk-CASSANDRA-4834.txt
>
>
> When using the ColumnFamilyRecordReader with the old-style Hadoop interface to iterate
over wide row columns, the row key is only populated on the first column.
> See attached tests.

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