[ 
https://issues.apache.org/jira/browse/HDDS-11996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Chuan Yu reassigned HDDS-11996:
------------------------------------

    Assignee: Chia-Chuan Yu

> Unify output of 'admin roles' command with '--table' option for both OM and 
> SCM
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-11996
>                 URL: https://issues.apache.org/jira/browse/HDDS-11996
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Nandakumar
>            Assignee: Chia-Chuan Yu
>            Priority: Major
>
> Currently the output of {{ozone admin om roles --table}} and {{ozone admin 
> scm roles --table}} are not similar. We can unify this.
> Current behaviour
> {code}
> sh-5.1$ ozone admin scm roles --tablee
> +-----------------------------------------------------------------------------------------+
> |                             Storage Container Manager Roles                 
>             |
> +-----------+------------+----------+--------------------------------------+--------------+
> | Host Name | Ratis Port |   Role   |               Node ID                | 
> Host Address |
> +-----------+------------+----------+--------------------------------------+--------------+
> | scm2.org  |    9894    | FOLLOWER | 10375aca-cf5a-4162-a9cc-d8364552941b | 
> 172.25.0.117 |
> | scm1.org  |    9894    |  LEADER  | 95911154-1fe8-4d64-a279-55761eafca61 | 
> 172.25.0.116 |
> | scm3.org  |    9894    | FOLLOWER | f7bd2cb9-fac2-453a-81c5-75df2c866bed | 
> 172.25.0.118 |
> +-----------+------------+----------+--------------------------------------+--------------+
> {code}
> {code}
> sh-5.1$ ozone admin om roles --table
> +--------------------------------+
> |      Ozone Manager Roles       |
> +-----------+---------+----------+
> | Host Name | Node ID |   Role   |
> +-----------+---------+----------+
> |    om1    |   om1   | FOLLOWER |
> |    om2    |   om2   | FOLLOWER |
> |    om3    |   om3   |  LEADER  |
> +-----------+---------+----------+
> {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]

Reply via email to