Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 9955 invoked from network); 17 Sep 2008 00:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 00:22:09 -0000 Received: (qmail 15598 invoked by uid 500); 17 Sep 2008 00:22:02 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 15547 invoked by uid 500); 17 Sep 2008 00:22:02 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 15491 invoked by uid 99); 17 Sep 2008 00:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 17:22:01 -0700 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; Wed, 17 Sep 2008 00:21:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6AF81234C1D8 for ; Tue, 16 Sep 2008 17:21:44 -0700 (PDT) Message-ID: <1045392948.1221610904437.JavaMail.jira@brutus> Date: Tue, 16 Sep 2008 17:21:44 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3623) LeaseManager needs refactoring. In-Reply-To: <977081009.1214262585227.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631608#action_12631608 ] Konstantin Shvachko commented on HADOOP-3623: --------------------------------------------- {{syncBlock()}} does not need {{namenode}} parameter. +1 The rest looks neat. > LeaseManager needs refactoring. > ------------------------------- > > Key: HADOOP-3623 > URL: https://issues.apache.org/jira/browse/HADOOP-3623 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.18.0 > Reporter: Konstantin Shvachko > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.19.0 > > Attachments: 3623_20080915.patch > > > LeaseManager is a name-node class, which contains (after HADOOP-3310) static members and methods serving data-node code. > I think we should keep the code related to different components of hdfs separatly, especially in view of the upcoming changes in hdfs packaging HADOOP-2884. > The separation may be achieved by introducing a new class DatanodeLeaseManager and then moving all related methods into the new class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.