Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 775B06DA8 for ; Fri, 10 Jun 2011 00:10:20 +0000 (UTC) Received: (qmail 86012 invoked by uid 500); 10 Jun 2011 00:10:20 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 85901 invoked by uid 500); 10 Jun 2011 00:10:20 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 85754 invoked by uid 99); 10 Jun 2011 00:10:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 00:10:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 00:10:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E457610BD6B for ; Fri, 10 Jun 2011 00:09:58 +0000 (UTC) Date: Fri, 10 Jun 2011 00:09:58 +0000 (UTC) From: "Bharath Mundlapudi (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <209544385.9193.1307664598931.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HDFS-2057) Wait time to terminate the threads causing unit tests to take longer time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Wait time to terminate the threads causing unit tests to take longer time ------------------------------------------------------------------------- Key: HDFS-2057 URL: https://issues.apache.org/jira/browse/HDFS-2057 Project: Hadoop HDFS Issue Type: Bug Components: data-node Affects Versions: 0.20.204.0, 0.20.205.0 Reporter: Bharath Mundlapudi Assignee: Bharath Mundlapudi Fix For: 0.20.205.0 As a part of datanode process hang, this part of code was introduced in 0.20.204 to clean up all the waiting threads. - try { - readPool.awaitTermination(10, TimeUnit.SECONDS); - } catch (InterruptedException e) { - LOG.info("Exception occured in doStop:" + e.getMessage()); - } - readPool.shutdownNow(); This was clearly meant for production, but all the unit tests uses minidfscluster and minimrcluster for shutdown which waits on this part of the code. Due to this, we saw increase in unit test run times. So removing this code. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira