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

Bump DataNode OOM log from WARN to ERROR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.7.0
    • datanode
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: