HBase Installation

Download as pdf or txt
Download as pdf or txt
You are on page 1of 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; shiva509203@gmail.com


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

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; shiva509203@gmail.com


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

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/shiva509203@gmail.com

for complete Hadoop Classes :-)

Call Shiva.N for Complete Hadoop Classes on 9985360406; shiva509203@gmail.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy