Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75F41C338 for ; Thu, 11 Jul 2013 06:09:55 +0000 (UTC) Received: (qmail 44830 invoked by uid 500); 11 Jul 2013 06:09:52 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 44785 invoked by uid 500); 11 Jul 2013 06:09:51 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 44748 invoked by uid 99); 11 Jul 2013 06:09:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 06:09:50 +0000 Date: Thu, 11 Jul 2013 06:09:50 +0000 (UTC) From: "nemon lou (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9655) IPC Client call to the same host with multi thread takes very long time to report connection time out for many times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705506#comment-13705506 ] nemon lou commented on HADOOP-9655: ----------------------------------- This patch has been tested on my cluster and has solved the problem. > IPC Client call to the same host with multi thread takes very long time to report connection time out for many times > --------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-9655 > URL: https://issues.apache.org/jira/browse/HADOOP-9655 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 2.0.4-alpha > Reporter: nemon lou > Attachments: HADOOP-9655.patch > > > When one machine power off during running a job ,MRAppMaster find tasks timed out on that host and then call stop container for each container concurrently. > But the IPC layer did it serially, for each call,the connection time out exception toke a few minutes to raise after 45 times reties. And AM hang for many hours to wait for stopContainer to finish. > The jstack output file shows that most threads stuck at Connection.addCall waiting for a lock object hold by Connection.setupIOstreams. > (The setupIOstreams method run slowlly becauseof connection time out during setupconnection.) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira