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 1C44CD295 for ; Mon, 15 Oct 2012 18:16:04 +0000 (UTC) Received: (qmail 60540 invoked by uid 500); 15 Oct 2012 18:16:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 60516 invoked by uid 500); 15 Oct 2012 18:16:03 -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 60506 invoked by uid 99); 15 Oct 2012 18:16:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 18:16:03 +0000 Date: Mon, 15 Oct 2012 18:16:03 +0000 (UTC) From: "Vijay (JIRA)" To: commits@cassandra.apache.org Message-ID: <184450903.46597.1350324963913.JavaMail.jiratomcat@arcas> In-Reply-To: <439181600.46253.1350321843213.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4808) nodetool doesnt work well with -ve tokens 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-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-4808: ----------------------------- Attachment: 0001-CASSANDRA-4808.patch There are 2 option, Make nt to accept '-' by making "Options" ignore any -xxxx values (dont verify if they are valid options), this can cause confusion on other commands. Other option (Attached patch) is to support escape character for '-' Example: ./apache-cassandra-1.2.0-beta1-SNAPSHOT/bin/nodetool move \\-2253536297082652571 > nodetool doesnt work well with -ve tokens > ----------------------------------------- > > Key: CASSANDRA-4808 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4808 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Vijay > Assignee: Vijay > Priority: Minor > Fix For: 1.2.0 beta 1 > > Attachments: 0001-CASSANDRA-4808.patch > > > ./apache-cassandra-1.2.0-beta1-SNAPSHOT/bin/nodetool move \-2253536297082652573 > Unrecognized option: -2253536297082652573 > usage: java org.apache.cassandra.tools.NodeCmd --host > > -cf,--column-family only take a snapshot of the specified column > family -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira