HBASE
Installation Steps:
1) Steps to download and Install Habse in local
machine
Link :
http://archanaschangale.wordpress.com/2013/08/29/installing-apache-hbase-on-ubuntu-for-standalone-mode/comment-page-1/
2) extract it and place the hbase folder in
/usr/local.
3) Change the conf/hbase-env.sh //add below
lines.
export
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
#export HADOOP_HOME=/usr/local/hadoop-1.2.1
#export
HADOOP_CONF_DIR=/usr/local/hadoop-1.2.1/conf
export
HBASE_LOG_DIR=/usr/local/hbase-0.94.8/logs
export
HBASE_PID_DIR=/usr/local/hbase-0.94.8/pids
#export HBASE_MANAGES_ZK=true
4) Change the conf/hbase-site.xml //add below
lines
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:////usr/local/HBASE/HBaseData></value>
</property>
</configuration>
5) Add HBASE_HOME and PATH in bashrc file :
export HBASE_HOME=/usr/local/HBASE/hbase-0.94.18
export PATH=$PATH:$HBASE_HOME/bin
6) source ~/.bashrc
7) Change local host : 127.0.0.1 and pc ip as
well to 127.0.0.1 in /etc/hosts
8) Go to bin directory of hbase and run start sh
file
9) For stopping the hbase run stop sh file.
No comments:
Post a Comment