Configuring Hbase - manojkumar3036/BigData-using-Hadoop GitHub Wiki
- Download the stable version of hbase. Following is the link > https://www-us.apache.org/dist/hbase/stable/ [Download the binary version of the hbase]
- Now untar the .gz file by typing the command in linux:
tar -xzvf hbase-1.2.6-bin.tar.gz
- Rename the file to hbase
- Below are the commands
cd hbase/conf
sudo nano hbase-env.sh` and add the following:
export JAVA_HOME=/path of your JAVA
sudo nano hbase-site.xml
and add the following inside the
<configuration> <property> <name>hbase.rootdir</name> <value>file:/home/manoj/hbase/HFiles</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/home/manoj/zookeeper</value> </property> </configuration>
cd ..
cd bin
./start-hbase.sh
hbase shell
By default port for accessing the hbase in the browser: http://localhost:16010/master-status