HBASE waiting for regionservers count to settle

204 views
Skip to first unread message

Rahul k

unread,
Oct 7, 2014, 7:02:42 AM10/7/14
to rha...@googlegroups.com

I am unable to create table in my Hbase. When i use the create command for creating table it is throwing the following error:

hbase(main):001:0> create 'ta1','fa1'

ERROR: java.io.IOException: Table Namespace Manager not ready yet, try again later
        at org.apache.hadoop.hbase.master.HMaster.getNamespaceDescriptor(HMaster.java:3121)
        at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1741)
        at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1780)
        at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:38221)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2185)
        at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1889)

Here is some help for this command:
Creates a table. Pass a table name, and a set of column family
specifications (at least one), and, optionally, table configuration.
Column specification can be a simple string (name), or a dictionary
(dictionaries are described below in main help output), necessarily
including NAME attribute.
Examples:

Create a table with namespace=ns1 and table qualifier=t1
  hbase> create 'ns1:t1', {NAME => 'f1', VERSIONS => 5}

Create a table with namespace=default and table qualifier=t1
  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', {NAME => 'f1', CONFIGURATION => {'hbase.hstore.blockingStoreFiles' => '10'}}

Table configuration options can be put at the end.
Examples:

  hbase> create 'ns1:t1', 'f1', SPLITS => ['10', '20', '30', '40']
  hbase> create 't1', 'f1', SPLITS => ['10', '20', '30', '40']
  hbase> create 't1', 'f1', SPLITS_FILE => 'splits.txt', OWNER => 'johndoe'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}, METADATA => { 'mykey' => 'myvalue' }
  hbase> # Optionally pre-split the table into NUMREGIONS, using
  hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
  hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}
  hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit', CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}

You can also keep around a reference to the created table:

  hbase> t1 = create 't1', 'f1'

Which gives you a reference to the table named 't1', on which you can then
call methods.

when i checked with Hbase UI. It is showing zero HregionServers. But Hregionservers are up & running. When i checked with Hmaster log files. It says it is waiting for Hregionservers count to settle. & when I checked with region servers log it is saying Couldn't find master. Any help would be really appreciated.

MY Hbase version:0.96 , Hadoop verion-1.2.1,zookeeper 3.4.6

Antonio Piccolboni

unread,
Oct 7, 2014, 5:40:59 PM10/7/14
to rha...@googlegroups.com
Hi, 
not sure how this slipped through the cracks, but this groups is not about Hbase in general, only rhbase, the R package to access Hbase.
Please redirect your query to the appropriate forums.

Antonio
Reply all
Reply to author
Forward
0 new messages