Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.0
-
Ubuntu 22.04, Java 17
-
Reviewed
-
Patch
Description
2 tests are not idempotent and fails upon repeated execution within the same JVM instance due to self-induced state pollution. Specifically, these tests try to make the directory TEST_ROOT_DIR and write to it. The tests do not clean up (remove) the directory after execution. Therefore, in the second execution, TEST_ROOT_DIR would already exist and the exception `Could not create test dir` would be thrown. Below are the 2 non-idempotent tests:
- org.apache.hadoop.mapred.TestOldCombinerGrouping.testCombiner
- org.apache.hadoop.mapreduce.TestNewCombinerGrouping.testCombiner
Attachments
Issue Links
- links to