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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
    • Environment:

      DSE 1.0.5

      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

            • Assignee:
              dbrosius Dave Brosius
              Reporter:
              elubow Eric Lubow
              Reviewer:
              Pavel Yaskevich
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: