HBase数据库源代码学习研究(包括代码注释、文档、用于代码分析的测试用例)
保持与官方的0.94版本同步
需要JDK7以及Apache Maven
mvn eclipse:eclipse
在eclipse中导入
File->Import->General->Existing Projects into Workspace
在eclipse中先打开/hbase/src/test/java/my/test/start/HMasterStarter.java,
然后按Ctrl+F11运行它,
当看到提示Waiting for region servers count to settle时,
再打开同目录中的HRegionServerStarter,同样按Ctrl+F11运行它,
此时会有两个Console,
在HMasterStarter这个Console最后出现Master has completed initialization这样的信息时就表示它启动成功了,
而HRegionServerStarter这个Console最后出现Done with post open deploy task这样的信息时说明它启动成功了。