浏览代码

HADOOP-5320. Add a close() in TestMapReduceLocal. (Jothi Padmanabhan via szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@756677 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 16 年之前
父节点
当前提交
610889d36e
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 1 0
      src/test/org/apache/hadoop/mapreduce/TestMapReduceLocal.java

+ 3 - 0
CHANGES.txt

@@ -779,6 +779,9 @@ Release 0.20.0 - Unreleased
     HADOOP-5417. Don't ignore InterruptedExceptions that happen when calling 
     HADOOP-5417. Don't ignore InterruptedExceptions that happen when calling 
     into rpc. (omalley)
     into rpc. (omalley)
 
 
+    HADOOP-5320. Add a close() in TestMapReduceLocal.  (Jothi Padmanabhan
+    via szetszwo)
+
 Release 0.19.2 - Unreleased
 Release 0.19.2 - Unreleased
 
 
   BUG FIXES
   BUG FIXES

+ 1 - 0
src/test/org/apache/hadoop/mapreduce/TestMapReduceLocal.java

@@ -77,6 +77,7 @@ public class TestMapReduceLocal extends TestCase {
      result.append('\n');
      result.append('\n');
      line = b.readLine();
      line = b.readLine();
     }
     }
+    b.close();
     return result.toString();
     return result.toString();
   }
   }