Hbase 0.92.0 安装记录(3)

Hadoop已经起来了,下面启动 hbase
[root@ conf]# /opt/hadoop/hbase/bin/start-hbase.sh
da-free-test1: starting zookeeper, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-zookeeper-da-free-test1.out
da-free-test4: starting zookeeper, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-zookeeper-da-free-test4.out
da-free-test2: starting zookeeper, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-zookeeper-da-free-test2.out
da-free-test3: starting zookeeper, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-zookeeper-da-free-test3.out
da-free-test1: 2012-02-13T13:21:23.622+0800: [GC [DefNew: 3200K->283K(3584K), 0.0057370 secs] 3200K->283K(11520K), 0.0057930 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
starting master, logging to /opt/hadoop_1_0_0/hbase_0_92_0/logs/hbase-root-master-da-free-test1.out
da-free-test4: starting regionserver, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-regionserver-da-free-test4.out
da-free-test3: starting regionserver, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-regionserver-da-free-test3.out
da-free-test2: starting regionserver, logging to /opt/hadoop/hbase/bin/../logs/hbase-root-regionserver-da-free-test2.out
进入命令行
[root@ conf]# /opt/hadoop/hbase/bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.92.0, r1231986, Mon Jan 16 13:16:35 UTC 2012
如果安装的有问题,此时应该就报错了,例如最典型的
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

hbase(main):003:0> list
TABLE                                                                                                                              
0 row(s) in 0.0300 seconds

ok 通过上面的步骤,hbase 已经建立起来了...
通过 ui查看

Hbase 0.92.0 安装记录

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

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