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

Remove unsupported upgrade command in ozone cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      In HDDS-1383, we introduce a new upgrade command for supporting to in-place upgrade from HDFS to Ozone.

      upgrade       HDFS to Ozone in-place upgrade tool
      ....
      Usage: ozone upgrade [-hV] [--verbose] [-conf=<configurationPath>]
                           [-D=<String=String>]... [COMMAND]
      Convert raw HDFS data to Ozone data without data movement.
            --verbose   More verbose output. Show the stack trace of the errors.
            -conf=<configurationPath>
      
        -D, --set=<String=String>
      
        -h, --help      Show this help message and exit.
        -V, --version   Print version information and exit.
      Commands:
        plan     Plan existing HDFS block distribution and give.estimation.
        balance  Move the HDFS blocks for a better distribution usage.
        execute  Start/restart upgrade from HDFS to Ozone cluster.
      
      [hdfs@lyq ~]$ ~/ozone/bin/ozone upgrade plan
      [In-Place upgrade : plan] is not yet supported.
      [hdfs@lyq ~]$ ~/ozone/bin/ozone upgrade balance
      [In-Place upgrade : balance] is not yet supported.
      [hdfs@lyq ~]$ ~/ozone/bin/ozone upgrade execute
      In-Place upgrade : execute] is not yet supported
      

      But this feature has not been implemented yet and is a very big feature. 
      I don't think it's good to expose a cli command that is not supported and meanwhile that cannot be quickly implemented in the short term.

      Attachments

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: