Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5054

Remove redundent TestMiniDFSCluster.testDualClusters

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Trivial
    • Resolution: Invalid
    • 2.6.0
    • None
    • test

    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

        Activity

          People

            Unassigned Unassigned
            jzhuge John Zhuge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: