[ 
https://issues.apache.org/jira/browse/HADOOP-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478510
 ] 

Nigel Daley commented on HADOOP-1070:
-------------------------------------

More from the logs:

Namenode Log After 1st Startup:
-------------------------------
2007-03-06 18:27:23,217 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4193.bar.com:50010
2007-03-06 18:27:23,219 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4194.bar.com:50010
2007-03-06 18:27:23,219 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4191.bar.com:50010
2007-03-06 18:27:23,220 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4190.bar.com:50010
2007-03-06 18:27:23,345 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.enter: Safe mode is ON.
Safe mode will be turned off automatically.
2007-03-06 18:27:23,462 INFO org.mortbay.util.Credential: Checking Resource 
aliases
2007-03-06 18:27:23,527 INFO org.mortbay.http.HttpServer: Version Jetty/5.1.4
2007-03-06 18:27:24,375 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:27:24,442 INFO org.mortbay.util.Container: Started 
WebApplicationContext[/,/]
2007-03-06 18:27:24,442 INFO org.mortbay.util.Container: Started 
HttpContext[/logs,/logs]
2007-03-06 18:27:24,442 INFO org.mortbay.util.Container: Started 
HttpContext[/static,/static]
2007-03-06 18:27:24,448 INFO org.mortbay.http.SocketListener: Started 
SocketListener on 0.0.0.0:50070
2007-03-06 18:27:24,448 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:27:24,468 INFO org.apache.hadoop.ipc.Server: IPC Server listener 
on 8020: starting
2007-03-06 18:27:24,470 INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 
on 8020: starting
2007-03-06 18:27:24,470 INFO org.apache.hadoop.ipc.Server: IPC Server handler 1 
on 8020: starting
2007-03-06 18:27:24,470 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 
on 8020: starting
2007-03-06 18:27:24,471 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 
on 8020: starting
2007-03-06 18:27:24,471 INFO org.apache.hadoop.ipc.Server: IPC Server handler 4 
on 8020: starting
2007-03-06 18:27:24,471 INFO org.apache.hadoop.ipc.Server: IPC Server handler 5 
on 8020: starting
2007-03-06 18:27:24,471 INFO org.apache.hadoop.ipc.Server: IPC Server handler 6 
on 8020: starting
2007-03-06 18:27:24,472 INFO org.apache.hadoop.ipc.Server: IPC Server handler 7 
on 8020: starting
2007-03-06 18:27:24,472 INFO org.apache.hadoop.ipc.Server: IPC Server handler 8 
on 8020: starting
2007-03-06 18:27:24,472 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 
on 8020: starting
2007-03-06 18:27:25,567 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.125:50010 storage 
DS-998622396
2007-03-06 18:27:25,571 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/foo4193.bar.com:50010
2007-03-06 18:27:25,571 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.125:50010
2007-03-06 18:27:25,790 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.70:50010 storage 
DS1861818967
2007-03-06 18:27:25,793 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/foo4191.bar.com:50010
2007-03-06 18:27:25,794 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.70:50010
2007-03-06 18:27:25,830 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.124:50010 storage 
DS-251661422
2007-03-06 18:27:25,838 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/foo4194.bar.com:50010
2007-03-06 18:27:25,838 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.124:50010
2007-03-06 18:27:26,744 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.71:50010 storage 
DS-559823463
2007-03-06 18:27:26,747 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/foo4190.bar.com:50010
2007-03-06 18:27:26,747 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.71:50010
2007-03-06 18:27:27,045 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.leave: Safe mode is OFF.
        
