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

cassandra-cli describe table exception.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.4
    • Legacy/Tools
    • None
    • freebsd 7.2
      java version "1.6.0_07"
      cassandra trunk r798015
      Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
      Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

    • Low

    Description

      cassandra> show tables
      Table1
      Guestbook
      cassandra> describe table Table1
      Exception null
      java.lang.NumberFormatException: null
      at java.lang.Integer.parseInt(Integer.java:415)
      at java.lang.Integer.parseInt(Integer.java:497)
      at org.apache.cassandra.cli.CliClient.executeDescribeTable(CliClient.java:259)
      at org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:77)
      at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:121)
      at org.apache.cassandra.cli.CliMain.processLine(CliMain.java:153)
      at org.apache.cassandra.cli.CliMain.main(CliMain.java:187)
      cassandra>

      compare to CassandraServer.describe_table, columnMap key is mismatch.

      Attachments

        1. CASSANDRA-317.patch
          1 kB
          Gasol Wu

        Activity

          People

            gasolwu Gasol Wu
            gasolwu Gasol Wu
            Gasol Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: