cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3755) NPE on invalid CQL DELETE command
Date Fri, 20 Jan 2012 06:48:39 GMT

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

Dave Brosius updated CASSANDRA-3755:
------------------------------------

    Attachment: unknown_cf.diff

throw a IRE exception with understandable error message, rather than NPE.
                
> NPE on invalid CQL DELETE command
> ---------------------------------
>
>                 Key: CASSANDRA-3755
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3755
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8 beta 1
>            Reporter: paul cannon
>            Priority: Minor
>              Labels: cql
>         Attachments: unknown_cf.diff
>
>
> The CQL command {{delete from k where key='bar';}} causes Cassandra to hit a NullPointerException
when the "k" column family does not exist, and it subsequently closes the Thrift connection
instead of reporting an IRE or whatever. This is probably wrong.

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