Logging stale datanode information. Contributed by Karthik Palanisamy.
This commit is contained in:
parent
e8d7e3b4e6
commit
51950f149e
@ -379,6 +379,9 @@ void heartbeatCheck() {
|
||||
dead = d;
|
||||
}
|
||||
if (d.isStale(dm.getStaleInterval())) {
|
||||
LOG.warn(String.format("Stale datanode {}."
|
||||
+ " No heartbeat received since last {} milliseconds"),
|
||||
d.getName(), dm.getStaleInterval());
|
||||
numOfStaleNodes++;
|
||||
}
|
||||
DatanodeStorageInfo[] storageInfos = d.getStorageInfos();
|
||||
|
Loading…
Reference in New Issue
Block a user