[jira] [Commented] (CASSANDRA-15287) Inaccurate exception message with nodetool snapshot

2019-08-22 Thread Josh Turner (Jira)


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

Josh Turner commented on CASSANDRA-15287:
-

Confirmed the bug and see that it originated in Cassandra 2.2. The 15287.trunk 
patch applies cleanly to 2.2, 3.0, 3.11, and trunk. I've split the patch in two 
files as I'm not sure the proper version to modify for CHANGES.txt. 

> Inaccurate exception message with nodetool snapshot 
> 
>
> Key: CASSANDRA-15287
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15287
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Assignee: Josh Turner
>Priority: Normal
> Attachments: 15287.trunk, 15287.trunk.withchanges
>
>
> 1. Create a keyspace _cqlkeyspace_ (arbitrary name)
> 2. Create two tables (t1 and  t2)
> 3. Run _nodetool snapshot_ to create snapshot for multiple tables in same 
> command. Include the keyspace name as argument (which is not what the command 
> syntax allows)
> {code:java}
> nodetool snapshot --kt-list cqlkeyspace.t1,cqlkeyspace.t2 --tag multi-table   
> --cqlkeyspace
> {code}
> 4. Exception message is inaccurate in that it is referring to columnfamily 
> when it should be referring to keyspace.
> {code:java}
> java.io.IOException: When specifying the Keyspace columfamily list for a 
> snapshot, you should not specify columnfamily
> {code}
> Exception message should be:
> {code:java}
> java.io.IOException: When specifying the Keyspace columfamily list for a 
> snapshot, you should not specify keyspace
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-15287) Inaccurate exception message with nodetool snapshot

2019-08-19 Thread DeepakVohra (Jira)


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

DeepakVohra commented on CASSANDRA-15287:
-

Version - 4.0 build in trunk

> Inaccurate exception message with nodetool snapshot 
> 
>
> Key: CASSANDRA-15287
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15287
> Project: Cassandra
>  Issue Type: Bug
>  Components: Tool/nodetool
>Reporter: DeepakVohra
>Priority: Normal
>
> 1. Create a keyspace _cqlkeyspace_ (arbitrary name)
> 2. Create two tables (t1 and  t2)
> 3. Run _nodetool snapshot_ to create snapshot for multiple tables in same 
> command. Include the keyspace name as argument (which is not what the command 
> syntax allows)
> {code:java}
> nodetool snapshot --kt-list cqlkeyspace.t1,cqlkeyspace.t2 --tag multi-table   
> --cqlkeyspace
> {code}
> 4. Exception message is inaccurate in that it is referring to columnfamily 
> when it should be referring to keyspace.
> {code:java}
> java.io.IOException: When specifying the Keyspace columfamily list for a 
> snapshot, you should not specify columnfamily
> {code}
> Exception message should be:
> {code:java}
> java.io.IOException: When specifying the Keyspace columfamily list for a 
> snapshot, you should not specify keyspace
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org