Changes between Version 15 and Version 16 of waue/2010/0106


Ignore:
Timestamp:
Jan 7, 2010, 6:00:30 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0106

    v15 v16  
    5050
    5151{{{
    52 # su -s /bin/bash - hadoop -c "/opt/hadoop/bin/hadoop-daemon.sh start namenode -upgrade"
    53 
     52# su -s /bin/bash - hadoop -c "/opt/hadoop/bin/hadoop-daemon.sh start datanode"
    5453}}}
    5554
     55switch to original handled by hadoop namenode console, there will be appear something upgrade information ..
     56{{{
     57#!sh
     58
     5910/01/06 18:08:09 INFO ipc.Server: IPC Server handler 9 on 8020: starting
     6010/01/07 17:52:26 INFO hdfs.StateChange: BLOCK* NameSystem.registerDatanode: node registration from 127.0.0.1:50010 storage DS-1591516806-127.0.1.1-50010-1262769597737
     6110/01/07 17:52:26 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:50010
     6210/01/07 17:52:27 INFO hdfs.StateChange: STATE* Safe mode ON.
     63The ratio of reported blocks 0.1000 has not reached the threshold 0.9990. Safe mode will be turned off automatically.
     6410/01/07 17:52:27 INFO hdfs.StateChange: STATE* Safe mode extension entered.
     65The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe mode will be turned off automatically in 29 seconds.
     6610/01/07 17:52:47 INFO hdfs.StateChange: STATE* Safe mode ON.
     67The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe mode will be turned off automatically in 9 seconds.
     6810/01/07 17:52:57 INFO namenode.FSNamesystem: Total number of blocks = 10
     6910/01/07 17:52:57 INFO namenode.FSNamesystem: Number of invalid blocks = 0
     7010/01/07 17:52:57 INFO namenode.FSNamesystem: Number of under-replicated blocks = 0
     7110/01/07 17:52:57 INFO namenode.FSNamesystem: Number of  over-replicated blocks = 0
     7210/01/07 17:52:57 INFO hdfs.StateChange: STATE* Leaving safe mode after 85493 secs.
     7310/01/07 17:52:57 INFO hdfs.StateChange: STATE* Safe mode is OFF.
     7410/01/07 17:52:57 INFO hdfs.StateChange: STATE* Network topology has 1 racks and 1 datanodes
     7510/01/07 17:52:57 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks
     76}}}
    5677
    5778Once all the DataNodes have upgraded, you should see a message that Safe mode will be turned off automatically in X seconds.
     79
     80
    5881
    5982 * start MapReduce