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

Stefan Miklosovic commented on CASSANDRA-18529:
-----------------------------------------------

Call me crazy but I find the current way how username and password is specified 
better. Because these parameters belong to a family of parameters around CQL3. 
Then you have password and user name around JMX (which is going to be 
introduced as well). They you have password for SSL certificates in 
"transport". If we started to "extract" these flags just to "have it like node 
tool" we are starting to introduce irregularities which might complicate things 
even more. 

If native cql is _the way_ and there is not a lot of value in having 
"simplenative" (needs to be verified what this is actually for, I do not have a 
clue), is not it true that whole "-mode" is redundant as well? I would then 
rename "-mode" to "-cql" and leave "native", "simplenative", "cql3"  out.

That being said, I am afraid that people who are used to just use it like this 
would need to execute things differently. There is a lot of legacy and content 
on the web with these parameters already but it would not be compatible 
anymore. I do not have a problem to rework it, it is more about if we want to.

> Remove legacy thrift options from cassandra-stress
> --------------------------------------------------
>
>                 Key: CASSANDRA-18529
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18529
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/stress
>            Reporter: Brad Schoening
>            Assignee: Stefan Miklosovic
>            Priority: Low
>             Fix For: 5.x
>
>
> The cassandra-stress *mode* option allows specifying options for native 
> protocol and cql3, but these don't seem useful as there would seem to be no 
> other valid options now that cql3 is the standard and thrift no longer 
> supported. 
> -mode "native cql3 user=cassandra password=xxxxxx" 
> Perhaps change the arguments for user and password to match those used with 
> cqlsh would align the tools.
> I.e., 
> cassandra-stress -u cassandra -p xxxxx
> Also, the readme.txt in tools/stress states "cassandra-stress supports 
> benchmarking any Cassandra cluster of version 2.0+" but maybe should be 
> updated to a supported Cassandra version, i.e., 3.11.x.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to