Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 97304 invoked from network); 8 Mar 2007 00:04:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 00:04:52 -0000 Received: (qmail 77310 invoked by uid 500); 8 Mar 2007 00:04:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 77274 invoked by uid 500); 8 Mar 2007 00:04:59 -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 77121 invoked by uid 99); 8 Mar 2007 00:04:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 16:04:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 07 Mar 2007 16:04:49 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DF74714077 for ; Wed, 7 Mar 2007 16:04:29 -0800 (PST) Message-ID: <29006005.1173312269380.JavaMail.root@brutus> Date: Wed, 7 Mar 2007 16:04:29 -0800 (PST) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1070) Number of racks and datanode double temporarily when upgrading from 0.10.1 to 0.11.2 In-Reply-To: <14826617.1173206484071.JavaMail.root@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-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478984 ] Raghu Angadi commented on HADOOP-1070: -------------------------------------- >When upgrading from Hadoop 0.10.1 to 0.11.2, I see the number of racks and datanode double after the 2nd startup of the Namenode. > After the 3rd startup, they correct themselves: This is between 0.11.2 and 0.12.x > Namenode Log After 1st Startup: > 2007-03-06 18:27:27,045 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 1 racks and 4 datanodes > Namenode Log After 2nd Startup: > 2007-03-06 18:27:43,201 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 2 racks and 8 datanodes Because namenode was restarted before check point in the prev run, both hostName and ip are added to n/w topology. When a datanode is removed in the image or edits log, we dont delete its entry from n/w topo, I am not sure why. Now only ip entries get updated with the new topo info. This explains extra nodes. Now new image is written to disk (equivalent to a checkpoint in the first start up). >Namenode Log After 3rd Startup: >2007-03-06 18:28:09,730 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 1 racks and 4 datanodes Because there at least one checkpoint, we dont see multiple entries. I am not entirely sure how LOG_DATANODE_REMOVE operation is handled. > Number of racks and datanode double temporarily when upgrading from 0.10.1 to 0.11.2 > ------------------------------------------------------------------------------------ > > Key: HADOOP-1070 > URL: https://issues.apache.org/jira/browse/HADOOP-1070 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.11.2 > Reporter: Nigel Daley > Assigned To: Raghu Angadi > Fix For: 0.13.0 > > > When upgrading from Hadoop 0.10.1 to 0.11.2, I see the number of racks and datanode double after the 2nd startup of the Namenode. After the 3rd startup, they correct themselves: > Namenode Log After 1st Startup: > 2007-03-06 18:27:27,045 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 1 racks and 4 datanodes > Namenode Log After 2nd Startup: > 2007-03-06 18:27:43,201 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 2 racks and 8 datanodes > Namenode Log After 3rd Startup: > 2007-03-06 18:28:09,730 INFO org.apache.hadoop.dfs.StateChange: STATE* Network topology has 1 racks and 4 datanodes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.