You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/05/12 03:19:00 UTC

[jira] [Commented] (HDDS-6734) ozone admin pipeline list CLI is not backward compatible

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

Uma Maheswara Rao G commented on HDDS-6734:
-------------------------------------------

{code}

if (Strings.isNullOrEmpty(replicationType)) {
throw new IOException(
"ReplicationType cannot be null if replication is passed");
}

{code}

Since client side defaults removed, type will not be available. Just to provide backward compatible, how about use RATIS it type is not passed. But here replication can be with ec format, that time if type is not passed, then it will try to intialize ratis type with ec replication and that will fail anyway. 

> ozone admin pipeline list CLI is not backward compatible
> --------------------------------------------------------
>
>                 Key: HDDS-6734
>                 URL: https://issues.apache.org/jira/browse/HDDS-6734
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI
>    Affects Versions: 1.3.0
>            Reporter: Nilotpal Nandi
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> The following command fails with current master, used to work in 1.2.0:
> {code}
> $ ozone admin pipeline list -fst OPEN -ffc THREE
> ReplicationType cannot be null if replication is passed
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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