You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Venkateswara Rao Dokku <dv...@gmail.com> on 2012/09/20 12:02:27 UTC

H-base Clustering

Hi,
      I am new to Hbase & I wanted to Cluster Hbase on 2 nodes. I put one
of my nodes as hadoop-namenodeas well as hbase-master & the other node as
hadoop-datanode1 as well as hbase-region-server1. I started hadoop cluster
as well as Hbase on the name-node side. They started fine. But when I try
to create tabes in Hbase shell I got the following error.

hbase(main):001:0> create 't1','f1'

ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed
after attempts=7, exceptions:
Wed Sep 19 23:52:15 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Wed Sep 19 23:59:16 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Thu Sep 20 00:06:17 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Thu Sep 20 00:13:18 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Thu Sep 20 00:20:20 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Thu Sep 20 00:27:22 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.
Thu Sep 20 00:34:26 PDT 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1f4af32,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
region for t1,,00000000000000 after 7 tries.

Here is some help for this command:
Create table; pass table name, a dictionary of specifications per
column family, and optionally a dictionary of table configuration.
Dictionaries are described below in the GENERAL NOTES section.
Examples:

  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
  hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
  hbase> # The above in shorthand would be the following:
  hbase> create 't1', 'f1', 'f2', 'f3'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
BLOCKCACHE => true}
  hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
  hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}

I got the following processes running on the 2 nodes
*JPS(Master):*
17170 HMaster
17391 HRegionServer
16249 DataNode
16710 TaskTracker
17071 HQuorumPeer
16433 SecondaryNameNode
16535 JobTracker
16062 NameNode
19304 Jps
*JPS(Slave):*
5796 Jps
3964 TaskTracker
1954 -- process information unavailable
2106 NC
3806 DataNode

Could you please help me out on how to get out of this situation & to make
creation working.
Thanks for replying.
-- 
Thanks & Regards,
Venkateswara Rao Dokku.