Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3853

Port MiniDFSCluster enableManagedDfsDirsRedundancy option to branch-2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 0.23.2, 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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.

      1. HDFS-3049-b2.002.patch
        10 kB
        Colin Patrick McCabe

        Issue Links

          Activity

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development