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:
Márton Elek 2018-11-15 14:04:55 +01:00
parent fb1e8bb0cc
commit 2718f7534d
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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>