[
https://issues.apache.org/jira/browse/HDFS-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644022#comment-13644022
]
Hudson commented on HDFS-4748:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1413 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1413/])
HDFS-4748. MiniJournalCluster#restartJournalNode leaks resources, which
causes sporadic test failures. Contributed by Chris Nauroth. (Revision 1476587)
Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1476587
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/MiniJournalCluster.java
> MiniJournalCluster#restartJournalNode leaks resources, which causes sporadic
> test failures
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-4748
> URL: https://issues.apache.org/jira/browse/HDFS-4748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: qjm, test
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Fix For: 2.0.5-beta
>
> Attachments: HDFS-4748.1.patch
>
>
> {{MiniJournalCluster#restartJournalNode}} stops a {{JournalNode}} and then
> recreates a new one with the same configuration. However, it does not
> maintain a reference to the new {{JournalNode}} instance, so therefore it
> doesn't get stopped inside {{MiniJournalCluster#shutdown}}. The
> {{JournalNode}} holds a file lock on its underlying storage, so this can
> cause sporadic failures in tests like {{TestQuorumJournalManager}}.
--
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