This is an automated email from the ASF dual-hosted git repository. jjirsa pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new a145a48 Fixed exception message in nodetool snapshot when specifying kt-list and keyspace a145a48 is described below commit a145a485206f6a32b07979dfb1b983addf49dd10 Author: Josh Turner <turner.j...@gmail.com> AuthorDate: Thu Aug 22 08:24:38 2019 -0700 Fixed exception message in nodetool snapshot when specifying kt-list and keyspace Patch by Josh Turner; Reviewed by Jeff Jirsa for CASSANDRA-15287 --- CHANGES.txt | 1 + src/java/org/apache/cassandra/tools/nodetool/Snapshot.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 0ff429f..d6bb701 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.0 + * Inaccurate exception message with nodetool snapshot (CASSANDRA-15287) * Fix InternodeOutboundMetrics overloaded bytes/count mixup (CASSANDRA-15186) * Enhance & reenable RepairTest with compression=off and compression=on (CASSANDRA-15272) * Improve readability of Table metrics Virtual tables units (CASSANDRA-15194) diff --git a/src/java/org/apache/cassandra/tools/nodetool/Snapshot.java b/src/java/org/apache/cassandra/tools/nodetool/Snapshot.java index 8d01d3a..495ee9d 100644 --- a/src/java/org/apache/cassandra/tools/nodetool/Snapshot.java +++ b/src/java/org/apache/cassandra/tools/nodetool/Snapshot.java @@ -71,7 +71,7 @@ public class Snapshot extends NodeToolCmd else { throw new IOException( - "When specifying the Keyspace columfamily list for a snapshot, you should not specify columnfamily"); + "When specifying the Keyspace table list (using -kt,--kt-list,-kc,--kc.list), you must not also specify keyspaces to snapshot"); } if (!snapshotName.isEmpty()) sb.append(" with snapshot name [").append(snapshotName).append("]"); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org