hbase 安装方法
1、准备好jdk1.8的环境变量

2、准备好Zookeeper,不使用内置Zookeeper

3、获取安装包hbase-1.2.4-bin.tar.gz

4、vim hbase-1.2.4/conf/hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:/apm/hbase-1.2.4/data</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.regionserver.handler.count</name>
<value>20</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>zookeeper.session.timeout</name>
<value>200000</value>
</property>
<property>
<name>hbase.master.info.port</name>
<value>16010</value>
</property>
</configuration>

5、vim hbase-1.2.4/conf/hbase-env.sh
export HBASE_MANAGES_ZK=false

6、启动hbase
./start-hbase.sh

7、验证进程,hbase启动的端口是16010
