[
https://issues.apache.org/jira/browse/HDDS-9127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Soumitra Sulav updated HDDS-9127:
---------------------------------
Description:
This is an improvement Jira to add json argument to the cli.
{noformat}
# ozone admin om roles -id=ozone1 --json
Unknown option: '--json'
Usage: ozone admin om roles [-hV] -id=<omServiceId>
List all OMs and their respective Ratis server roles
-h, --help Show this help message and exit.
-id, --service-id=<omServiceId>
OM Service ID
-V, --version Print version information and exit.{noformat}
was:
Recently , there was a change in human readable output for the cli.
This is an improvement Jira to add json argument to the cli.
{noformat}
ozone admin scm roles --json
Unknown option: '--json'
Usage: ozone admin scm roles [-hV] [-id=<scmServiceId>] [--scm=<scm>]
List all SCMs and their respective Ratis server roles
-h, --help Show this help message and exit.
-id, --service-id=<scmServiceId>
ServiceId of SCM HA Cluster
--scm=<scm> The destination scm (host:port)
-V, --version Print version information and exit.{noformat}
> om roles CLI should provide JSON output option
> ----------------------------------------------
>
> Key: HDDS-9127
> URL: https://issues.apache.org/jira/browse/HDDS-9127
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Soumitra Sulav
> Assignee: Tejaskriya Madhan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> This is an improvement Jira to add json argument to the cli.
> {noformat}
> # ozone admin om roles -id=ozone1 --json
> Unknown option: '--json'
> Usage: ozone admin om roles [-hV] -id=<omServiceId>
> List all OMs and their respective Ratis server roles
> -h, --help Show this help message and exit.
> -id, --service-id=<omServiceId>
> OM Service ID
> -V, --version Print version information and exit.{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]