From 5e23b25e21ab38148127b342dd5f8ada9b8c6e65 Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Mon, 30 Mar 2020 13:56:00 -0700 Subject: [PATCH] HDDS-3291. Write operation when both OM followers are shutdown. (#733) --- .../common/src/main/resources/ozone-default.xml | 11 +++++++++++ .../hadoop/ozone/TestOzoneConfigurationFields.java | 1 + 2 files changed, 12 insertions(+) diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml b/hadoop-hdds/common/src/main/resources/ozone-default.xml index c60af479694..5972cf07bd0 100644 --- a/hadoop-hdds/common/src/main/resources/ozone-default.xml +++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml @@ -1685,6 +1685,17 @@ . + + ipc.client.rpc-timeout.ms + 900000 + + RpcClient timeout on waiting response from server. The default value is + set to 15 minutes. If ipc.client.ping is set to true and this rpc-timeout + is greater than the value of ipc.ping.interval, the effective value of + the rpc-timeout is rounded up to multiple of ipc.ping.interval. + + + ozone.om.ratis.snapshot.dir diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java index 49f7f8db14f..d7a8d20d52c 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java @@ -44,6 +44,7 @@ public void initializeMemberVariables() { errorIfMissingXmlProps = true; xmlPropsToSkipCompare.add("hadoop.tags.custom"); xmlPropsToSkipCompare.add("ozone.om.nodes.EXAMPLEOMSERVICEID"); + xmlPrefixToSkipCompare.add("ipc.client.rpc-timeout.ms"); addPropertiesNotInXml(); }