HBase distributed deployment

Source: Internet
Author: User
The premise hadoop cluster is successfully built, here is the use of Hadoop1.0.3 + HBase0.94.1 configure HBase1. modify the confhbase-env.sh, add jdk support exportJAVA_HOMEhomehadoopjdk1.6.0_392. Modify

The premise hadoop cluster is successfully built, here is the use of Hadoop1.0.3 + HBase0.94.1 configure HBase1. modify conf/hbase-env.sh, add jdk support exportJAVA_HOME =/home/hadoop/jdk1.6.0 _ 392. Modify

Prerequisites

Hadoop cluster is successfully built and the website space is used here: Hadoop1.0.3 + HBase0.94.1

Configure HBase

1. Modify conf/hbase-env.sh and add jdk support

Export JAVA_HOME =/home/hadoop/jdk1.6.0 _ 39

2. Modify conf/hbase-site.xml

Hbase. rootdir

Hdfs: // master: 9000/hbase

Hbase. cluster. distributed

True

Hbase. master

Hdfs: // master: 9000


Hbase. zookeeper. quorum

Master, slave1, slave2

Hbase. zookeeper. property. dataDir

/Home/hadoop/data/zookeeper

3. Modify conf/regionservers

Slave1

Slave2

(Add all datanode nodes configured for Hadoop)

4. scp to all subnodes

5. Start HBase

$ ../Bin/start-hbase.sh

HBase basic operations

1. HBase web Interface

: 60010/

2. shell client (HBase shell command)

$./Bin/hbase shell

This article is from the "Li xiaolazy's keyboard path" blog. For servers rented in Hong Kong, please keep this source

, Website Space

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.