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

Brad Schoening edited comment on CASSANDRA-18529 at 5/25/23 12:58 AM:
----------------------------------------------------------------------

Yes, I was suggesting cql3 has no value anymore as a parameter and that 
simplenative may be legacy as well, its benefits seem inscrutable. If native is 
the default (which it should be) then specifying native shouldn't be necessary. 
 

I've most often run cassandra-stress w/out authentication. When I found I had 
to use it with basic authentication I was perplexed that adding username and 
password required specifying -mode cql3 native also.  Why not just -u -p like 
cqlsh?


was (Author: bschoeni):
Yes, I was suggesting cql3 has no value anymore as a parameter and that 
simplenative may be legacy as well, its benefits seem inscrutable. If native is 
the default (which it should be) then specifying native shouldn't be necessary. 
 

I've most often run cassandra-stress w/out authentication. When I found I had 
to use it with basic authentication I was perplexed that adding username and 
password required specifying -mode cql3 native also.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to