Install hbase in bigdata

Hbase instalation steps

1.Download the hbase file

2.Copy the path and set the path in .bashrc

export HBASE_HOME=
export PATH=$PATH:$HBASE_HOME/bin


3.source .bashrc

4. go to hbase --> conf

5.Edit  "hbase-env.sh" file and give the java path in that

6.Then goto your hbase folder.Inside hbase folder create 2 folders HFiles and zookeeper

6.Then edit hbase-site.xml as follows

<configuration>
   //Here you have to set the path where you want HBase to store its files.
   <property>
      <name>hbase.rootdir</name>
      <value>file:/home/hadoop/HBase/HFiles</value>
   </property>

   //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/hadoop/zookeeper</value>
   </property>
</configuration>

now save that and coto terminal
start-hbase.sh
jps


hmaster should display


To goto hbase shell
-----------------------------------------------------------------------
hbase shell

Comments

Popular posts from this blog

Java Interview Preparation (conceptual)

Git Commands With Output Log

Java 8 Function Interface