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

Siyao Meng updated HDDS-8066:
-----------------------------
    Description: 
We had previously added {{-o}} as a short hand for {{--om-service-id}} but is 
not widely used. It has only been added here:

https://github.com/apache/ozone/blob/ccf1b7c18f8a4cc46907505ba73c9b93f29ad6c9/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteKeyOps.java#L72

And we are already widely using {{-id}} as the short option for (OM) 
{{--service-id}} in admin commands:

https://github.com/apache/ozone/blob/b2fca4386ccd5075d0deeac04c7c438e5ccfee2e/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/GetServiceRolesSubcommand.java#L45

Proposal: Add {{-id}} as the short option in all {{--om-service-id}} 
occurrences.

  was:
We had previously added {{-o}} as a short hand for {{--om-service-id}} but is 
not widely used. It has only been added here:

https://github.com/apache/ozone/blob/ccf1b7c18f8a4cc46907505ba73c9b93f29ad6c9/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteKeyOps.java#L72

And we are already widely using `-id` as a short hand for (OM) `--service-id` 
in admin commands:

https://github.com/apache/ozone/blob/b2fca4386ccd5075d0deeac04c7c438e5ccfee2e/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/GetServiceRolesSubcommand.java#L45

Proposal: Add `-id` as a short option for all `--om-service-id` occurrences.


> CLI: Add short hand `-id` for `--om-service-id`
> -----------------------------------------------
>
>                 Key: HDDS-8066
>                 URL: https://issues.apache.org/jira/browse/HDDS-8066
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Siyao Meng
>            Priority: Major
>
> We had previously added {{-o}} as a short hand for {{--om-service-id}} but is 
> not widely used. It has only been added here:
> https://github.com/apache/ozone/blob/ccf1b7c18f8a4cc46907505ba73c9b93f29ad6c9/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteKeyOps.java#L72
> And we are already widely using {{-id}} as the short option for (OM) 
> {{--service-id}} in admin commands:
> https://github.com/apache/ozone/blob/b2fca4386ccd5075d0deeac04c7c438e5ccfee2e/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/GetServiceRolesSubcommand.java#L45
> Proposal: Add {{-id}} as the short option in all {{--om-service-id}} 
> occurrences.



--
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