HDFS-4656. DN heartbeat loop can be briefly tight. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1463357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
329fb1f433
commit
ef9e1ba763
|
@ -463,6 +463,8 @@ Release 2.0.5-beta - UNRELEASED
|
|||
HDFS-4655. DNA_FINALIZE is logged as being an unknown command by the DN
|
||||
when received from the standby NN. (atm)
|
||||
|
||||
HDFS-4656. DN heartbeat loop can be briefly tight. (atm)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -512,7 +512,7 @@ class BPServiceActor implements Runnable {
|
|||
//
|
||||
// Every so often, send heartbeat or block-report
|
||||
//
|
||||
if (startTime - lastHeartbeat > dnConf.heartBeatInterval) {
|
||||
if (startTime - lastHeartbeat >= dnConf.heartBeatInterval) {
|
||||
//
|
||||
// All heartbeat messages include following info:
|
||||
// -- Datanode name
|
||||
|
|
Loading…
Reference in New Issue