cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lanny Ripple (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3450) maybeInit in ColumnFamilyRecordReader can cause rows to be empty but not null
Date Thu, 03 Nov 2011 17:23:34 GMT

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

Lanny Ripple updated CASSANDRA-3450:
------------------------------------

    Description: 
In {{ColumnFamilyRecordReader}} {{computeNext()}} calls {{maybeInit()}} and then if {{rows}}
is not null it is indexed into.  {{maybeInit()}} could fetch new data, determine the associated
slice predicate is empty, and end up removing all the rows if all columns turned out to be
empty.  There is no check for {{rows.isEmpty()}} after the possible removal of all rows.



  was:
In {{ColumnFamilyRecordReder}} {{computeNext()}} calls {{maybeInit()}} and then if {{rows}}
is not null it is indexed into.  {{maybeInit()}} could fetch new data, determine the associated
slice predicate is empty, and end up removing all the rows if all columns turned out to be
empty.  There is no check for {{rows.isEmpty()}} after the possible removal of all rows.



    
> maybeInit in ColumnFamilyRecordReader can cause rows to be empty but not null
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3450
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.0.1
>            Reporter: Lanny Ripple
>            Priority: Minor
>
> In {{ColumnFamilyRecordReader}} {{computeNext()}} calls {{maybeInit()}} and then if {{rows}}
is not null it is indexed into.  {{maybeInit()}} could fetch new data, determine the associated
slice predicate is empty, and end up removing all the rows if all columns turned out to be
empty.  There is no check for {{rows.isEmpty()}} after the possible removal of all rows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message