Frens Jan Rumph created HDDS-12146:
--------------------------------------

             Summary: XOR erasure coding unsupported by default
                 Key: HDDS-12146
                 URL: https://issues.apache.org/jira/browse/HDDS-12146
             Project: Apache Ozone
          Issue Type: Bug
          Components: EC
    Affects Versions: 1.4.1
            Reporter: Frens Jan Rumph


Following [the 
documentation|https://ozone.apache.org/docs/1.4.1/feature/erasurecoding.html], 
I tried setting up erasure coding with {{{{}}{{XOR-2-1-1024k{}}}{}}}. However, 
I got the following error when attempting to create a bucket:

{{ozone sh bucket create /volume/bucket --type EC --replication XOR-2-1-1024k}}
{{Invalid replication config EC/2-1-1024k. Config must match the pattern 
defined by ozone.replication.allowed-configs 
(^((STANDALONE|RATIS)/(ONE|THREE))|(EC/(3-2|6-3|10-4)-(512|1024|2048|4096)k)$)}}

 

I had to change {{ozone.replication.allowed-configs}} for it to work:


{{(^((STANDALONE|RATIS)/(ONE|THREE))|(EC/(2-1|3-2|6-3|10-4)-(512|1024|2048|4096)k)$)}}
 

(note the added {{2-1}} after {{{}EC/{}}})

Is this by design or just a simple omission in the regex in 
{{{}org.apache.hadoop.hdds.client.ReplicationConfigValidator#validationPattern{}}}?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to