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

Aaron T. Myers commented on HDFS-3928:
--------------------------------------

+1, the patch looks good to me.

I think it would be best long-term to move the ExitUtil checks out of 
MiniDFSCluster and into pre/post test case methods, which can probably be done 
via a JUnit RunListener, similarly to the patch that's posted to HADOOP-8755. 
That can certainly be done in a separate JIRA, though, and should maybe be done 
after HADOOP-8755 goes in.
                
> MiniDFSCluster should reset the first ExitException on shutdown
> ---------------------------------------------------------------
>
>                 Key: HDFS-3928
>                 URL: https://issues.apache.org/jira/browse/HDFS-3928
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hdfs-3928.txt
>
>
> MiniDFSCluster doesn't reset the first exception on shutdown so if one tests 
> fails due to an ExitException subsequent tests will as well.

--
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