Apache HBase installation on Hadoop single node
Follow below Few steps to install Apache Hadoop.
I am considering you have already installed hadoop. if not Follow this link to install hadoop
Steps :
1) Download a latest stable version of Hbase site .
Link to Download
2) Extract tar file using below command
sudo tar -zxvf hbase-1.1.6-bin.tar.gz
3) Move exactracted tar containts in you /usr/local/hbase directory
sudo mv hbase-1.1.6-bin /usr/local/hbase
4) Export HBase Conf directory using below commands
export HBASE_HOME=/usr/local/hbase
export HBASE_CONF_DIR=$HBASE_HOME/conf
export HBASE_CLASS_PATH=$HBASE_CONF_DIR
export PATH=$HBASE_HOME/bin:$PATH
Or you can add it to ~/.bashrc , So no need export Habse conf directory every time
sudo nano ~/.bashrc
add below lines in the end of file
export HBASE_HOME=/usr/local/hbase
export HBASE_CONF_DIR=$HBASE_HOME/conf
export HBASE_CLASS_PATH=$HBASE_CONF_DIR
export PATH=$HBASE_HOME/bin:$PATH
Save and close file.
Run below command to get effect of newly added lines.
source ~/.bashrc
5) Run your first Hbase command on terminal.
hbase version
Learn how to Install Hive and Pig @ Hadoop Ecosystem Installation steps
I am considering you have already installed hadoop. if not Follow this link to install hadoop
Steps :
1) Download a latest stable version of Hbase site .
Link to Download
2) Extract tar file using below command
sudo tar -zxvf hbase-1.1.6-bin.tar.gz
3) Move exactracted tar containts in you /usr/local/hbase directory
sudo mv hbase-1.1.6-bin /usr/local/hbase
4) Export HBase Conf directory using below commands
export HBASE_HOME=/usr/local/hbase
export HBASE_CONF_DIR=$HBASE_HOME/conf
export HBASE_CLASS_PATH=$HBASE_CONF_DIR
export PATH=$HBASE_HOME/bin:$PATH
Or you can add it to ~/.bashrc , So no need export Habse conf directory every time
sudo nano ~/.bashrc
add below lines in the end of file
export HBASE_HOME=/usr/local/hbase
export HBASE_CONF_DIR=$HBASE_HOME/conf
export HBASE_CLASS_PATH=$HBASE_CONF_DIR
export PATH=$HBASE_HOME/bin:$PATH
Save and close file.
Run below command to get effect of newly added lines.
source ~/.bashrc
5) Run your first Hbase command on terminal.
hbase version
Learn how to Install Hive and Pig @ Hadoop Ecosystem Installation steps
Post a Comment
image video quote pre code