[
https://issues.apache.org/jira/browse/CASSANDRA-17445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507582#comment-17507582
]
Tibor Repasi commented on CASSANDRA-17445:
------------------------------------------
As a good starting point, both are licensed under Apache 2.0.
I am looking into it trying to prototype upgrades to both. At first sight,
picocli seems to be more modern and provide more features, while airline 2 is a
direct fork of airlift/airline, the upgrade, however, isn't that
straightforward as the name suggests. Also, we should be open for other
alternatives.
But, there might be some considerations here to be cleared at first:
* We could choose a replacement by looking at the implementation effort only.
That would ideally be just a drop-in, nothing more.
* We could look at provided features and the need for them, e.g.
CASSANDRA-13947 is suggesting to add an examples section, extended help or even
a documentation generator; features which might leverage the usability, but
increase the effort needed to switch.
* From my point of view, the most important thing is to not change the default
behaviour of the tools as that might break operations processes built around.
We do have a couple of unit tests for these tools but I'm not sure about
coverage.
> Library airlift/airline has been deprecated
> -------------------------------------------
>
> Key: CASSANDRA-17445
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17445
> Project: Cassandra
> Issue Type: Task
> Components: Dependencies
> Reporter: Tibor Repasi
> Priority: Normal
> Fix For: 4.x
>
>
> 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.tools.JMXTool
> * org.apache.cassandra.tools.NodeTool
> * org.apache.cassandra.stress.Compaction
> * org.apache.cassandra.fqltool.FullQueryLogTool
> Tests using it:
> * org.apache.cassandra.simulator.SimulationRunner
> 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.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]