hbase 安装方法

2025-05-18 14:07:55

1、准备好jdk1.8的环境变量

hbase 安装方法

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

hbase 安装方法

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

hbase 安装方法

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>

hbase 安装方法

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

hbase 安装方法

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

hbase 安装方法

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

hbase 安装方法
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