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

Hbase stand-alone Building under Linux-HBase (pseudo-distributed) Learning Notes

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

1. Linux to build Hbase

1. Environment

System: CentOs6.6 download address: http://mirrors.neusoft.edu.cn/centos/6.6/isos/x86_64/

Hbase:Hbase-0.98.9 download address http://mirrors.hust.edu.cn/apache/hbase/hbase-0.98.9/

Jdk:jdk1.8.0_31 download address

Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Download linux x64.tar.gz

2. Installation

1) download hbase and select hbase-0.98.9-hadoop2-bin.tar.gz

2) enter the download directory and tar zxvf hbase-0.98.9-hadoop2-bin.tar.gz / home/baozi/hbase (/ home/baozi/hbase is the directory you want to install, set up by yourself)

3), tar zxvf jdk-8u31-linux-x64.tar.gz / home/baozi/jdk8 (/ home/baozi/jdk is the directory to which you want to install, set it yourself)

4) enter the installation directory cd ~

Cd / home/baozi

Modify folder name mv hbase-0.98.9-hadoop2 hbase

Mv jdk unzips directory jdk8

5) modify hosts

Ifconfig View ip address

Vi / etc/hosts add ip address host eg:10.10.10.10 hbase

6) configure the environment variable vi ~ / .bash_profile

Export HBASE_HOME=/home/baozi/hbase

Export JAVA_HOME=/home/baozi/jdk8

Export PATH=$ {PATH}: ${HBASE_HOME} / bin

Attention! Reload it after modification.

Source / .bash_profile

7) enter the conf folder cd / home/baozi/hbase/conf under the hbase directory

Vi hbase-site.xml

Add in configuration

Hbase.rootdir

/ home/baozi/hbase

Hbase.zookeeper.quorum

Hbase

Vi hbase-env.sh after saving

Set up export JAVA_HOME=/home/baozi/jdk8

Save exit

8) at this point, start-hbase.sh can open hbase.

Hbase shell enters the hbase command line

Big! Gong! Sue! Yes!

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

Database

Wechat

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

12
Report