1、多個master節點。
在nbdo3機器上啟動主備后,查看nbdo3機器上master產生的日志:
2017-04-08 09:37:52,471 INFO ?[nbdo3:16000.activeMasterManager] master.ActiveMasterManager: Another master is the active master, nbdo1,16000,1491615469804; waiting to become the next active master
2、添加HBase節點
復制原子節點到新節點上
命令:
在reginserver節點上使用命令:
hbase-daemon.sh start master
在nbdo3機器上啟動主備后,查看nbdo3機器上master產生的日志:
2017-04-08 09:37:52,471 INFO ?[nbdo3:16000.activeMasterManager] master.ActiveMasterManager: Another master is the active master, nbdo1,16000,1491615469804; waiting to become the next active master
當nbdo1這個當下激活的master掛了后,Zookeeper就會在剩余的master節點上激活一個新的master。
2、添加HBase節點
復制原子節點到新節點上
命令:
hbase-daemon.sh start regionserver
-------------
更多的Java,Angular,Android,大數據,J2EE,Python,數據庫,Linux,Java架構師,:
http://www.cnblogs.com/zengmiaogen/p/7083694.html