Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10891 Über-jira: Test Improvement by adding missing test cases for existing code
  3. HDFS-10893

Refactor TestDFSShell by setting up MiniDFSCluser once for all commands test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • test
    • None
    • Reviewed

    Description

      It seems that setting up MiniDFSCluser once for all commands test will reduce the total time. To share a global cluster, the tests should use individual test directories to avoid conflict between test cases. Meanwhile, the MiniDFSCluster should not use the default root data directory; or else tests are not able to launch another cluster(s) by default.

      Attachments

        1. HDFS-10893.000.patch
          110 kB
          Mingliang Liu
        2. HDFS-10893.001.patch
          120 kB
          Mingliang Liu
        3. HDFS-10893.002.patch
          120 kB
          Mingliang Liu
        4. HDFS-10893-branch-2.000.patch
          113 kB
          Mingliang Liu
        5. HDFS-10893-branch-2.001.patch
          122 kB
          Mingliang Liu
        6. HDFS-10893-branch-2.002.patch
          122 kB
          Mingliang Liu
        7. HDFS-10893-branch-2.002.patch
          122 kB
          Mingliang Liu

        Activity

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: