Maxim Muzafarov created CASSANDRA-21444:
-------------------------------------------
Summary: 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
Reporter: Maxim Muzafarov
Assignee: Maxim Muzafarov
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]