You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mark Gui (Jira)" <ji...@apache.org> on 2022/02/10 03:03:00 UTC

[jira] [Updated] (HDDS-6294) EC: Make cluster-wide EC configuration take effect.

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

Mark Gui updated HDDS-6294:
---------------------------
    Summary: EC: Make cluster-wide EC configuration take effect.  (was: Make cluster-wide EC configuration take effect.)

> EC: Make cluster-wide EC configuration take effect.
> ---------------------------------------------------
>
>                 Key: HDDS-6294
>                 URL: https://issues.apache.org/jira/browse/HDDS-6294
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Mark Gui
>            Assignee: Kaijie Chen
>            Priority: Major
>
> By reading through the doc ErasureCoding.md, I found 2 configs for cluster-level EC:
> {code:java}
> <property>
>   <name>ozone.server.default.replication.type</name>
>   <value>EC</value>
> </property>
> <property>
>   <name>ozone.server.default.replication</name>
>   <value>RS-6-3-1024k</value>
> </property> {code}
> But by referring to the latest code of HDDS-3816-ec, the enums defined are never referenced
> {code:java}
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_KEY =
> "ozone.server.default.replication";
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_DEFAULT =
> ReplicationFactor.THREE.toString();
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_TYPE_KEY =
> "ozone.server.default.replication.type";
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_TYPE_DEFAULT =
> ReplicationType.RATIS.toString(); {code}
> IMO, the 2 configs should be checked in OzoneConfigUtil#resolveReplicationConfigPreference() as a fallback if no bucket-level policy is specified,
> orĀ  we could make the change in OzoneManager#getDefaultReplicationConfig() which now refer to "ozone.replication" and "ozone.replication.type".



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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