[ 
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

Reply via email to