Hadoop Common
  1. Hadoop Common
  2. HADOOP-4902

Support for a per-class cluster in ClusterMapReduceTestCase

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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
          Tom White added a comment -

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

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

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

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

            People

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

              Dates

              • Created:
                Updated:

                Development