一、下载HBase

https://hbase.apache.org/downloads.html

二、解压移动至/usr/local

1.修改配置

HBase安装(Ubuntu)

hbase-evn.sh 修改jdk路径

hbase-site.xml:

hadoop下的core-site.xml文件,指定hbase搭建在hadoop上

第一个参数:hbase运行的根目录

第二个参数:为true则表明为分布式数据库

第三个参数:指定主节点

第四个参数:分布式管理,各个节点(逗号分隔)例:node-master,node1,node2

第五个参数:指定zookeeper根目录

HBase安装(Ubuntu)

2.修改.bash_profile

export HBASE_HOME=/usr/local/hbase../

export PATH=$PATH:$HBASE_HOME/bin

3.操作

//启动

start-hbase.sh

//停止

stop-hbase.sh

//进入hbase

hbase shell

 

 

 

 

 

 

 

相关文章:

  • 2021-04-28
  • 2022-12-23
  • 2021-12-30
  • 2021-10-18
  • 2021-06-03
  • 2021-09-13
  • 2021-09-02
猜你喜欢
  • 2021-11-18
  • 2021-11-25
  • 2022-12-23
  • 2022-02-09
  • 2022-02-09
  • 2022-12-23
相关资源
相似解决方案