HDDS-828. Fix deprecation log generated by getting value of the setting ozone.scm.heartbeat.rpc-timeout. Contributed by Yiqun Lin.
This commit is contained in:
parent
fb1e8bb0cc
commit
2718f7534d
|
@ -226,8 +226,8 @@ public final class ScmConfigKeys {
|
||||||
|
|
||||||
public static final String OZONE_SCM_HEARTBEAT_RPC_TIMEOUT =
|
public static final String OZONE_SCM_HEARTBEAT_RPC_TIMEOUT =
|
||||||
"ozone.scm.heartbeat.rpc-timeout";
|
"ozone.scm.heartbeat.rpc-timeout";
|
||||||
public static final long OZONE_SCM_HEARTBEAT_RPC_TIMEOUT_DEFAULT =
|
public static final String OZONE_SCM_HEARTBEAT_RPC_TIMEOUT_DEFAULT =
|
||||||
1000;
|
"1s";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines how frequently we will log the missing of heartbeat to a specific
|
* Defines how frequently we will log the missing of heartbeat to a specific
|
||||||
|
|
|
@ -837,10 +837,10 @@
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>ozone.scm.heartbeat.rpc-timeout</name>
|
<name>ozone.scm.heartbeat.rpc-timeout</name>
|
||||||
<value>1000</value>
|
<value>1s</value>
|
||||||
<tag>OZONE, MANAGEMENT</tag>
|
<tag>OZONE, MANAGEMENT</tag>
|
||||||
<description>
|
<description>
|
||||||
Timeout value for the RPC from Datanode to SCM in milliseconds.
|
Timeout value for the RPC from Datanode to SCM.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
|
|
Loading…
Reference in New Issue