[
https://issues.apache.org/jira/browse/CASSANDRA-18529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726002#comment-17726002
]
Stefan Miklosovic edited comment on CASSANDRA-18529 at 5/24/23 10:52 PM:
-------------------------------------------------------------------------
Is that really true? "cassandra-stress help -mode" gives this:
{code:java}
Usage: -mode native [unprepared] cql3 [compression=?] [port=?] [user=?]
[password=?] [auth-provider=?] [maxPending=?] [connectionsPerHost=?]
[protocolVersion=?]
OR
Usage: -mode simplenative [prepared] cql3 [port=?]
{code}
So there might be "-mode native cql3" and "-mode simplenative cql3".
That being said I am not sure what "simplenative" stands for, it seems like it
is poor "native" without buch of options.
EDIT:
Aha I see, finally :) So it might be just like "-mode native" and "-mode
simplenative" without "cql3" as that one is the constant now.
was (Author: smiklosovic):
Is that really true? "cassandra-stress help -mode" gives this:
{code}
Usage: -mode native [unprepared] cql3 [compression=?] [port=?] [user=?]
[password=?] [auth-provider=?] [maxPending=?] [connectionsPerHost=?]
[protocolVersion=?]
OR
Usage: -mode simplenative [prepared] cql3 [port=?]
{code}
So there might be "-mode native cql3" and "-mode simplenative cql3".
That being said I am not sure what "simplenative" stands for, it seems like it
is poor "native" without buch of options.
> 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"
> While user and password, mode native and cqlsh3 could be removed. 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]