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

ozone admin om prepare --service-id improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ozone CLI
    • None

    Description

      Currently, for ozone admin om prepare command, we need to specify the om service ID as its a mandatory parameter.

      ozone admin om prepare
      Missing required option: '--service-id=<omServiceId>'
      Usage: ozone admin om prepare [-hV] -id=<omServiceId>
      Prepares Ozone Manager for upgrade/downgrade, by applying all pending
      transactions, taking a Ratis snapshot at the last transaction and purging all
      logs on each OM instance. The returned transaction #ID corresponds to the last
      transaction in the quorum in which the snapshot is taken.
        -h, --help      Show this help message and exit.
            -id, --service-id=<omServiceId>
                        Ozone Manager Service ID
        -V, --version   Print version information and exit. 

      The aim is to pick the default om service ID when explicilty not specified. 

      Attachments

        Activity

          People

            pratyush.bhatt Pratyush Bhatt
            pratyush.bhatt Pratyush Bhatt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: