其他分享
首页 > 其他分享> > hbase安装

hbase安装

作者:互联网

[hadoop@node01 install]$ cd /kkb/soft/
[hadoop@node01 soft]$ tar -zxvf hbase-2.2.6-bin.tar.gz -C  /kkb/install/

3.1、修改hbase-env.sh文件

[hadoop@node01 soft]$ cd /kkb/install/hbase-2.2.6/conf
[hadoop@node01 conf]$ vim hbase-env.sh
export JAVA_HOME=/kkb/install/jdk1.8.0_141
export HBASE_MANAGES_ZK=false   
[hadoop@node01 conf]$ vim hbase-site.xml

分发安装包

将 node01上的HBase安装包,拷贝到其他机器上

[hadoop@node01 conf]$ cd /kkb/install
[hadoop@node01 install]$ scp -r hbase-2.2.6/ node02:/kkb/install
[hadoop@node01 install]$ scp -r hbase-2.2.6/ node03:/kkb/install
ln -s /kkb/install/hadoop-3.1.4/etc/hadoop/hdfs-site.xml  /kkb/install/hbase-2.2.6/conf/hdfs-site.xml
ln -s /kkb/install/hadoop-3.1.4/etc/hadoop/core-site.xml  /kkb/install/hbase-2.2.6/conf/core-site.xml

 

标签:node01,conf,hadoop,install,hbase,安装,kkb
来源: https://www.cnblogs.com/j-y-s/p/15315439.html