Configuration and Setup of HBase local environment

Source: Internet
Author: User
HBase is an open-source implementation of NoSQL and BigTable. It comes from apache and is part of Hadoop databases. I have set up and run an HBase on the Virtual Machine for learning.

HBase is an open-source implementation of NoSQL and BigTable. It comes from apache and is part of Hadoop databases. I have set up and run an HBase on the Virtual Machine for learning.

HBase is an open-source implementation of NoSQL and BigTable. It comes from apache and is part of Hadoop databases.

I have set up and run an HBase on a virtual machine for learning. I would like to briefly describe the setup process.

Environment: WinXP SP3, VMware 8.0, SUSE Linux Enterprise 11 64bit, gcc4.5.1, jdk 1.6.0;

1. Download the tar package of HBase,

I chose hbase-0.90.5.tar.gz.

Put the tar package in the/home/ln/install/directory and run the tar zxvfhbase-0.90.5.tar.gz to decompress it.

2, modify the hbase-0.90.5/conf/hbase-env.sh script, add JAVA_HOME environment variables, the specific path depends on your local JAVA installation path.

Export JAVA_HOME =/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre

3. Modify the hbase-0.90.5/conf/regionservers file and add the name of your HRegion server in it. Because I only use the local machine, use the default localhost in the file. Note: If you have added multiple servers, they must match the name in the/etc/hosts file.

4. Start HBase and execute./start-hbase.sh in the bin directory.

5. After the startup is complete, you can log on to the database using./hbase shell for command line operations.

6. Close HBase and execute./stop-hbase.sh.

7. If you fail to start HBase, you can view the startup log under the hbase-0.90.5/logs directory.

Well, now we start our HBase journey.

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.