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/branches/branch-2@1463358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b05024a03a
commit
831d18a422
|
@ -118,6 +118,8 @@ Release 2.0.5-beta - UNRELEASED
|
||||||
HDFS-4655. DNA_FINALIZE is logged as being an unknown command by the DN
|
HDFS-4655. DNA_FINALIZE is logged as being an unknown command by the DN
|
||||||
when received from the standby NN. (atm)
|
when received from the standby NN. (atm)
|
||||||
|
|
||||||
|
HDFS-4656. DN heartbeat loop can be briefly tight. (atm)
|
||||||
|
|
||||||
Release 2.0.4-alpha - UNRELEASED
|
Release 2.0.4-alpha - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -512,7 +512,7 @@ class BPServiceActor implements Runnable {
|
||||||
//
|
//
|
||||||
// Every so often, send heartbeat or block-report
|
// Every so often, send heartbeat or block-report
|
||||||
//
|
//
|
||||||
if (startTime - lastHeartbeat > dnConf.heartBeatInterval) {
|
if (startTime - lastHeartbeat >= dnConf.heartBeatInterval) {
|
||||||
//
|
//
|
||||||
// All heartbeat messages include following info:
|
// All heartbeat messages include following info:
|
||||||
// -- Datanode name
|
// -- Datanode name
|
||||||
|
|
Loading…
Reference in New Issue