Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 92091 invoked from network); 4 Feb 2011 04:53:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 04:53:55 -0000 Received: (qmail 3998 invoked by uid 500); 4 Feb 2011 04:53:54 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 3549 invoked by uid 500); 4 Feb 2011 04:53:50 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 3540 invoked by uid 99); 4 Feb 2011 04:53:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 04:53:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mohitsikri@huawei.com designates 119.145.14.64 as permitted sender) Received: from [119.145.14.64] (HELO szxga01-in.huawei.com) (119.145.14.64) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 04:53:40 +0000 Received: from huawei.com (szxga05-in [172.24.2.49]) by szxga05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LG2009W1TKUFO@szxga05-in.huawei.com> for common-dev@hadoop.apache.org; Fri, 04 Feb 2011 12:53:18 +0800 (CST) Received: from huawei.com ([172.24.2.119]) by szxga05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LG200N88TKT2A@szxga05-in.huawei.com> for common-dev@hadoop.apache.org; Fri, 04 Feb 2011 12:53:18 +0800 (CST) Received: from blrnshtipl5nc ([10.18.1.35]) by szxml06-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0LG2001PBTKS09@szxml06-in.huawei.com> for common-dev@hadoop.apache.org; Fri, 04 Feb 2011 12:53:17 +0800 (CST) Date: Fri, 04 Feb 2011 10:23:19 +0530 From: Mohit Subject: RE: Query on Hadoop-1849 with respect to latest working trunk. In-reply-to: <5BB95907E2BA499EB9B30F14A5D23420@china.huawei.com> To: common-dev@hadoop.apache.org Reply-to: mohitsikri@huawei.com Message-id: Organization: Htipl MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.4657 X-Mailer: Microsoft Office Outlook 11 Content-type: multipart/alternative; boundary="Boundary_(ID_QyDXfpfVqmi453XaDb4W6w)" Thread-index: AcvCqLZdXvPfxPkPQkOyTuyD2m5gNwBfc7cg X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_QyDXfpfVqmi453XaDb4W6w) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hello Authors, I suspect there is a problem in there, I configured a property ipc.server.listen.queue.size in core-site.xml to a negative value say -6. If this property has actually being considered while calculating queue size, the result would be a negative value, and hence the startup of NAMENODE should fail because Server.java tries to instantiate linked blocking queue with negative fixed capacity; but it actually passed. -Mohit **************************************************************************** *********** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! -----Original Message----- From: Mohit [mailto:mohitsikri@huawei.com] Sent: Wednesday, February 02, 2011 12:44 PM To: common-dev@hadoop.apache.org Subject: Query on Hadoop-1849 with respect to latest working trunk. Hello Authors, I have a query, just by seeing the code, didn't tested though, the code changes with respect to defect Hadoop-1849 against latest trunk[HADOOP-COMMON]. The defect was raised quite a long time back to make call queue size per IPC handler configurable from core-default.xml. The snippet in Server.java this.maxQueueSize = handlerCount * conf.getInt(CommonConfigurationKeys.IPC_SERVER_HANDLER_QUEUE_SIZE_KEY, CommonConfigurationKeys. IPC_SERVER_HANDLER_QUEUE_SIZE_DEFAULT); which calculates the queue size based on input configuration and if the property not found, 100 is treated as default. The property key in the java code explodes to ipc.server.handler.queue.size but in core-default.xml it is named as ipc.server.listen.queue.size. Kindly help me clear the confusion on this which is the correct property to be configured for queue size, or it is really an issue in latest trunk. Note :- I didn't found any deprecation entry for this particular property in method addDeprecatedKeys() in Configuration.java like I found for "fs.defaultFS" , "fs.df.interval" etc. -Mohit **************************************************************************** *********** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! --Boundary_(ID_QyDXfpfVqmi453XaDb4W6w)--