Namenode Log After 2nd Startup:
-------------------------------
2007-03-06 18:27:39,587 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4194.bar.com:50010
2007-03-06 18:27:39,589 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4190.bar.com:50010
2007-03-06 18:27:39,590 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4193.bar.com:50010
2007-03-06 18:27:39,590 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/foo4191.bar.com:50010
2007-03-06 18:27:39,592 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.125:50010
2007-03-06 18:27:39,592 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.70:50010
2007-03-06 18:27:39,593 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.124:50010
2007-03-06 18:27:39,594 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.71:50010
2007-03-06 18:27:39,613 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.enter: Safe mode is ON.
Safe mode will be turned off automatically.
2007-03-06 18:27:39,726 INFO org.mortbay.util.Credential: Checking Resource 
aliases
2007-03-06 18:27:39,793 INFO org.mortbay.http.HttpServer: Version Jetty/5.1.4
2007-03-06 18:27:40,457 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:27:40,528 INFO org.mortbay.util.Container: Started 
WebApplicationContext[/,/]
2007-03-06 18:27:40,528 INFO org.mortbay.util.Container: Started 
HttpContext[/logs,/logs]
2007-03-06 18:27:40,528 INFO org.mortbay.util.Container: Started 
HttpContext[/static,/static]
2007-03-06 18:27:40,535 INFO org.mortbay.http.SocketListener: Started 
SocketListener on 0.0.0.0:50070
2007-03-06 18:27:40,535 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:27:40,556 INFO org.apache.hadoop.ipc.Server: IPC Server listener 
on 8020: starting
2007-03-06 18:27:40,558 INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 
on 8020: starting
2007-03-06 18:27:40,559 INFO org.apache.hadoop.ipc.Server: IPC Server handler 1 
on 8020: starting
2007-03-06 18:27:40,559 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 
on 8020: starting
2007-03-06 18:27:40,559 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 
on 8020: starting
2007-03-06 18:27:40,559 INFO org.apache.hadoop.ipc.Server: IPC Server handler 4 
on 8020: starting
2007-03-06 18:27:40,560 INFO org.apache.hadoop.ipc.Server: IPC Server handler 5 
on 8020: starting
2007-03-06 18:27:40,560 INFO org.apache.hadoop.ipc.Server: IPC Server handler 6 
on 8020: starting
2007-03-06 18:27:40,560 INFO org.apache.hadoop.ipc.Server: IPC Server handler 7 
on 8020: starting
2007-03-06 18:27:40,561 INFO org.apache.hadoop.ipc.Server: IPC Server handler 8 
on 8020: starting
2007-03-06 18:27:40,561 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 
on 8020: starting
2007-03-06 18:27:41,850 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.70:50010 storage 
DS1861818967
2007-03-06 18:27:41,854 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.70:50010
2007-03-06 18:27:41,854 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.70:50010
2007-03-06 18:27:41,932 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.124:50010 storage 
DS-251661422
2007-03-06 18:27:41,950 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.124:50010
2007-03-06 18:27:41,950 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.124:50010
2007-03-06 18:27:41,953 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.71:50010 storage 
DS-559823463
2007-03-06 18:27:41,996 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.71:50010
2007-03-06 18:27:41,996 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.71:50010
2007-03-06 18:27:42,012 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.125:50010 storage 
DS-998622396
2007-03-06 18:27:42,015 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.125:50010
2007-03-06 18:27:42,015 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.125:50010
2007-03-06 18:27:43,201 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.leave: Safe mode is OFF.
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:06,129 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.124:50010
2007-03-06 18:28:06,130 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.71:50010
2007-03-06 18:28:06,131 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.125:50010
2007-03-06 18:28:06,131 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.70:50010
2007-03-06 18:28:06,132 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.70:50010
2007-03-06 18:28:06,132 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.124:50010
2007-03-06 18:28:06,133 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.71:50010
2007-03-06 18:28:06,133 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /default-rack/75.75.60.125:50010
2007-03-06 18:28:06,146 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.enter: Safe mode is ON.
Safe mode will be turned off automatically.
2007-03-06 18:28:06,258 INFO org.mortbay.util.Credential: Checking Resource 
aliases
2007-03-06 18:28:06,325 INFO org.mortbay.http.HttpServer: Version Jetty/5.1.4
2007-03-06 18:28:06,985 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:28:07,049 INFO org.mortbay.util.Container: Started 
WebApplicationContext[/,/]
2007-03-06 18:28:07,050 INFO org.mortbay.util.Container: Started 
HttpContext[/logs,/logs]
2007-03-06 18:28:07,050 INFO org.mortbay.util.Container: Started 
HttpContext[/static,/static]
2007-03-06 18:28:07,056 INFO org.mortbay.http.SocketListener: Started 
SocketListener on 0.0.0.0:50070
2007-03-06 18:28:07,056 INFO org.mortbay.util.Container: Started [EMAIL 
PROTECTED]
2007-03-06 18:28:07,074 INFO org.apache.hadoop.ipc.Server: IPC Server listener 
on 8020: starting
2007-03-06 18:28:07,076 INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 
on 8020: starting
2007-03-06 18:28:07,077 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 
on 8020: starting
2007-03-06 18:28:07,077 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 
on 8020: starting
2007-03-06 18:28:07,077 INFO org.apache.hadoop.ipc.Server: IPC Server handler 1 
on 8020: starting
2007-03-06 18:28:07,077 INFO org.apache.hadoop.ipc.Server: IPC Server handler 4 
on 8020: starting
2007-03-06 18:28:07,077 INFO org.apache.hadoop.ipc.Server: IPC Server handler 5 
on 8020: starting
2007-03-06 18:28:07,078 INFO org.apache.hadoop.ipc.Server: IPC Server handler 6 
on 8020: starting
2007-03-06 18:28:07,078 INFO org.apache.hadoop.ipc.Server: IPC Server handler 7 
on 8020: starting
2007-03-06 18:28:07,078 INFO org.apache.hadoop.ipc.Server: IPC Server handler 8 
on 8020: starting
2007-03-06 18:28:07,078 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 
on 8020: starting
2007-03-06 18:28:08,459 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.70:50010 storage 
DS1861818967
2007-03-06 18:28:08,462 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.70:50010
2007-03-06 18:28:08,463 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.70:50010
2007-03-06 18:28:08,550 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.124:50010 storage 
DS-251661422
2007-03-06 18:28:08,552 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.124:50010
2007-03-06 18:28:08,552 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.124:50010
2007-03-06 18:28:08,676 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.71:50010 storage 
DS-559823463
2007-03-06 18:28:08,678 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.71:50010
2007-03-06 18:28:08,679 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.71:50010
2007-03-06 18:28:08,858 INFO org.apache.hadoop.dfs.StateChange: BLOCK* 
NameSystem.registerDatanode: node registration from 75.75.60.125:50010 storage 
DS-998622396
2007-03-06 18:28:08,862 INFO org.apache.hadoop.net.NetworkTopology: Removing a 
node: /default-rack/75.75.60.125:50010
2007-03-06 18:28:08,862 INFO org.apache.hadoop.net.NetworkTopology: Adding a 
new node: /162.254.0.0/75.75.60.125:50010
2007-03-06 18:28:09,730 INFO org.apache.hadoop.dfs.StateChange: STATE* 
SafeModeInfo.leave: Safe mode is OFF.
2007-03-06 18:28:09,730 INFO org.apache.hadoop.dfs.StateChange: STATE* Network 
topology has 1 racks and 4 datanodes


> 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
>
> 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.

Reply via email to