You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Yiqun Lin (Jira)" <ji...@apache.org> on 2020/09/27 15:34:00 UTC

[jira] [Updated] (HDDS-4283) Remove unsupported upgrade command in ozone cli

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

Yiqun Lin updated HDDS-4283:
----------------------------
    Description: 
In HDDS-1383, we introduce a new upgrade command for supporting to in-place upgrade from HDFS to Ozone.
{noformat}
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
{noformat}
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.

  was:
In HDDS-1383, we introduce a new upgrade command for supporting to in-place upgrade from HDFS to Ozone.
{noformat}
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
{noformat}
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 cannot be quickly implemented in the short term.


> Remove unsupported upgrade command in ozone cli
> -----------------------------------------------
>
>                 Key: HDDS-4283
>                 URL: https://issues.apache.org/jira/browse/HDDS-4283
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>
> In HDDS-1383, we introduce a new upgrade command for supporting to in-place upgrade from HDFS to Ozone.
> {noformat}
> 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
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org