[ 
https://issues.apache.org/jira/browse/CASSANDRA-17445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17921853#comment-17921853
 ] 

Maxim Muzafarov commented on CASSANDRA-17445:
---------------------------------------------

153 out of 167

https://github.com/Mmuzaf/cassandra/pull/9/files
https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch-5/135/#showFailuresLink

The {{org.apache.cassandra.tools.NodeTool}} has been *completely moved* under 
the picocli.

An example of how the help layout can be switched:
{code}
-- with the default layout
./bin/nodetool help scrub
./bin/nodetool help scrub -Dcassandra.cli.layout=cassandra

-- with the picocli layout
./bin/nodetool help scrub -Dcassandra.cli.layout=picocli
{code}

!nodetool_cassandra_help_layout.png|width=50%! 
!nodetool_picocli_help_layout.png|width=50%!

> 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: 2h 20m
>  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.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to