Professional Documents
Culture Documents
gz
2.) mv hbase-1.2.5 /usr/local/hbase
3.) gedit ~/.bashrc
export HBASE_HOME=/usr/local/hbase
export PATH=$PATH:$HBASE_HOME/bin
4.) source ~/.bashrc
5.) cd /usr/local/hbase
6.) cd conf
7.) gedit hbase-env.sh
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
save file
//Here you have to set the path where you want HBase to store its built in zookeeper files.
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/cdac/zookeeper</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>
Save file