Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 324631760D for ; Fri, 13 Mar 2015 05:12:39 +0000 (UTC) Received: (qmail 43593 invoked by uid 500); 13 Mar 2015 05:12:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 43526 invoked by uid 500); 13 Mar 2015 05:12:38 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 43513 invoked by uid 99); 13 Mar 2015 05:12:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2015 05:12:38 +0000 Date: Fri, 13 Mar 2015 05:12:38 +0000 (UTC) From: "Tsuyoshi Ozawa (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6265) make INITIAL_POOL_SIZE in ContainerLauncherImpl configurable to better control the thread pool size to launch/kill containers. 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/MAPREDUCE-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359952#comment-14359952 ] Tsuyoshi Ozawa commented on MAPREDUCE-6265: ------------------------------------------- Sure, I'll check it. > make INITIAL_POOL_SIZE in ContainerLauncherImpl configurable to better control the thread pool size to launch/kill containers. > ------------------------------------------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-6265 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6265 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: mrv2 > Reporter: zhihai xu > Assignee: zhihai xu > Attachments: MAPREDUCE-6265.000.patch > > > make INITIAL_POOL_SIZE in ContainerLauncherImpl configurable to better control the thread pool size to launch/kill containers > Currently INITIAL_POOL_SIZE in ContainerLauncherImpl is hard-coded at > {code} > protected static final int INITIAL_POOL_SIZE = 10; > {code} > We should make it configurable because the thread pool size will be decided by INITIAL_POOL_SIZE, limitOnPoolSize and number of node used by the AM. > Since we already made limitOnPoolSize configurable, it make senses to also make INITIAL_POOL_SIZE configurable to better manage the thread pool size. > We saw some issue due to the small thread pool size when some node is down. The recovery from a shutdown node take very long time due to all the ContainerLauncher threads are blocked by IPC client connection to the shutdown node. -- This message was sent by Atlassian JIRA (v6.3.4#6332)