You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/07/15 02:07:59 UTC

[jira] [Commented] (CASSANDRA-2740) nodetool decommission should throw an error when there are extra params

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

Hudson commented on CASSANDRA-2740:
-----------------------------------

Integrated in Cassandra-0.7 #528 (See [https://builds.apache.org/job/Cassandra-0.7/528/])
    Do not allow extra params to nodetool commands to prevent confusion.
Patch by Jon Hermes, reviewed by brandonwilliams for CASSANDRA-2740

brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1146923
Files : 
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/tools/NodeCmd.java


> nodetool decommission should throw an error when there are extra params
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-2740
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2740
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Jon Hermes
>            Priority: Trivial
>             Fix For: 0.7.8
>
>         Attachments: 2740.txt
>
>
> removetoken takes a token parameter, but decommission works against the node where the call is issued.  This allows confusion such as 'nodetool -h localhost decommission <ip or token>' actually decommissioning the local node, instead of whatever was passed to it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira