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

Error Unknown column during deserialization missing keyspace and table name

    XMLWordPrintableJSON

Details

    Description

      The ERROR message generated in ColumnSubselection.java when a column name is not found only prints the column name, not the keyspace and table.  It can be difficult to track down the source when more than one table uses the same name.  E.g., 'id'.

      if (column == null)
      {
              column = metadata.getDroppedColumn(name);
              if (column == null)
                      throw new UnknownColumnException("Unknown column " + UTF8Type.instance.getString(name) + " during deserialization");
      }

      Example:

      [ERROR] cluster_id=15 ip_address=192.168.65.10  java.lang.RuntimeException: Unknown column id during deserialization

      Proposed:

      [ERROR] cluster_id=15 ip_address=192.168.65.10  java.lang.RuntimeException: Unknown column id in table cycling.route during deserialization

      Attachments

        Activity

          People

            manish.c.ghildiyal@gmail.com Manish Ghildiyal
            bschoeni Brad Schoening
            Manish Ghildiyal
            Brandon Williams, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m