Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18E389D47 for ; Sat, 26 May 2012 20:59:24 +0000 (UTC) Received: (qmail 14369 invoked by uid 500); 26 May 2012 20:59:23 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 14348 invoked by uid 500); 26 May 2012 20:59:23 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 14328 invoked by uid 99); 26 May 2012 20:59:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 May 2012 20:59:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8817914283A for ; Sat, 26 May 2012 20:59:23 +0000 (UTC) Date: Sat, 26 May 2012 20:59:23 +0000 (UTC) From: "Pavel Yaskevich (JIRA)" To: commits@cassandra.apache.org Message-ID: <1598166170.6330.1338065963560.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1195563901.3130.1328556839355.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3865) Cassandra-cli returns 'command not found' instead of syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284063#comment-13284063 ] Pavel Yaskevich commented on CASSANDRA-3865: -------------------------------------------- I have fixed small bug and committed to 1.1 and up-merged into trunk. > Cassandra-cli returns 'command not found' instead of syntax error > ----------------------------------------------------------------- > > Key: CASSANDRA-3865 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3865 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: DSE 1.0.5 > Reporter: Eric Lubow > Assignee: Dave Brosius > Priority: Trivial > Labels: cassandra-cli > Fix For: 1.1.2 > > Attachments: 3865_better_cli_ex_handling.txt, parse_doubles_better.txt > > > 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 ...` -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira