[ 
https://issues.apache.org/jira/browse/HDDS-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720251#comment-17720251
 ] 

Attila Doroszlai commented on HDDS-8066:
----------------------------------------

I think {{\-\-om-service-id}} isn't terribly hard to type.  Plain {{\-\-id}} is 
very vague and SCM also has service ID.  For commands that take {{o3://}} URLs 
HDDS-8482 added support for getting OM service ID from the URL.

> 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