MAPREDUCE-6191. Improve clearing stale state of Java serialization

testcase.  (Sam Liu via Eric Yang)
This commit is contained in:
Eric Yang 2014-12-15 19:39:41 -08:00
parent af006937e8
commit c379e102dd
2 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,9 @@ Trunk (Unreleased)
BUG FIXES BUG FIXES
MAPREDUCE-6191. Improve clearing stale state of Java serialization
testcase. (Sam Liu via Eric Yang)
MAPREDUCE-5714. Removed forceful JVM exit in shutDownJob. MAPREDUCE-5714. Removed forceful JVM exit in shutDownJob.
(Jinghui Wang via Eric Yang) (Jinghui Wang via Eric Yang)

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);