Using Hbase
Hbase is upper layer to HDFS. It shows HDFS data in tablizer form.
After Hbase installation:
check- localhost:50070
You will see data in table format.
Steps to start Hbase:
1: Format namenode
vishal@localhost:~/hadoop/bin$ ./hadoop namenode -format
2: Start Hadoop
vishal@localhost:~/hadoop/sbin$ ./start-all.sh
3: turn off safe mode
vishal@localhost:~/hadoop/bin$ ./hadoop dfsadmin -safemode leave
4: Start Hbase
vishal@localhost:~/Hbase/hbase-0.96.1.1-hadoop2/bin$ start-hbase.sh
5: Check java processes
@localhost:~/Hbase/hbase-0.96.1.1-hadoop2/bin$ jps
5523 DataNode
5965 NodeManager
6515 HQuorumPeer
6729 HRegionServer
6806 Jps
6578 HMaster
5837 ResourceManager
5700 SecondaryNameNode
5380 NameNode
6: Enter URL in Browser
A) localhost:50070
Hbase is upper layer to HDFS. It shows HDFS data in tablizer form.
After Hbase installation:
check- localhost:50070
You will see data in table format.
Steps to start Hbase:
1: Format namenode
vishal@localhost:~/hadoop/bin$ ./hadoop namenode -format
2: Start Hadoop
vishal@localhost:~/hadoop/sbin$ ./start-all.sh
3: turn off safe mode
vishal@localhost:~/hadoop/bin$ ./hadoop dfsadmin -safemode leave
4: Start Hbase
vishal@localhost:~/Hbase/hbase-0.96.1.1-hadoop2/bin$ start-hbase.sh
5: Check java processes
@localhost:~/Hbase/hbase-0.96.1.1-hadoop2/bin$ jps
5523 DataNode
5965 NodeManager
6515 HQuorumPeer
6729 HRegionServer
6806 Jps
6578 HMaster
5837 ResourceManager
5700 SecondaryNameNode
5380 NameNode
6: Enter URL in Browser
A) localhost:50070
B) Click on Browse the filesystem
No comments:
Post a Comment