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

2011-06-10 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis updated CASSANDRA-2740:
--

Reviewer: brandon.williams

 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.7

 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


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

2011-06-09 Thread Jon Hermes (JIRA)

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

Jon Hermes updated CASSANDRA-2740:
--

Attachment: 2740.txt

All zero-arg commands now complain when there's extra args.

 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.7

 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