hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4748) MiniJournalCluster#restartJournalNode leaks resources, which causes sporadic test failures
Date Wed, 24 Apr 2013 23:45:14 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HDFS-4748:
--------------------------------

    Status: Patch Available  (was: Open)
    
> 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: 3.0.0
>
>         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