Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 66645 invoked from network); 14 Dec 2009 08:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 08:46:41 -0000 Received: (qmail 79549 invoked by uid 500); 14 Dec 2009 08:46:41 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 79474 invoked by uid 500); 14 Dec 2009 08:46:41 -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 79367 invoked by uid 99); 14 Dec 2009 08:46:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 08:46:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 08:46:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 22200234C498 for ; Mon, 14 Dec 2009 00:46:18 -0800 (PST) Message-ID: <982616155.1260780378124.JavaMail.jira@brutus> Date: Mon, 14 Dec 2009 08:46:18 +0000 (UTC) From: "Zheng Shao (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6433) Add AsyncDiskService that is used in both hdfs and mapreduce In-Reply-To: <602543418.1260490458316.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790043#action_12790043 ] Zheng Shao commented on HADOOP-6433: ------------------------------------ AsyncDiskService is designed to work with multiple disk volumes, to make sure we have a maximum number of threads per volume. Both the use cases in HDFS and Mapreduce are like that. I don't think it will be used outside this area in the near future - for non-multi-volume disk operations, people will probably use a single thread pool instead of AsyncDiskService (which contains multiple thread pools) So I feel it's good to name it AsyncDiskService instead of AsyncService. > Add AsyncDiskService that is used in both hdfs and mapreduce > ------------------------------------------------------------ > > Key: HADOOP-6433 > URL: https://issues.apache.org/jira/browse/HADOOP-6433 > Project: Hadoop Common > Issue Type: New Feature > Reporter: Zheng Shao > Assignee: Zheng Shao > Attachments: HADOOP-6433.1.patch, HADOOP-6433.2.patch, HADOOP-6433.3.patch > > > Both MAPREDUCE-1213 and HDFS-611 are using a class called AsyncDiskService. > The idea is to create a thread pool per disk volume, and use that for scheduling async disk operations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.