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 "Eli Collins (JIRA)" <ji...@apache.org> on 2012/08/27 02:47:07 UTC
[jira] [Resolved] (HDFS-3853) Port MiniDFSCluster
enableManagedDfsDirsRedundancy option to branch-2
[ https://issues.apache.org/jira/browse/HDFS-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins resolved HDFS-3853.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0-alpha
0.23.2
Target Version/s: (was: 2.2.0-alpha)
Hadoop Flags: Reviewed
I've committed this to branch-2 and branch-0.23. Thanks Colin.
> 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
> Fix For: 0.23.2, 2.2.0-alpha
>
> 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