0% found this document useful (0 votes)
155 views3 pages

HBase Installation

The document provides steps to install HBase on a system. It details downloading the HBase zip file, extracting and renaming directories, configuring environment variables, modifying configuration files, and checking the HBase version. Contact information is provided at the beginning and end for Shiva.N for questions about Hadoop classes.

Uploaded by

A Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views3 pages

HBase Installation

The document provides steps to install HBase on a system. It details downloading the HBase zip file, extracting and renaming directories, configuring environment variables, modifying configuration files, and checking the HBase version. Contact information is provided at the beginning and end for Shiva.N for questions about Hadoop classes.

Uploaded by

A Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Call Shiva.N for Complete Hadoop Classes watsup on 8309379672 shiva509203@gmail.

com

HBase INSTALLATION
Step1: Download Zip file using wget command

------------------------------------------------
wget https://archive.apache.org/dist/hbase/hbase-0.98.2/hbase-0.98.2-hadoop2-bin.tar.gz

Step2: Untar the zip tar -xzvf command

------------------------------------------------
tar -xzvf hbase-0.98.20-hadoop2-bin.tar.gz

Step3: rename hbase-0.98.20-hadoop2 to hbase

------------------------------------------------
mv hbase-0.98.20-hadoop2 hbase

Step4: set HBASE_HOME and Path in bashrc file

(gedit ~/.bashrc is a command to open the bashrc file)

------------------------------------------------
export HBASE_HOME="/home/hduser/hbase"
set the path
export
PATH=$HADOOP_HOME/bin:$JAVA_HOME/bin:$PIG_HOME/bin:$HIVE_HOME/bin:$HBASE_
HOME/bin:$SQOOP_HOME/bin:$PATH

Step5: force the changes into bashrc

------------------------------------------------
source ~/.bashrc

Step6: Need to have following changes in hbase-site.xml in /hbase/conf/

location

Reach out bin location using below command

Call Shiva.N for Complete Hadoop Classes on 9985360406; [email protected]


Call Shiva.N for Complete Hadoop Classes watsup on 8309379672 [email protected]

cd /hbase/conf/

------------------------------------------------

Open hbase-site.xml file

gedit hbase-site.xml

add below lines


<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
</configuration>

Save the file and close

run the below command on terminal

[hduser@localhost conf]$ hbase version

HBase 0.98.20-hadoop2

Source code repository git://aspire/home/apurtell/src/hbase

revision=9624f3a9eb76f84656a41de0e2099c97f949e831

Compiled by apurtell on Tue Jun 7 17:40:20 PDT 2016

Call Shiva.N for Complete Hadoop Classes on 9985360406; [email protected]


Call Shiva.N for Complete Hadoop Classes watsup on 8309379672 [email protected]

From source with checksum 10495ec33bfec1910093c1d438180992

Path for jar file


https://github.com/winghc/hadoop2x-eclipse-plugin/tree/master/release

Click on New Hadoop Location with above details

if no mysql , install using below command

sudo yum install mysql-server

Thank you...Call Shiva.N on 9985360406/[email protected]

for complete Hadoop Classes :-)

Call Shiva.N for Complete Hadoop Classes on 9985360406; [email protected]

You might also like