cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Adamson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9380) ColumnFamilySplit length field is not serialized
Date Fri, 15 May 2015 09:46:59 GMT

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

Mike Adamson commented on CASSANDRA-9380:
-----------------------------------------

+1 - passed my tests

> ColumnFamilySplit length field is not serialized
> ------------------------------------------------
>
>                 Key: CASSANDRA-9380
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9380
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Mike Adamson
>            Assignee: Philip Thompson
>             Fix For: 2.2.x
>
>         Attachments: 9380-1.txt, 9380-2.txt, 9380-3.txt
>
>
> The CqlRecordReader uses the InputSplit.getLength() method to populate it's totalRowCount
field. It uses this when calculating the progress of a job.
> The length field of ColumnFamilySplit is not serialized by the write and readFields methods
so the totalRowCount in CqlRecordReader is always 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message