This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new dd0821d6d7 HDDS-12144. Remove unsupported replication types from
config description (#7764)
dd0821d6d7 is described below
commit dd0821d6d709cda9bbb05a3c809cea06176557f1
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Jan 31 05:08:32 2025 +0100
HDDS-12144. Remove unsupported replication types from config description
(#7764)
---
.../main/java/org/apache/hadoop/hdds/client/ReplicationType.java | 1 +
hadoop-hdds/common/src/main/resources/ozone-default.xml | 7 +++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/client/ReplicationType.java
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/client/ReplicationType.java
index 64969eac42..88c89a288b 100644
---
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/client/ReplicationType.java
+++
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/client/ReplicationType.java
@@ -26,6 +26,7 @@
public enum ReplicationType {
RATIS,
STAND_ALONE,
+ @Deprecated
CHAINED,
EC;
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml
b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index dfd058f5d7..4693392a21 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -1369,9 +1369,8 @@
specified when writing the key. The default is used if replication
is not specified when creating key or no default replication set at
bucket. Supported values:
- For Standalone: 1
- For Ratis: 3
- For Erasure Coding(EC) supported format:
+ For RATIS: 1, 3
+ For EC (Erasure Coding) supported format:
{ECCodec}-{DataBlocks}-{ParityBlocks}-{ChunkSize}
ECCodec: Codec for encoding stripe. Supported values : XOR, RS (Reed
Solomon)
DataBlocks: Number of data blocks in a stripe.
@@ -1389,7 +1388,7 @@
Default replication type to be used while writing key into ozone. The
value can be specified when writing the key, default is used when
nothing is specified when creating key or no default value set at bucket.
- Supported values: RATIS, STAND_ALONE, CHAINED and EC.
+ Supported values: RATIS, EC.
</description>
</property>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]