[
https://issues.apache.org/jira/browse/CASSANDRA-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nate McCall updated CASSANDRA-3038:
-----------------------------------
Attachment: 3038.txt
Change to just make a copy of the cmdArgs array without modifying position.
> nodetool snapshot does not handle keyspace arguments correctly
> --------------------------------------------------------------
>
> Key: CASSANDRA-3038
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3038
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.8.4
> Reporter: Nate McCall
> Assignee: Nate McCall
> Priority: Minor
> Attachments: 3038.txt
>
>
> Given the following invocation:
> ./bin/nodetool snapshot Keyspace1 -t keyspace1_snapshot -h localhost
> Snapshots are made for all keyspaces
> Given a multi-keyspace invocation:
> ./bin/nodetool snapshot Keyspace1 Keyspace2 Keyspac3 -t keyspace1_snapshot -h
> localhost
> Snapshots will be made for Keyspace2 and Keyspace3 but not Keyspace1.
> It appears there is just some antiquated command argument noodling in
> NodeCmd#handleSnapshots
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira