How to install HBase on Linux

0 votes
Hi guys. Can someone tell me how to install Hbase? And also mention the configurations. Looking for the stand-alone mode. Thanks
Feb 27, 2019 in Big Data Hadoop by Gouri
4,198 views

1 answer to this question.

0 votes

To install Hbase, you first need the pig file. You can download it from:

https://www.apache.org/dyn/closer.lua/hbase/2.1.3/hbase-2.1.3-bin.tar.gz

Next, open the terminal and extract the files using this command:

$ cd Downloads

$ tar -xvf hbase-2.1.3-bin.tar.gz

Now, we need to make some changes to the configuration on HBase. The configuration files are stored in the conf directory. Let’s switch to that folder:

$ cd hbase-2.1.3/conf/

We need to set the Java path in the hbase-env.sh file. To find the Java path, run the following command:

$ echo $JAVA_HOME

This will print the Java Path.

Now, open the hbase-env.sh file with a text editor:

$ nano hbase-env.sh

And make the below entry:

export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Remember to replace the path with the Java path on your system

Next, we need to make changes to the hbase-site.xml file. Open the file:

$nano hbase-site.xml

and make the below entries:

<configuration>

   <property>

      <name>hbase.rootdir</name>

      <value>file:/home/hadoop/HBase/HFiles</value>

   </property>

   <property>

      <name>hbase.zookeeper.property.dataDir</name>

      <value>/home/hadoop/zookeeper</value>

   </property>

</configuration>

Now to start Hbase, switch to the bin directory:

$cd ../bin

and run the following command:

$ ./start-hbase.sh
answered Feb 27, 2019 by Tanisha

Related Questions In Big Data Hadoop

0 votes
1 answer

How to install Flume on Linux?

All you have to do is get ...READ MORE

answered Feb 26, 2019 in Big Data Hadoop by Rishi
3,952 views
0 votes
1 answer

How to install Hadoop on Ubuntu?

You can refer to this blog by ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,208 views
0 votes
1 answer

I want to install snappy on Hadoop 1.2.1. How do I do that?

As per Cloudera, if you install hadoop ...READ MORE

answered Dec 11, 2018 in Big Data Hadoop by Frankie
• 9,830 points
823 views
0 votes
1 answer

How to install scala on Ubuntu?

You can install Scala using apt-get using the ...READ MORE

answered Feb 19, 2019 in Big Data Hadoop by Omkar
• 69,210 points
963 views
0 votes
1 answer
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,600 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,207 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,755 views
0 votes
1 answer

How to install Hive on Windows Operating System?

First, download Hive from the following link: http://www.apache.org/dyn/closer.cgi/hive/ Next, ...READ MORE

answered Feb 27, 2019 in Big Data Hadoop by Kirti
14,506 views
0 votes
1 answer

How to use mountable HDFS on Centos?

Hey. You can use the following commands ...READ MORE

answered Nov 26, 2018 in Big Data Hadoop by Omkar
• 69,210 points
1,836 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP