[
https://issues.apache.org/jira/browse/HDDS-7363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanvi Penumudy updated HDDS-7363:
---------------------------------
Description:
To make changes to the Ozone CLI for validating if each of the jars as listed
in the Ozone classpath files are present in the indicated location or not.
To introduce a {{--validate}} flag in the Ozone CLI:
{code:java}
The --validate flag validates if all jars as indicated in the corresponding
OZONE_RUN_ARTIFACT_NAME classpath file are present
Usage I: ozone --validate classpath <ARTIFACTNAME>
Usage II: ozone --validate [OPTIONS] --daemon start|status|stop
csi|datanode|om|recon|s3g|scm
OPTIONS is none or any of:
continue command execution shall continue even if validation fails
{code}
was:
To make changes to the Ozone CLI for validating if each of the jars as listed
in the Ozone classpath files are present in the indicated location or not.
To introduce the following CLI parameters:
{code:java}
Usage I: ozone classpath <ARTIFACTNAME> --validate
Usage II: ozone --daemon start|status|stop csi|datanode|om|recon|s3g|scm
--validate
Options:
-h, --help
This help text.
--validate
Validates if all jars as indicated in the corresponding
OZONE_RUN_ARTIFACT_NAME classpath file are present.
{code}
{code:java}
Usage: ozone --daemon start|status|stop csi|datanode|om|recon|s3g|scm
--validate --continue
Options:
-h, --help
This help text.
--continue
The command execution shall continue even if the validation fails.
{code}
> Changes to Ozone CLI to validate if the jars in classpath files are present
> on an install
> -----------------------------------------------------------------------------------------
>
> Key: HDDS-7363
> URL: https://issues.apache.org/jira/browse/HDDS-7363
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone CLI
> Reporter: Tanvi Penumudy
> Assignee: Tanvi Penumudy
> Priority: Major
> Labels: pull-request-available
>
> To make changes to the Ozone CLI for validating if each of the jars as listed
> in the Ozone classpath files are present in the indicated location or not.
> To introduce a {{--validate}} flag in the Ozone CLI:
> {code:java}
> The --validate flag validates if all jars as indicated in the corresponding
> OZONE_RUN_ARTIFACT_NAME classpath file are present
> Usage I: ozone --validate classpath <ARTIFACTNAME>
> Usage II: ozone --validate [OPTIONS] --daemon start|status|stop
> csi|datanode|om|recon|s3g|scm
> OPTIONS is none or any of:
> continue command execution shall continue even if validation fails
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]