[
https://issues.apache.org/jira/browse/HDFS-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-3853:
------------------------------
Description:
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.
was:
enabledManagedDfsDirsRedunancy should be implemented in branch-2 like it is in
trunk. 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.
Summary: Port MiniDFSCluster enableManagedDfsDirsRedundancy option to
branch-2 (was: port enableManagedDfsDirsRedundancy to branch-2)
> 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