[
https://issues.apache.org/jira/browse/HDFS-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-4676:
----------------------------------
Attachment: HDFS-4676.patch
Here is a simple patch.
> TestHDFSFileSystemContract should set MiniDFSCluster variable to null to free
> up memory
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-4676
> URL: https://issues.apache.org/jira/browse/HDFS-4676
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Priority: Minor
> Attachments: HDFS-4676.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira