Wednesday, June 30, 2010

HDFS, HBASE, ZooKeeper Cluster Configuration

[hadoop@narmada1 hbase]$ bin/start-hbase.sh
starting master, logging to /u01/hbase/bin/../logs/hbase-hadoop-master-localhost2.out
localhost2: starting regionserver, logging to /u01/hbase/bin/../logs/hbase-hadoop-regionserver-localhost2.out
localhost1 : starting regionserver, logging to /u01/hbase/bin/../logs/hbase-hadoop-regionserver-localhost1.out
[hadoop@narmada1 hbase]$ /opt/jdk1.6.0_20/bin/jps
5179 SecondaryNameNode
5004 DataNode
6198 HRegionServer
5326 QuorumPeerMain
6043 HMaster
6326 Jps
4853 NameNode

Checking the Hbase cluster configuration:

[hadoop@narmada1 hbase]$ bin/hbase shell
HBase Shell; enter 'help' for list of supported commands.
Version: 0.20.4, r941076, Tue May  4 16:23:06 PDT 2010
hbase(main):001:0> create 'Test_table'
0 row(s) in 1.2080 seconds
hbase(main):002:0> describe 'Test_table'
DESCRIPTION                                                             ENABLED
 {NAME => 'Test_table', FAMILIES => []}                                 true
1 row(s) in 0.0380 seconds
hbase(main):003:0> exit

[hadoop@narmada2 bin]$ ./hbase shell
HBase Shell; enter 'help' for list of supported commands.
Version: 0.20.4, r941076, Tue May  4 16:23:06 PDT 2010
hbase(main):001:0> describe 'Test-table'
 {NAME => 'Test_table', FAMILIES => []}                                 true
1 row(s) in 0.0350 seconds
hbase(main):003:0> exit

No comments:

Post a Comment