---
title: "How to Install HBase Properly"
description: "HBase is a NoSQL database in the Hadoop framework. Correct installation needed to work with HBase database. These are steps for quick installation without errors."
url: https://srinimf.com/2021/03/14/how-to-install-hbase-properly/
date: 2021-03-14
modified: 2026-10-24
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2021/03/pexels-photo-3184357.jpeg?fit=1880%2C1255&ssl=1
categories: ["Hadoop"]
tags: ["HBase Installation Steps"]
type: post
lang: en
---

# How to Install HBase Properly

HBase is a NoSQL (Not only SQL) database and is popular in the Hadoop framework. Installation of HBase is tricky. If Hadoop is installed correctly, then you can install HBase without issues. Here are the steps to install HBase on top of Hadoop.

## Table of Contents

1. [Commands to Install HBase](#hbase-install)
2. [Move HBase files to Hadoop Installed Location](#move-hbase-file)
3. [Verify HBase is installed correctly](#verify-hbase)
4. [How HBase Stores Data](#hbase-data-how-stores)

## 1. Commands to Install HBase

**wget** [http://www-us.apache.org/dist/hbase/](http://www-us.apache.org/dist/hbase/)

# The above command is useful to download the Tar file.

**sudo** **tar** -xvf hbase-1.2.4-bin.tar.gz

# The above command is useful to Untar the downloaded Tar file.

## 2. Move HBase file to Hadoop Installed Location

You need to move HBase to where Hadoop is installed.

/usr/local/hbase

**Use the ‘mv’ command to move HBase:**

sudo mv hbase-1.2.4-bin /usr/local/hbase

**Why /usr/local/hbase? During the installation of Hadoop, a folder called HBase is already created in the same path. So, you need to move it to the same location.**

## 3. How to Verify HBase is Installed?

cd /usr/local/hbase

Go there and open hbase-site.xml using gedit.

- cd conf
- sudo gedit hbase-site.xml

You can find

```
<configuration>
</configuration>
```

## 4. How HBase Stores Data

It is a column-oriented database. It stores data in the form of Key-Value. In the case of RDBMS, it is in rows.

| Row-id | Emp-name | Emp-dept |
| --- | --- | --- |
| 101 | Venkat | Heavy Engg |
| 102 | Srinimf | Software |

*HBase Data Structure*

Related[System Admin Roles & Responsibilities](https://srinimf.com/2013/03/19/system-admin-roles-responsibilities/)

References

- [Big Data and Hadoop: Learn by Example](https://amzn.to/3eyn46Z)
- [APACHE SPARK AND SCALA FOR BEGINNERS: 2 BOOKS IN 1 – Learn Coding Fast! APACHE SPARK AND SCALA Crash Course, A QuickStart Guide, Tutorial Book by Program Examples, In Easy Steps!](https://amzn.to/2OkWdkd)

# [Top 10](https://srinimf.com/2017/08/28/10-sqoop-interview-questions/)0 Hadoop Complex [Interview Questions](https://srinimf.com/2019/03/20/top-golang-interview-questions/)

Useful Interview Questions for Beginners and Experienced Software Engineers.

[Learn more](https://www.biganalytics.me/2015/09/hadoop-complex-interview-questions-part-1.html)

SQL

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2021%2F03%2F14%2Fhow-to-install-hbase-properly%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2021%2F03%2Fpexels-photo-3184357.jpeg%3Ffit%3D1200%252C801%26ssl%3D1&description=How%20to%20Install%20HBase%20Properly)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2021/03/14/how-to-install-hbase-properly/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2021/03/14/how-to-install-hbase-properly/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2021/03/14/how-to-install-hbase-properly/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2021/03/14/how-to-install-hbase-properly/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20How%20to%20Install%20HBase%20Properly&body=https%3A%2F%2Fsrinimf.com%2F2021%2F03%2F14%2Fhow-to-install-hbase-properly%2F&share=email)
-

### Like this:

Like Loading…