如果不在配置文件(hbase-site)中指定master
那么在哪台机器上执行./hbase/bin/start-hbase.sh,哪台机器就会被认为是HMaster。
配置文件指定master参考下图: