单节点hadoop部署成功

经过前面的配置:

linux-ot1w:/home/macula/download/hadoop-0.20.2 # bin/start-all.sh
starting namenode, logging to /home/macula/download/hadoop-0.20.2/bin/../logs/hadoop-macula-namenode-linux-ot1w.out
Password:
localhost: starting datanode, logging to /home/macula/download/hadoop-0.20.2/bin/../logs/hadoop-root-datanode-linux-ot1w.out
Password:
localhost: starting secondarynamenode, logging to /home/macula/download/hadoop-0.20.2/bin/../logs/hadoop-root-secondarynamenode-linux-ot1w.out
wastarting jobtracker, logging to /home/macula/download/hadoop-0.20.2/bin/../logs/hadoop-macula-jobtracker-linux-ot1w.out
Password:
localhost: starting tasktracker, logging to /home/macula/download/hadoop-0.20.2/bin/../logs/hadoop-root-tasktracker-linux-ot1w.out
要几次输入密码。

然后再浏览器输入:

http://localhost:50070/

可以在页面看到如下内容,配置成功。

NameNode 'localhost:9000'
Started: Fri May 14 16:12:58 CST 2010
Version: 0.20.2, r911707
Compiled: Fri Feb 19 08:07:34 UTC 2010 by chrisdo
Upgrades: There are no upgrades in progress.

Browse the filesystem
Namenode Logs
Cluster Summary
1 files and directories, 0 blocks = 1 total. Heap Size is 4.94 MB / 992.31 MB (0%)
Configured Capacity : 10.95 GB
DFS Used : 24 KB
Non DFS Used : 1.77 GB
DFS Remaining : 9.18 GB
DFS Used% : 0 %
DFS Remaining% : 83.87 %
Live Nodes : 1
Dead Nodes : 0

NameNode Storage:
Storage Directory Type State
/home/macula/tmp/dfs/name IMAGE_AND_EDITS Active

Hadoop, 2010.

posted @ 2010-05-15 00:18  macula7  阅读(237)  评论(0编辑  收藏  举报