Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-5247

EC: Create ECReplicationConfig on client side based on input string

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: