Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10375

Remove redundant TestMiniDFSCluster.testDualClusters

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Remove redundent TestMiniDFSCluster.testDualClusters to save time.

      Description

      Unit test TestMiniDFSCluster.testDualClusters is redundant because testClusterWithoutSystemProperties already proves cluster.getDataDirectory() == getProp(HDFS_MINIDFS_BASEDIR) + "/data". This unit test sets HDFS_MINIDFS_BASEDIR to 2 different values and brings up 2 clusters, of course they will have different data directory.

      Remove it to save the time to bring up 2 mini clusters.

        Attachments

        1. HDFS-10375.004.patch
          3 kB
          Jiayi Zhou
        2. HDFS-10375.003.patch
          2 kB
          Jiayi Zhou
        3. HDFS-10375.002.patch
          2 kB
          Jiayi Zhou

          Activity

            People

            • Assignee:
              clouderajiayi Jiayi Zhou
              Reporter:
              jzhuge John Zhuge
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: