Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 43066 invoked from network); 16 Apr 2007 19:49:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 19:49:37 -0000 Received: (qmail 62817 invoked by uid 500); 16 Apr 2007 19:49:42 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 62798 invoked by uid 500); 16 Apr 2007 19:49: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 62789 invoked by uid 99); 16 Apr 2007 19:49:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 12:49: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; Mon, 16 Apr 2007 12:49:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93387714075 for ; Mon, 16 Apr 2007 12:49:15 -0700 (PDT) Message-ID: <6109396.1176752955600.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 12:49:15 -0700 (PDT) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1261) Restart of the same data-node should not generate edits log records. In-Reply-To: <3528174.1176501675322.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-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489215 ] Raghu Angadi commented on HADOOP-1261: -------------------------------------- > Could you check whether we can also get rid of clusterMap.remove() and clusterMap.add() in case nodeN == nodeS. Then we also need to make sure that the node is on the same rack etc. I am not sure if the extra code is worth it. Node registration is not supposed to be very often. Simpler it is, the better. > Also I see dnReg is used only to set a correct ip address in nodeReg. There should be an easier way. hm. will check. Currently it just uses existing interface. > Restart of the same data-node should not generate edits log records. > -------------------------------------------------------------------- > > Key: HADOOP-1261 > URL: https://issues.apache.org/jira/browse/HADOOP-1261 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.12.0 > Reporter: Konstantin Shvachko > Assigned To: Raghu Angadi > Priority: Minor > Fix For: 0.13.0 > > Attachments: HADOOP-1261-1.patch > > > Currently during registration of a data-node with the storage id that has already been registered > the name-node logs 2 records: . > If the same node has been restarted these two records are redundant, lead to unnecessary > increase of the edits file and result in a slow-down of the name-node startup. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.