Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 05FEE49DE for ; Fri, 13 May 2011 22:59:30 +0000 (UTC) Received: (qmail 31291 invoked by uid 500); 13 May 2011 22:59:29 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 31240 invoked by uid 500); 13 May 2011 22:59:29 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 31232 invoked by uid 99); 13 May 2011 22:59:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 22:59:29 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,FS_REPLICA,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, 13 May 2011 22:59:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 95E9589497 for ; Fri, 13 May 2011 22:58:47 +0000 (UTC) Date: Fri, 13 May 2011 22:58:47 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1851618039.11890.1305327527610.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-1332) When unable to place replicas, BlockPlacementPolicy should log reasons nodes were excluded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1332?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13033= 372#comment-13033372 ]=20 Todd Lipcon commented on HDFS-1332: ----------------------------------- bq. So what=E2=80=99s the catch? You will be keeping one string builder aro= und for each new thread that ever enters processRecord(). This could potent= ially end up as lots of string builders ... In this case, there is a bounded set of IPC handler threads in the NameNode= . So, each of those will keep around a stringbuilder, which might have a 1K= B buffer. So, total memory usage might be a few hundred KB. > When unable to place replicas, BlockPlacementPolicy should log reasons no= des were excluded > -------------------------------------------------------------------------= ----------------- > > Key: HDFS-1332 > URL: https://issues.apache.org/jira/browse/HDFS-1332 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: Todd Lipcon > Assignee: Ted Yu > Priority: Minor > Labels: newbie > Fix For: 0.23.0 > > Attachments: HDFS-1332.patch > > > Whenever the block placement policy determines that a node is not a "good= target" it could add the reason for exclusion to a list, and then when we = log "Not able to place enough replicas" we could say why each node was refu= sed. This would help new users who are having issues on pseudo-distributed = (eg because their data dir is on /tmp and /tmp is full). Right now it's ver= y difficult to figure out the issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira