My goal is to setup a pseudo distributed type with only one node but connected with HDFS.
So I need to fill with HDFS port and path to connect with HDFS.
HBase use ZooKeeper to manage cluster and resouce state, you need to specify the ZK temporary file to store voting status. Here my zookeeper path is /opt/zookeeper
As you can see that my hbase path in HDFS is /user/hbase, hence we need to create and grant write privilege on this path for hbase.
Now our simplest single node distributed hbase completed.
Of course you need HDFS started, which I skip here.
If everything runs smoothly, this will command with only output few lines, but you could find log file in your $HBASE_HOME/logs
[master:localhost:60000] master.HMaster: Master has completed initialization
Log above means the success of startup of HBase, cong!
Now just use few command to get in touch with hbase.
Since hbase is column oriented nosql database, you have to adjust to its column family style of organization of data.
Now you are able to enter hbase shell, let us rock.
Press CTRL+C for exit hbase shell.
execute command below to stop hbase server, this will automatically stop zookeeper either.