瀏覽代碼

Merging change 1134140 for HDFS-2057 from branch-0.20-security

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-204@1134144 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 14 年之前
父節點
當前提交
67c4a285c6
共有 2 個文件被更改,包括 3 次插入6 次删除
  1. 3 0
      CHANGES.txt
  2. 0 6
      src/core/org/apache/hadoop/ipc/Server.java

+ 3 - 0
CHANGES.txt

@@ -76,6 +76,9 @@ Release 0.20.204.0 - unreleased
 
     HDFS-1377. Quota bug for partial blocks allows quotas to be violated. (eli)
 
+    HDFS-2057. Wait time to terminate the threads causes unit tests to
+    take longer time. (Bharath Mundlapudi via suresh)
+
   IMPROVEMENTS
 
     MAPREDUCE-2415. Distribute the user task logs on to multiple disks.

+ 0 - 6
src/core/org/apache/hadoop/ipc/Server.java

@@ -568,12 +568,6 @@ public abstract class Server {
         }
       }
       readPool.shutdown();
-      try {
-          readPool.awaitTermination(10, TimeUnit.SECONDS);
-      } catch (InterruptedException e) {
-       LOG.info("Exception occured in doStop:" + e.getMessage());
-      }
-      readPool.shutdownNow();
     }
 
     // The method that will return the next reader to work with