This is an automated email from the ASF dual-hosted git repository.
weichiu 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 5659b7e90e HDDS-11375. DN startup fails due to illegal configuration
of raft.grpc.message.size.max (#7128)
5659b7e90e is described below
commit 5659b7e90e7b5b291929fbd15fbde7989eb1a3c8
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Wed Aug 28 08:09:02 2024 -0700
HDDS-11375. DN startup fails due to illegal configuration of
raft.grpc.message.size.max (#7128)
---
.../hadoop/hdds/conf/DatanodeRatisGrpcConfig.java | 17 -----------------
.../integration-test/src/test/resources/ozone-site.xml | 2 +-
2 files changed, 1 insertion(+), 18 deletions(-)
diff --git
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/conf/DatanodeRatisGrpcConfig.java
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/conf/DatanodeRatisGrpcConfig.java
index 5b283c3a1a..fde555208b 100644
---
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/conf/DatanodeRatisGrpcConfig.java
+++
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/conf/DatanodeRatisGrpcConfig.java
@@ -31,23 +31,6 @@ import static
org.apache.hadoop.hdds.ratis.RatisHelper.HDDS_DATANODE_RATIS_PREFI
@ConfigGroup(prefix = HDDS_DATANODE_RATIS_PREFIX_KEY + "."
+ GrpcConfigKeys.PREFIX)
public class DatanodeRatisGrpcConfig {
- @Config(key = "message.size.max",
- defaultValue = "32MB",
- type = ConfigType.SIZE,
- tags = {OZONE, CLIENT, PERFORMANCE},
- description = "Maximum message size allowed to be received by Grpc " +
- "Channel (Server)."
- )
- private int maximumMessageSize = 32 * 1024 * 1024;
-
- public int getMaximumMessageSize() {
- return maximumMessageSize;
- }
-
- public void setMaximumMessageSize(int maximumMessageSize) {
- this.maximumMessageSize = maximumMessageSize;
- }
-
@Config(key = "flow.control.window",
defaultValue = "5MB",
type = ConfigType.SIZE,
diff --git a/hadoop-ozone/integration-test/src/test/resources/ozone-site.xml
b/hadoop-ozone/integration-test/src/test/resources/ozone-site.xml
index 779ed2b785..5ea2eb89df 100644
--- a/hadoop-ozone/integration-test/src/test/resources/ozone-site.xml
+++ b/hadoop-ozone/integration-test/src/test/resources/ozone-site.xml
@@ -84,7 +84,7 @@
<property>
<name>hdds.container.ratis.log.appender.queue.byte-limit
</name>
- <value>8MB</value>
+ <value>32MB</value>
</property>
<property>
<name>ozone.om.ratis.log.appender.queue.byte-limit</name>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]