cassandra/tools/stress
Maxim Muzafarov 94b251f3ce
Migrate all nodetool commands from airline to picocli
Replace io.airlift:airline dependency with info.picocli:picocli across
all nodetool command implementations. This migration includes:

- Convert 160+ nodetool command classes from airline to picocli
- Add AbstractCommand base class for commands and utility methods
- Add NodetoolCommand top-level class for the cli utility
- Update all command classes to use @Command, @Option, and @Parameters
- Add plain text files to test command help output
- Add mock test classes for improved test coverage and parse validation
- Modify test infrastructure to work with picocli-based commands
- Add new layouts for cli formatting to preserve backwards compatibility

The migration maintains backward compatibility while providing improved
command-line parsing, better help system, and more robust argument
validation through picocli enhanced features.

patch by Maxim Muzafarov; reviewed by Caleb Rackliffe, Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-17445
2025-07-26 18:19:18 +02:00
..
resources/org/apache/cassandra/stress/graph CASSANDRA-18785: Add support for Sonar analysis 2023-11-13 14:48:28 +01:00
src/org/apache/cassandra Migrate all nodetool commands from airline to picocli 2025-07-26 18:19:18 +02:00
test/unit/org/apache/cassandra/stress Make cassandra-stress able to read all credentials from a file 2023-05-26 18:44:37 +02:00
README.txt Remove legacy command line options from cassandra-stress 2023-08-09 23:16:36 +02:00

README.txt

cassandra-stress
======

Setup
-----
Run `ant` from the Cassandra source directory, then cassandra-stress can be invoked from tools/bin/cassandra-stress.

Usage & Examples
----------------

cassandra-stress write n=2 -mode user=cassandra password=cassandra

cassandra-stress read n=2 -mode user=cassandra password=cassandra


See: https://cassandra.apache.org/doc/latest/tools/cassandra_stress.html