一、HBase 服务启动
1. hbase-daemon.sh 是单点启动,就是启动本机的 hbase, hbase-daemons.sh 是群起 hbase ,这个脚本需要修改 conf/regionservers ,把三台机器加上,类似于hadoop中的slave,修改后分发
hadoop1
hadoop2
hadoop3
yexiang@hadoop2:<conf>$ xsync regionservers
要分发的文件的路径是:/opt/soft/hbase-1.3.1/conf/regionservers
---------------------hadoop1---------------------
sending incremental file list
regionservers
sent 121 bytes received 41 bytes 108.00 bytes/sec
total size is 24 speedup is 0.15
---------------------hadoop2---------------------
sending incremental file list
sent 50 bytes received 12 bytes 124.00 bytes/sec
total size is 24 speedup is 0.39
---------------------hadoop3---------------------
sending incremental file list
regionservers
sent 121 bytes received 41 bytes 108.00 bytes/sec
total s