1. Similar to hadoop, configuration is required first for basic startup steps.
2 get the address of the hmaster hbaseconfiguration first add two profile hbase-core.xml hbase-default.xml under classpath
Create hserveraddress (ADDR)
This is nothing to say, it is to create a server.
3. Obtain the rootdir of hbase data based on the configuration file.
Verify the directory, including version file data verification.
4. Check whether-root-region exists.
If it does not exist, it is created. Meta is similar. This step does not necessarily exist.
5. Start the RPC server
6. Set the Client Connection
7. Set sleep
8. Set zookeeper and connect to zookeeper to create hbase/Master shutdown. Different situations will be handled. In fact, watch is created first.
9 start servermanager to manage hregionservers
10 start regionmanager to manage hregions, including the scan of root Meta
11. The information service can be accessed through HTTP.
more information: http://www.marulin.com/