Topic
  • 1 reply
  • Latest Post - ‏2014-08-24T22:46:51Z by Jing Chen He
DeepaVasanthkumar
DeepaVasanthkumar
1 Post

Pinned topic HBase NoServerForRegionException

‏2013-08-05T10:59:40Z |

While trying to put to HBase through Java API, NoServerForRegionException is getting thrown.

Code Snipplet :


Put rowData;

  rowData.add(Bytes.toBytes(columnfamilyName),
                            Bytes.toBytes(key), Bytes.toBytes(val));
                        table.put(rowData);

 table.put(rowData);

The following error is appearing.

Hbase:org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for ,,99999999999999 after 10 tries.>

From the command line using HBase Shell, if we try use put command, the same is working fine.

Also from the zookeeper logs, it seems that it is able to connect to HBase, and after which teh exception is getting thrown

Tried in IBM BigInsights Distribution.

Hmaster , region server are all up and running, also able to invoke HBase from java api  in jar placed in edge node.

I am invoking this from a web server(Hosted in a different machine in same network as that of BigInsights Cluster) by specifying the ip and quorom details.

Any thoughts on how to overcome this is highly appreciated.

Thanks for your time.

  • Jing Chen He
    Jing Chen He
    2 Posts

    Re: HBase NoServerForRegionException

    ‏2014-08-24T22:46:51Z  

    Hi, Deepa

     

    Did it happen during a heavy work load?