Hbase0.98 Environment Construction

Source: Internet
Author: User

0 Installation Prerequisites: jDK7, hadoop1.1.2

1 Download the HBase version that corresponds to Hadoop:

http://mirror.bit.edu.cn/apache/hbase/hbase-0.98.12/

I use the image of the bit university here, download the corresponding HBase package, the bin represents the compiled, HADOOP1 representative support HADOOP1, Hadoop is support HADOOP2

2 after the download is complete, select a directory, install HBase, and then

To the ${hbase_homo}/conf directory, modify the hbase-env.sh file:

Write

      1. Export JAVA_HOME=/USR/JAVA/JDK1. 6/
      2. Export hbase_classpath=/usr/hadoop/conf
      3. Export hbase_manages_zk=true

3 modifying Hbase-site.xml files at times

    1. <property>
    2. <name>hbase.rootdir</name>
    3. <value>hdfs://192.168.56.101:9000/hbase</value>
    4. </property>
    5. <property>
    6. <name>hbase.cluster.distributed</name>
    7. <value>true</value>
    8. </property>

PS:hbase.rootdir guides the path into HDFs.

Hbase_manages_zk=true is open zookeeper

4 test:

Start Hadoop first:./bin/start-all.sh

And then start start-hbase.sh under HBase.

Finally, use JPS to view the process:

Have hm, HR, QU, and HD,ND,SD to show success ~

Hbase0.98 Environment Construction

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.