Issue Details (XML | Word | Printable)

Key: HADOOP-4902
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Alex Loddengaard
Reporter: Tom White
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Support for a per-class cluster in ClusterMapReduceTestCase

Created: 17/Dec/08 01:18 PM   Updated: 28/May/09 08:25 AM
Return to search
Component/s: test
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Dependants
 


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tom White added a comment - 17/Dec/08 01:22 PM
We can use JUnit 4's @BeforeClass and @AfterClass annotations to implement this.