手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

hbase 安装方法

时间:2024-10-11 18:46:05

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<configurati泠贾高框on> <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 安装方法
© 手抄报圈