Hbase installation on ubuntu


Hbase installation on ubuntu

In this tutorial we will see how to install Hbase on ubuntu 16.04 by doing the following steps
Step 1: Before installing Hbase, you need to First ensure that java8 is installed:

Verify that java is correctly installed:

Configuring Java Environment

Step 2: Ensure that you successfully installed hadoop on your machine
Check this link if you need to know how to install it. 

Step 3: Download Apache Hbase

Step 4: Complete the installation process

  • Move the downloaded file “hbase-1.2.5-bin.tar.gz” to your home (~)
  • Compress it :
  • Edit hbase-env.sh using this command lines:
  • Add this line:
  • Edit hbase-site.xml using this command lines:
  • Add this lines:
  • Edit bashrc using this command line:
  • Add this lines:
  • Execute bashrc:

Step 5: Start hbase processes

  • Start hadoop process first:
  • Start hbase:

Step 6: Stop hbase processes

  • Stop hbase:
  • Stop hadoop process:


Author: Nizar Ellouze

  • Suha Majeed
    Posted at 5:58 am, June 16, 2017

    This is a very helpful tutorial. I was just wondering though, to start the Hadoop process, isn’t the command ”start-dfs.sh”, rather than “start-hdfs.sh”?
    Thank you.

  • nizell
    Posted at 3:04 pm, April 20, 2018

    the command is start-dfs.sh

Post a Comment