Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11906

Add log for NameNode#monitorHealth

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      We've seen cases where NN had long delays that we suspect were due to NameNode#monitorHealth was spending too much time on getNamesystem().checkAvailableResources();. However due to the lack of logging, it can be hard to verify. This JIRA tries to add some log to this function, that display the actual time spent.

      Thanks arpitagarwal for the offline discussion.

      Attachments

        1. HDFS-11906.002.patch
          1 kB
          Chen Liang
        2. HDFS-11906.001.patch
          0.9 kB
          Chen Liang

        Activity

          People

            vagarychen Chen Liang
            vagarychen Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: