[
https://issues.apache.org/jira/browse/HDFS-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442231#comment-13442231
]
Eli Collins commented on HDFS-3853:
-----------------------------------
+1 looks good. Im running a full test run on branch-2 for sanity as part of
HDFS-3731.
> Port MiniDFSCluster enableManagedDfsDirsRedundancy option to branch-2
> ---------------------------------------------------------------------
>
> Key: HDFS-3853
> URL: https://issues.apache.org/jira/browse/HDFS-3853
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 2.2.0-alpha
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Priority: Minor
> Attachments: HDFS-3049-b2.002.patch
>
>
> MiniDFSCluster's enabledManagedDfsDirsRedunancy flag should be ported to
> branch-2. Certain tests rely on it to get full coverage-- for example,
> {{TestNameNodeRecovery}} and {{TestFSEditLogLoader}}.
> Just to give an example, if we're using redundant edit log directories, a
> test like this may succeed for the wrong reasons:
> 1. screw up edit log directory
> 2. run recovery
> 3. test that we can start NN
> With redundant edit log directories and edit log failover, step 1 is a no-op
> because we can just fail over to the other directory. So we're not really
> testing what we need to test. This was supposed to be ported over to
> branch-2 from trunk with the other stuff from HDFS-3049, but was not.
--
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