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 131DADA81 for ; Tue, 16 Oct 2012 00:57:05 +0000 (UTC) Received: (qmail 50200 invoked by uid 500); 16 Oct 2012 00:57:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 50157 invoked by uid 500); 16 Oct 2012 00:57:04 -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 50072 invoked by uid 99); 16 Oct 2012 00:57:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 00:57:04 +0000 Date: Tue, 16 Oct 2012 00:57:04 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1458566191.49014.1350349024758.JavaMail.jiratomcat@arcas> In-Reply-To: <960808619.46418.1350323763944.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-4052) FSNameSystem#invalidateWorkForOneNode and FSNameSystem#computeReplicationWorkForBlock in branch-1 should print debug information outside of the namesystem lock 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/HDFS-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas updated HDFS-4052: ---------------------------------- Status: Patch Available (was: Open) > FSNameSystem#invalidateWorkForOneNode and FSNameSystem#computeReplicationWorkForBlock in branch-1 should print debug information outside of the namesystem lock > --------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-4052 > URL: https://issues.apache.org/jira/browse/HDFS-4052 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 1.2.0, 3.0.0 > Reporter: Jing Zhao > Assignee: Jing Zhao > Priority: Minor > Attachments: HDFS-4052.b1.001.patch, HDFS-4052.trunk.001.patch > > > Currently in branch-1, both FSNameSystem#invalidateWorkForOneNode and FSNameSystem#computeReplicationWorkForBlock print debug information (which can be a long msg generated by traversing a list/array) without releasing the FSNameSystem lock. It would be better to move them outside of the namesystem lock. > This may also apply to FSNameSystem#invalidateWorkForOneNode in trunk. -- 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