Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1613

The dfs webui (dfshealth) shows "Last Contact" as a negative number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • 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.

      Attachments

        1. lastContactTime.patch
          1 kB
          Dhruba Borthakur

        Activity

          People

            dhruba Dhruba Borthakur
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: