Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4902

Support for a per-class cluster in ClusterMapReduceTestCase

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None

      Description

      ClusterMapReduceTestCase currently creates a new mini cluster for each test case. For many tests this is unnecessary overhead as the test cases could run against the same cluster, one after another, without risking correctness. As a part of this issue we should change tests that subclass ClusterMapReduceTestCase to use a per-test cluster where appropriate.

        Issue Links

          Activity

          Hide
          aw Allen Wittenauer added a comment -

          Fairly certain this has been fixed, but I'll let one of y'all verify it.

          Show
          aw Allen Wittenauer added a comment - Fairly certain this has been fixed, but I'll let one of y'all verify it.
          Hide
          tomwhite Tom White added a comment -

          We can use JUnit 4's @BeforeClass and @AfterClass annotations to implement this.

          Show
          tomwhite Tom White added a comment - We can use JUnit 4's @BeforeClass and @AfterClass annotations to implement this.

            People

            • Assignee:
              alexlod Alex Loddengaard
              Reporter:
              tomwhite Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development