You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Goffinet (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 03:48:59 UTC

[jira] [Created] (CASSANDRA-3906) BulkRecordWriter throws NPE for counter columns

BulkRecordWriter throws NPE for counter columns
-----------------------------------------------

                 Key: CASSANDRA-3906
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3906
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Chris Goffinet
            Assignee: Chris Goffinet
             Fix For: 1.1.0


Using BulkRecordWriter, fails with counters due to an NPE (we used column instead of counter_column). I also noticed this broke for super columns too.

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

        

[jira] [Updated] (CASSANDRA-3906) BulkRecordWriter throws NPE for counter columns

Posted by "Chris Goffinet (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Goffinet updated CASSANDRA-3906:
--------------------------------------

    Attachment: 0001-Fixed-BulkRecordWriter-to-not-throw-an-NPE-for-count.patch
    
> BulkRecordWriter throws NPE for counter columns
> -----------------------------------------------
>
>                 Key: CASSANDRA-3906
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3906
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>             Fix For: 1.1.0
>
>         Attachments: 0001-Fixed-BulkRecordWriter-to-not-throw-an-NPE-for-count.patch
>
>
> Using BulkRecordWriter, fails with counters due to an NPE (we used column instead of counter_column). I also noticed this broke for super columns too.

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

        

[jira] [Updated] (CASSANDRA-3906) BulkRecordWriter throws NPE for counter columns

Posted by "Brandon Williams (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3906:
----------------------------------------

    Reviewer: brandon.williams
    
> BulkRecordWriter throws NPE for counter columns
> -----------------------------------------------
>
>                 Key: CASSANDRA-3906
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3906
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>             Fix For: 1.1.0
>
>         Attachments: 0001-Fixed-BulkRecordWriter-to-not-throw-an-NPE-for-count.patch
>
>
> Using BulkRecordWriter, fails with counters due to an NPE (we used column instead of counter_column). I also noticed this broke for super columns too.

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

        

[jira] [Updated] (CASSANDRA-3906) BulkRecordWriter throws NPE for counter columns

Posted by "Brandon Williams (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3906:
----------------------------------------

    Attachment: 3906-v2.txt

This patch doesn't look quite right, at the least the removal of the newSuperColumn call can't be right.  Attaching v2.
                
> BulkRecordWriter throws NPE for counter columns
> -----------------------------------------------
>
>                 Key: CASSANDRA-3906
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3906
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>             Fix For: 1.1.0
>
>         Attachments: 0001-Fixed-BulkRecordWriter-to-not-throw-an-NPE-for-count.patch, 3906-v2.txt
>
>
> Using BulkRecordWriter, fails with counters due to an NPE (we used column instead of counter_column). I also noticed this broke for super columns too.

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

        

[jira] [Commented] (CASSANDRA-3906) BulkRecordWriter throws NPE for counter columns

Posted by "Chris Goffinet (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207831#comment-13207831 ] 

Chris Goffinet commented on CASSANDRA-3906:
-------------------------------------------

Good call on seeing that missing writer.newSuperColumn line. Oops. Looks good.
                
> BulkRecordWriter throws NPE for counter columns
> -----------------------------------------------
>
>                 Key: CASSANDRA-3906
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3906
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>             Fix For: 1.1.0
>
>         Attachments: 0001-Fixed-BulkRecordWriter-to-not-throw-an-NPE-for-count.patch, 3906-v2.txt
>
>
> Using BulkRecordWriter, fails with counters due to an NPE (we used column instead of counter_column). I also noticed this broke for super columns too.

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