Install HBase on Linux dev

My dev environment

Ubuntu 14.04 LTS, HBase 1.2.1, Java 8, Hadoop 2.2.0

Prerequisites:

Java. How to install:  http://dmitrypukhov.pro/install-java8-on-ubuntu/

Hadoop. How to install: http://dmitrypukhov.pro/install-hadoop-on-ubuntu/

Installation steps

  1. Download HBase. At the time of writing this article it is 1.2.1 version: http://apache-mirror.rbc.ru/pub/apache/hbase/1.2.1/
  2. Extract downloaded archive to installation folder /opt/hbase/
  3. Edit /opt/hbase/conf/hbase-site.xml
  4. If hdfs is stopped, start it /opt/hadoop/sbin/start-dfs.sh
  5. Start hbase /opt/hbase/bin/start-hbase.sh

Use HBase shell

Start it by /opt/hbase/bin/hbase shell

Run your commands

 

One thought on “Install HBase on Linux dev

  1. Pingback: Work with HBase from Spark shell | Dmitry Pukhov

Leave a Reply

Your email address will not be published.