Hadoop + HBase 安装配置(2)

cp /opt/hbase/lib/hadoop-core-0.20-append-r1056497.jar /opt/hbase/lib/hadoop-core-0.20-append-r1056497.jar.bk

cp  /opt/hadoop/hadoop-0.20.2-core.jar  /opt/hbase/lib/hadoop-core-0.20-append-r1056497.jar


格式化namenode:

hadoop namenode -format


【测试使用】

命令行:

[root@master bin]# ./hadoop dfsadmin -report
Configured Capacity: 23820673024 (22.18 GB)
Present Capacity: 12142039040 (11.31 GB)
DFS Remaining: 12141969408 (11.31 GB)
DFS Used: 69632 (68 KB)
DFS Used%: 0%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0

-------------------------------------------------
Datanodes available: 1 (1 total, 0 dead)

Name: 10.64.68.131:50010
Decommission Status : Normal
Configured Capacity: 23820673024 (22.18 GB)
DFS Used: 69632 (68 KB)
Non DFS Used: 11678633984 (10.88 GB)
DFS Remaining: 12141969408(11.31 GB)
DFS Used%: 0%
DFS Remaining%: 50.97%
Last contact: Tue Apr 10 14:50:21 PDT 2012

浏览器访问:

:50070/

:50030/

更多Hadoop相关信息见Hadoop 专题页面 ?tid=13

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/a34fdf84834e2c72cf93f3fdc371bbe6.html