You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Aaron T. Myers (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/20 05:17:34 UTC

[jira] [Resolved] (HDFS-2974) HA: MiniDFSCluster does not delete standby NN name dirs during format

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

Aaron T. Myers resolved HDFS-2974.
----------------------------------

       Resolution: Fixed
    Fix Version/s: HA branch (HDFS-1623)
     Hadoop Flags: Reviewed

Thanks a lot for the review, Todd. I've just committed this to the HA branch.
                
> HA: MiniDFSCluster does not delete standby NN name dirs during format
> ---------------------------------------------------------------------
>
>                 Key: HDFS-2974
>                 URL: https://issues.apache.org/jira/browse/HDFS-2974
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: HDFS-2974-HDFS-1623.patch
>
>
> When the MiniDFSCluster is formtting an HA cluster, it formats the first NN, and then copies the contents of that directory to the second NNs name dirs. However, the second NNs name dirs are not emptied first, and thus a previous test's state may interfere with the test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira