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

Bump DataNode OOM log from WARN to ERROR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.7.0
    • Component/s: datanode
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When the DataNode OOMs, it logs the following WARN message which should be bumped up to ERROR because DataNode OOM often leads to DN process abortion.

      WARN org.apache.hadoop.hdfs.server.datanode.DataNode: DataNode is out of memory. Will retry in 30 seconds. 
      4751 java.lang.OutOfMemoryError: unable to create new native thread"
      

      Thanks to Roland Teague for identifying this.

        Attachments

        1. HDFS-7283.1.patch
          1.0 kB
          Stephen Chu

          Activity

            People

            • Assignee:
              schu Stephen Chu
              Reporter:
              schu Stephen Chu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: