Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ubuntu16.04 installs HBASE cluster

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Http://mirrors.hust.edu.cn/apache/hbase/

Http://mirrors.hust.edu.cn/apache/hbase/1.3.1/hbase-1.3.1-bin.tar.gz

Root@master:/usr/local/hbase-1.3.1# vim / etc/profile

# Hbase_Home

Export HBASE_HOME=/usr/local/hbase-1.3.1

Export PATH=$PATH:$HBASE_HOME/bin

Root@master:/usr/local/hbase-1.3.1# source / etc/profile

Root@master:/usr/local/hbase-1.3.1# vim conf/hbase-env.sh

Export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

Root@master:/usr/local/hbase-1.3.1# vim conf/hbase-site.xml

Hbase.rootdir

Hdfs://master:8020/hbase

Hbase.cluster.distributed

True

Hbase.zookeeper.quorum

Master,slave1,slave2

Hbase.zookeeper.property.dataDir

/ usr/local/hbase-1.3.1/data

Root@master:/usr/local/hbase-1.3.1# vim conf/regionservers

Slave1

Slave2

Root@master:/usr/local# scp-r hbase-1.3.1 slave1:/usr/local

Root@master:/usr/local# scp-r hbase-1.3.1 slave2:/usr/local

Root@master:/usr/local/hbase-1.3.1# bin/start-hbase.sh

Root@master:/usr/local/hbase-1.3.1# jps

2738 SecondaryNameNode

3493 QuorumPeerMain

8070 Jps

2951 ResourceManager

2521 NameNode

7866 HMaster

3356 Master

Root@slave1:/usr/local/hbase-1.3.1# jps

4528 Worker

5778 HRegionServer

4436 Worker

4058 DataNode

5930 Jps

4636 QuorumPeerMain

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report