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

Cassandra-cli returns 'command not found' instead of syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.2
    • None
    • DSE 1.0.5

    • Low

    Description

      When creating a column family from the output of 'show schema' with an index, there is a trailing comma after "index_type: 0," The return from this is a 'command not found' This is misleading because the command is found, there is just a syntax error.

      'Command not found: `create column family $cfname ...`

      Attachments

        1. 3865_better_cli_ex_handling.txt
          1 kB
          Dave Brosius
        2. parse_doubles_better.txt
          0.4 kB
          Dave Brosius

        Activity

          People

            dbrosius David Brosius
            elubow Eric Lubow
            David Brosius
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: