[
https://issues.apache.org/jira/browse/CASSANDRA-21444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated CASSANDRA-21444:
----------------------------------------
Test and Documentation Plan: Run locally - ant gen-asciidoc
Status: Patch Available (was: In Progress)
https://pre-ci.cassandra.apache.org/job/cassandra/607/
> Speed up nodetool documentation generation by producing all command help in a
> single jvm
> ----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21444
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21444
> Project: Apache Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 7.x
>
>
> Generating the nodetool AsciiDoc documentation is slow as the
> gen-nodetool-docs script uses the nodetool command-line wrapper to capture
> help text for eac command. Each invocation starts a brand-new jvm, so
> building the documentation incurs the jvm startup cost over a hundred times
> (100+ node tool commands).
> This makes the documentation build unnecessarily slow and ties it to the
> shell wrapper and its environment setup. The solution: Generate the raw
> {{nodetool help}} text for every command in a single jvm.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]