cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anuja Mandlecha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8493) nodetool options parsing doesn't allow "-h <hostname" to be at the end anymore
Date Fri, 16 Jan 2015 11:04:35 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280119#comment-14280119
] 

Anuja Mandlecha commented on CASSANDRA-8493:
--------------------------------------------

I fired simple $ ./nodetool command using cassandra 2.1.2 and it gave me following console
output:

user@ubuntu-vm:~/apache-cassandra-2.1.2/bin$ ./nodetool
usage: nodetool [(-u <username> | --username <username>)]
        [(-pw <password> | --password <password>)] [(-h <host> | --host
<host>)]
        [(-p <port> | --port <port>)]
        [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)] <command>
        [<args>]

The most commonly used nodetool commands are:

So according to the usage, the command (ring in your example) should always come at the end
as:
$ ./nodetool -h 127.0.0.1 ring 

> nodetool options parsing doesn't allow "-h <hostname" to be at the end anymore
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8493
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8493
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Jeremiah Jordan
>            Priority: Minor
>
> This used to work:
> {noformat}
> $ ./nodetool ring -h 127.0.0.1
> Error: The keyspace 127.0.0.1, does not exist
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message