title: ERROR: java.io.IOException: Table Namespace Manager not ready yet, try again later
body: <p>I'm using HDP2 platform. While working with HBase.I'm trying to create table in hbase. Below is command i'm using.</p>
  
  <p>hbase(main):002:0> create 'test','cf1','cf2'</p>
  
  <p>But It gives me below error</p>
  
  <pre><code>ERROR: java.io.IOException: Table Namespace Manager not ready yet, try again later
          at org.apache.hadoop.hbase.master.HMaster.getNamespaceDescriptor(HMaster.java:3328)
          at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1781)
          at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1911)
          at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:40470)
          at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2078)
          at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
          at org.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:74)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
  
  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&gt; create 'ns1:t1', {NAME =&gt; 'f1', VERSIONS =&gt; 5}
  
  Create a table with namespace=default and table qualifier=t1
    hbase&gt; create 't1', {NAME =&gt; 'f1'}, {NAME =&gt; 'f2'}, {NAME =&gt; 'f3'}
    hbase&gt; # The above in shorthand would be the following:
    hbase&gt; create 't1', 'f1', 'f2', 'f3'
    hbase&gt; create 't1', {NAME =&gt; 'f1', VERSIONS =&gt; 1, TTL =&gt; 2592000, BLOCKCACHE =&gt; true}
    hbase&gt; create 't1', {NAME =&gt; 'f1', CONFIGURATION =&gt; {'hbase.hstore.blockingStoreFiles' =&gt; '10'}}
  
  Table configuration options can be put at the end.
  Examples:
  
    hbase&gt; create 'ns1:t1', 'f1', SPLITS =&gt; ['10', '20', '30', '40']
    hbase&gt; create 't1', 'f1', SPLITS =&gt; ['10', '20', '30', '40']
    hbase&gt; create 't1', 'f1', SPLITS_FILE =&gt; 'splits.txt', OWNER =&gt; 'johndoe'
    hbase&gt; create 't1', {NAME =&gt; 'f1', VERSIONS =&gt; 5}, METADATA =&gt; { 'mykey' =&gt; 'myvalue' }
    hbase&gt; # Optionally pre-split the table into NUMREGIONS, using
    hbase&gt; # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
    hbase&gt; create 't1', 'f1', {NUMREGIONS =&gt; 15, SPLITALGO =&gt; 'HexStringSplit'}
    hbase&gt; create 't1', 'f1', {NUMREGIONS =&gt; 15, SPLITALGO =&gt; 'HexStringSplit', REGION_REPLICATION =&gt; 2, CONFIGURATION =&gt; {'hbase.hregion.scan.loadColumnFamiliesOnDemand'
   =&gt; 'true'}}
  
  You can also keep around a reference to the created table:
  
    hbase&gt; t1 = create 't1', 'f1'
  
  Which gives you a reference to the table named 't1', on which you can then
  call methods
  </code></pre>
  
  <p>.</p>
  
  <p>Below is my hbase-site.xml file</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="configuration.xsl"?&gt;
  &lt;!--
  /**
   * Copyright 2010 The Apache Software Foundation
   *
   * Licensed to the Apache Software Foundation (ASF) under one
   * or more contributor license agreements.  See the NOTICE file
   * distributed with this work for additional information
   * regarding copyright ownership.  The ASF licenses this file
   * to you under the Apache License, Version 2.0 (the
   * "License"); you may not use this file except in compliance
   * with the License.  You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  --&gt;
  &lt;configuration&gt;
    &lt;property&gt;
      &lt;name&gt;hbase.rootdir&lt;/name&gt;
      &lt;value&gt;hdfs://severname:8020/apps/hbase/data&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
      &lt;value&gt;true&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
      &lt;value&gt;my_server_name&lt;/value&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
      &lt;name&gt;hbase.log.dir&lt;/name&gt;
      &lt;value&gt;d:\hadoop\logs\hbase&lt;/value&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
      &lt;name&gt;hbase.regionserver.wal.codec&lt;/name&gt;
      &lt;value&gt;org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec&lt;/value&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
      &lt;name&gt;hbase.zookeeper.property.clientPort&lt;/name&gt;
      &lt;value&gt;2181&lt;/value&gt;
    &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p><strong>Please help me to resolve this.</strong></p>