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

InternalException on system_update_column_family if column_metadata is not assigned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.1
    • None
    • None
    • Low

    Description

      Steps to reproduce:

      Execute system_update_column_family without passing in column_metadata in CfDef object.

      Error:

      java.lang.NullPointerException
      at org.apache.cassandra.config.CFMetaData.convertToAvro(CFMetaData.java:827)
      at org.apache.cassandra.thrift.CassandraServer.system_update_column_family(CassandraServer.java:882)
      at org.apache.cassandra.thrift.Cassandra$Processor$system_update_column_family.process(Cassandra.java:4518)
      at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:3227)
      at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        Activity

          People

            lenn0x Chris Goffinet
            lenn0x Chris Goffinet
            Chris Goffinet
            Gary Dusbabek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: