Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 59747 invoked from network); 24 Apr 2007 22:55:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 22:55:36 -0000 Received: (qmail 57322 invoked by uid 500); 24 Apr 2007 22:55:43 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 57046 invoked by uid 500); 24 Apr 2007 22:55:42 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 57037 invoked by uid 99); 24 Apr 2007 22:55:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 15:55:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 15:55:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 641E6714058 for ; Tue, 24 Apr 2007 15:55:15 -0700 (PDT) Message-ID: <19933195.1177455315407.JavaMail.jira@brutus> Date: Tue, 24 Apr 2007 15:55:15 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1272) Extract InnerClasses from FSNamesystem into separate classes In-Reply-To: <4599173.1177016715284.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-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur updated HADOOP-1272: ------------------------------------- Attachment: innerclasses3.patch This incorporates most of Konstantin's comments. 1. I kept the wrapper method updateNeededReplications but removed removeNeededReplications and addNeededReplications. 2. Removed all import warnings. 3. I kept a seperate class for SafeModeInfo because I think this is the right way to go in the long run. It will help us in getting fine-grain locking easy to understand. 4. Separated out the servlet classes into its own file(s). > Extract InnerClasses from FSNamesystem into separate classes > ------------------------------------------------------------ > > Key: HADOOP-1272 > URL: https://issues.apache.org/jira/browse/HADOOP-1272 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assigned To: dhruba borthakur > Attachments: innerclasses3.patch > > > This will make the code cleaner. Also, it leads itself to a cleaner and easily understandable finer-grain locking model. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.