You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2025/04/17 20:36:00 UTC
[jira] [Commented] (CASSANDRA-17445) Library airlift/airline has been deprecated
[ https://issues.apache.org/jira/browse/CASSANDRA-17445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945506#comment-17945506 ]
Maxim Muzafarov commented on CASSANDRA-17445:
---------------------------------------------
Compare command execution engines (Airline vs. Picocli) to ensure we are not slowing down the execution path.
{code:bash}
17445
mmuzaf@MBP bin % hyperfine --warmup 3 "./nodetool status"
Benchmark 1: ./nodetool status
Time (mean ± σ): 5.661 s ± 0.015 s [User: 1.026 s, System: 0.084 s]
Range (min … max): 5.643 s … 5.694 s 10 runs
trunk
mmuzaf@MBP bin % hyperfine --warmup 3 "./nodetool status"
Benchmark 1: ./nodetool status
Time (mean ± σ): 5.620 s ± 0.038 s [User: 0.900 s, System: 0.082 s]
Range (min … max): 5.587 s … 5.695 s 10 runs
{code}
> Library airlift/airline has been deprecated
> -------------------------------------------
>
> Key: CASSANDRA-17445
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17445
> Project: Apache Cassandra
> Issue Type: Task
> Components: Dependencies
> Reporter: Tibor Repasi
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 5.x
>
> Attachments: nodetool_cassandra_help_layout.png, nodetool_picocli_help_layout.png
>
> Time Spent: 7h 10m
> Remaining Estimate: 0h
>
> The [airlift/airline|https://github.com/airlift/airline] library has been deprecated and is not maintained since [8 Jun 2021|https://github.com/airlift/airline/commit/ae3d7e103bdc140969bde944d4ba09345d663a61]. It is used in many tools and some tests of Cassandra which should be reviewed.
> Tools using that library:
> * org.apache.cassandra.fqltool.FullQueryLogTool
> * org.apache.cassandra.hints.HintsMaker
> * org.apache.cassandra.simulator.SimulationRunner
> * org.apache.cassandra.simulator.paxos.PaxosSimulationRunner
> * org.apache.cassandra.simulator.test.HarrySimulatorTest
> * org.apache.cassandra.stress.Compaction
> * org.apache.cassandra.tools.JMXTool
> * org.apache.cassandra.tools.NodeTool
> Alternatives (as suggested in the depreciation notice):
> * [Airline 2|https://rvesse.github.io/airline/]
> * [picocli|https://picocli.info/]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org