Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3755

NPE on invalid CQL DELETE command

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.0.9
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      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.

        Attachments

        1. unknown_cf.diff
          1 kB
          Dave Brosius
        2. unknown_cf_2.diff
          2 kB
          Dave Brosius

          Activity

            People

            • Assignee:
              dbrosius David Brosius
              Reporter:
              thepaul paul cannon
              Authors:
              David Brosius
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: