Skip to content

Commit aa5aab5

Browse files
committed
HDDS-1284. Adjust default values of pipline recovery for more resilient service restart. Contributed by Elek, Marton.
1 parent d60673c commit aa5aab5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public final class ScmConfigKeys {
260260
public static final String OZONE_SCM_STALENODE_INTERVAL =
261261
"ozone.scm.stale.node.interval";
262262
public static final String OZONE_SCM_STALENODE_INTERVAL_DEFAULT =
263-
"90s";
263+
"5m";
264264

265265
public static final String OZONE_SCM_HEARTBEAT_RPC_TIMEOUT =
266266
"ozone.scm.heartbeat.rpc-timeout";
@@ -331,7 +331,7 @@ public final class ScmConfigKeys {
331331
"ozone.scm.pipeline.destroy.timeout";
332332

333333
public static final String OZONE_SCM_PIPELINE_DESTROY_TIMEOUT_DEFAULT =
334-
"300s";
334+
"66s";
335335

336336
public static final String OZONE_SCM_PIPELINE_CREATION_INTERVAL =
337337
"ozone.scm.pipeline.creation.interval";

hadoop-hdds/common/src/main/resources/ozone-default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@
10251025
</property>
10261026
<property>
10271027
<name>ozone.scm.stale.node.interval</name>
1028-
<value>90s</value>
1028+
<value>5m</value>
10291029
<tag>OZONE, MANAGEMENT</tag>
10301030
<description>
10311031
The interval for stale node flagging. Please
@@ -1264,7 +1264,7 @@
12641264
</property>
12651265
<property>
12661266
<name>ozone.scm.pipeline.destroy.timeout</name>
1267-
<value>300s</value>
1267+
<value>66s</value>
12681268
<tag>OZONE, SCM, PIPELINE</tag>
12691269
<description>
12701270
Once a pipeline is closed, SCM should wait for the above configured time

0 commit comments

Comments
 (0)