This is an automated email from the ASF dual-hosted git repository.
sammichen 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 8244a6f762 HDDS-10625. Remove unused netty-related config options from
SCM (#6528)
8244a6f762 is described below
commit 8244a6f762dd0c678cb48af29c066697679becf1
Author: Maksim Myskov <[email protected]>
AuthorDate: Mon Apr 15 11:35:27 2024 +0300
HDDS-10625. Remove unused netty-related config options from SCM (#6528)
---
.../org/apache/hadoop/hdds/scm/ScmConfigKeys.java | 10 --------
.../common/src/main/resources/ozone-default.xml | 28 ----------------------
2 files changed, 38 deletions(-)
diff --git
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
index d8fdbc1063..caf0127d21 100644
---
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
+++
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
@@ -224,16 +224,6 @@ public final class ScmConfigKeys {
public static final String HDDS_DATANODE_DIR_DU_RESERVED_PERCENT =
"hdds.datanode.dir.du.reserved.percent";
public static final float HDDS_DATANODE_DIR_DU_RESERVED_PERCENT_DEFAULT = 0;
- public static final String HDDS_REST_CSRF_ENABLED_KEY =
- "hdds.rest.rest-csrf.enabled";
- public static final boolean HDDS_REST_CSRF_ENABLED_DEFAULT = false;
- public static final String HDDS_REST_NETTY_HIGH_WATERMARK =
- "hdds.rest.netty.high.watermark";
- public static final int HDDS_REST_NETTY_HIGH_WATERMARK_DEFAULT = 65536;
- public static final int HDDS_REST_NETTY_LOW_WATERMARK_DEFAULT = 32768;
- public static final String HDDS_REST_NETTY_LOW_WATERMARK =
- "hdds.rest.netty.low.watermark";
-
public static final String OZONE_SCM_HANDLER_COUNT_KEY =
"ozone.scm.handler.count.key";
public static final String OZONE_SCM_CLIENT_HANDLER_COUNT_KEY =
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml
b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index 5a4b9a22c8..876eb2ff2d 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -1484,40 +1484,12 @@
to the OM.
</description>
</property>
-
- <property>
- <name>hdds.rest.rest-csrf.enabled</name>
- <value>false</value>
- <description>
- If true, then enables Object Store REST server protection against
- cross-site request forgery (CSRF).
- </description>
- </property>
-
<property>
<name>hdds.rest.http-address</name>
<value>0.0.0.0:9880</value>
<description>The http address of Object Store REST server inside the
datanode.</description>
</property>
-
-
- <property>
- <name>hdds.rest.netty.high.watermark</name>
- <value>65535</value>
- <description>
- High watermark configuration to Netty for Object Store REST server.
- </description>
- </property>
-
- <property>
- <name>hdds.rest.netty.low.watermark</name>
- <value>32768</value>
- <description>
- Low watermark configuration to Netty for Object Store REST server.
- </description>
- </property>
-
<property>
<name>hdds.datanode.plugins</name>
<value/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]