[
https://issues.apache.org/jira/browse/CASSANDRA-18529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751213#comment-17751213
]
Timothy Tu commented on CASSANDRA-18529:
----------------------------------------
We simply removed "cql3" and "native" which are pretty obsolete. There was no
alternative to "cql3", specifying was redundant and confusing to users.
"native" was also +very+ confusing becuase it was simply using the Java driver
and to understand why it was there, you had to understand the internal
"simplenative" driver, which is rarely, if ever used by users. No change to
output formats.
Original:
cassandra-stress write n=2 -mode cql3 simplenative
cassandra-stress write n=2 -mode cql3 native user=cassandra password=cassandra
New:
cassandra-stress write n=2 -mode simplenative
cassandra-stress write n=2 -mode user=cassandra password=cassandra
What we can do for compatibility is catch the old arguments ("cql3", "native")
and show a warning message that they are obsolete and in the future will no
longer be suported.
We also removed "legacy" option which was undocumented and gave fair warning
that it was to be removed by its name "legacy" since version 2.1.
> Remove legacy command line 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: Timothy Tu
> Priority: Low
> Fix For: 5.x
>
> Attachments: signature.asc
>
>
> 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
> can be simplified to:
> -mode user=cassandra password=xxxxxx
> 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]