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 in Big Data Hadoop by Gouri
480 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 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 in Big Data Hadoop by Rishi
549 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
• 10,730 points
369 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,810 points
101 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 in Big Data Hadoop by Omkar
• 67,660 points
134 views
0 votes
1 answer
0 votes
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
• 10,730 points
3,382 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
• 10,730 points
407 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,896 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 26 in Big Data Hadoop by Kirti
3,060 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
• 67,660 points
229 views