HBase完全分布模式安装(3)

----在gc master节点

[grid@gc ~]$ hbase-0.90.5/bin/start-hbase.sh

rac2: starting zookeeper, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-zookeeper-rac2.localdomain.out

gc: starting zookeeper, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-zookeeper-gc.localdomain.out

rac1: starting zookeeper, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-zookeeper-rac1.localdomain.out

starting master, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-master-gc.localdomain.out

rac1: starting regionserver, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-regionserver-rac1.localdomain.out

rac2: starting regionserver, logging to /home/grid/hbase-0.90.5/bin/../logs/hbase-grid-regionserver-rac2.localdomain.out

--可以看到多出两个hbase进程

[grid@gc ~]$ jps

2718 HQuorumPeer

6875 JobTracker

6799 SecondaryNameNode

8129 org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

2864 Jps

6651 NameNode

2772 HMaster

--rac1,rac2 slave节点

[grid@rac1 ~]$ jps

23663 HRegionServer

3736 DataNode

23585 HQuorumPeer

23737 Jps

3840 TaskTracker

[grid@rac2 ~]$ jps

10579 TaskTracker

29735 HQuorumPeer

29897 Jps

10480 DataNode

29812 HRegionServer

--通过浏览器验证:

:60010/master.jsp

HBase完全分布模式安装

HBase完全分布模式安装

--关闭hbase集群

[grid@gc hbase-0.90.5]$ bin/stop-hbase.sh

stopping hbase...................

gc: stopping zookeeper.

rac2: stopping zookeeper.

rac1: stopping zookeeper.

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

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