MAPREDUCE-6191. Improve clearing stale state of Java serialization

testcase.  (Sam Liu via Eric Yang)
(cherry picked from commit c379e102dd)

Conflicts:

	hadoop-mapreduce-project/CHANGES.txt
(cherry picked from commit 303c650d0d)
This commit is contained in:
Jason Lowe 2016-02-10 16:48:06 +00:00
parent 948dd27960
commit 9d574368b5
2 changed files with 10 additions and 1 deletions

View File

@ -43,6 +43,9 @@ Release 2.7.3 - UNRELEASED
MAPREDUCE-6413. TestLocalJobSubmission is failing with unknown host MAPREDUCE-6413. TestLocalJobSubmission is failing with unknown host
(zhihai xu via jlowe) (zhihai xu via jlowe)
MAPREDUCE-6191. Improve clearing stale state of Java serialization
testcase. (Sam Liu via Eric Yang)
Release 2.7.2 - 2016-01-25 Release 2.7.2 - 2016-01-25
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES
@ -327,6 +330,12 @@ Release 2.6.5 - UNRELEASED
BUG FIXES BUG FIXES
MAPREDUCE-6413. TestLocalJobSubmission is failing with unknown host
(zhihai xu via jlowe)
MAPREDUCE-6191. Improve clearing stale state of Java serialization
testcase. (Sam Liu via Eric Yang)
Release 2.6.4 - UNRELEASED Release 2.6.4 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -81,7 +81,7 @@ public class TestJavaSerialization extends TestCase {
} }
private void cleanAndCreateInput(FileSystem fs) throws IOException { private void cleanAndCreateInput(FileSystem fs) throws IOException {
fs.delete(INPUT_FILE, true); fs.delete(INPUT_DIR, true);
fs.delete(OUTPUT_DIR, true); fs.delete(OUTPUT_DIR, true);
OutputStream os = fs.create(INPUT_FILE); OutputStream os = fs.create(INPUT_FILE);