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

TestHDFSFileSystemContract should set MiniDFSCluster variable to null to free up memory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-beta
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestHDFSFileSystemContract should reset the cluster member to null in order to make garbage collection quickly collect large chunk of memory associated with MiniDFSCluster. This avoids OutOfMemory errors.

      See https://issues.apache.org/jira/browse/HDFS-4434?focusedCommentId=13624246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13624246 and the next jenkins tests where the OOM was fixed.

        Attachments

        1. HDFS-4676.patch
          0.6 kB
          Suresh Srinivas

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              sureshms Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: