[ 
https://issues.apache.org/jira/browse/CASSANDRA-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Evans updated CASSANDRA-1059:
----------------------------------

    Attachment: 0001-input-errors-causes-cli-to-exit-w-AssertionErrors.txt

The attached patch replaces the assert for {{get}}, {{set}}, {{del}}, and 
{{count}} with a return so that fat fingering a command isn't fatal.

> Exception when run "get Keyspace1.Standard1" command in the CLI
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-1059
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1059
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux
>            Reporter: ESSOUSSI Jamel
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.6.2
>
>         Attachments: 
> 0001-input-errors-causes-cli-to-exit-w-AssertionErrors.txt
>
>
> Connected to: "Test Cluster" on 10.0.3.44/9160
> cassandra> get Keyspace1.Standard1
> line 0:-1 mismatched input '<EOF>' expecting '['
> Exception in thread "main" java.lang.AssertionError
>         at org.apache.cassandra.cli.CliClient.executeGet(CliClient.java:331)
>         at 
> org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:74)
>         at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:213)
>         at org.apache.cassandra.cli.CliMain.main(CliMain.java:270)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to