Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The dfshealth.jsp displays the number of seconds that have elapse since the namenode got a heartbeat from a datanode. When the number of nodes in the cluster are huge, may of these values are seen to be negative numbers.
The FSNamesystem returns the timestamp when the namenode had last-heard from a datanode. The dfshealth.jsp gets the current system time and then subtracts the timestamp returned by the Namenode. This ordering of retrieving timestamps cause this problem.