hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4748) MiniJournalCluster#restartJournalNode leaks resources, which causes sporadic test failures
Date Sun, 28 Apr 2013 10:50:22 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643973#comment-13643973
] 

Hudson commented on HDFS-4748:
------------------------------

Integrated in Hadoop-Yarn-trunk #197 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/197/])
    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

Mime
View raw message