伪分布式一般都是用在测试环境中使用

前提:Java环境配置

HBase伪分布式搭建步骤:

1. 上传并解压HBasejar包,并把解压后的文件移动到/opt/software目录

 HBase伪分布式搭建

2. 配置环境变量

 HBase伪分布式搭建

配置完记得刷新 . /etc/profile

3. 二次JAVA_HOME配置

 HBase伪分布式搭建

 HBase伪分布式搭建

4. 配置hbase-site.xml

<property>

<name>hbase.rootdir</name>

<value>file:///home/testuser/hbase</value>

</property>

<property>

<name>hbase.zookeeper.property.dataDir</name>

<value>/home/testuser/zookeeper</value>

</property>

 HBase伪分布式搭建

 5. 启动hbase

 HBase伪分布式搭建

6. web中查看

http://hadoop01:60010/master-status

 HBase伪分布式搭建

 7. 可以进入hbase shell进行编程了

 HBase伪分布式搭建

 

 


相关文章:

  • 2021-08-23
  • 2021-10-03
  • 2021-10-14
  • 2021-05-24
  • 2022-01-01
  • 2021-05-05
  • 2021-11-18
猜你喜欢
  • 2021-05-19
  • 2021-05-15
  • 2021-06-23
  • 2021-04-05
  • 2021-09-07
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案