HBase 0.98.0 Installation

Source: Internet
Author: User
Tags zookeeper

1. Environment configuration

This cluster has three nodes

Master:hpd1

Slave:hdp2,hdp3

Os:centos 6.5

hadoop:2.2.0

2. Download the installation package

HBase 0.98.0 Download Address: http://mirror.bit.edu.cn/apache/hbase/hbase-0.98.0/

3. Unzip the installation to a local directory

$tar-ZXVF hbase-0.98.0-hadoop2-bin.tar.gz

Configuring Hbase_home into environment variables

4. Configuration

Three files need to be modified: hbase-env.sh hbase-site.xml regionservers

Modify Hbase-env.sh

Export Java_home=/usr/java/default

If you do not use zookeeper in HBase, export HBASE_MANAGES_ZK is set to False if you use zookeeper in HBase and set to True

Modify Hbase-size.sh


Modify the Regionservers file

Add the Datanode node to the file with one row per node

Copy hbase installation files to other nodes

$SCP-R hbase-0.98.0-hadoop2/root@hdp2:/home/shenlong/distribution/hbase/

$SCP-R hbase-0.98.0-hadoop2/root@hdp3:/home/shenlong/distribution/hbase/

5. Start

start-hbase.sh

can be accessed via Http://10.61.130.165:60010/master-status

The installation deployment is complete.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.