Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8066

CLI: Add short hand `-id` for `--om-service-id`

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smeng Siyao Meng
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: