You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/05/19 09:56:00 UTC

[jira] [Created] (HDDS-5247) EC: Create ECReplicationConfig on client side based on input string

Marton Elek created HDDS-5247:
---------------------------------

             Summary: EC: Create ECReplicationConfig on client side based on input string
                 Key: HDDS-5247
                 URL: https://issues.apache.org/jira/browse/HDDS-5247
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Marton Elek
            Assignee: Marton Elek


HDDS-5073 improves the existing "ozone sh" client to support ReplicationConfig. The input string is parsed to ReplicationConfig by the constructors of the ReplicationConfig classes with string parameters.

After merging this improvement to the EC branch we need to implement the same constructor for ECReplicationConfig.

There are multiple options here:

 1. Create an enum with ALL the possible ECReplicationConfig
 2. Use meaningful programmatic validation rules.

During the EC sync we agreed that 2nd option can be more flexible as we may have very huge configuration matrix with all the EC parameters.
 



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

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