Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - HBase mapreduce job: unable to find region for a table


Copy link to this message
-
Re: HBase mapreduce job: unable to find region for a table
S. Zhou 2013-07-11, 18:42
Yes, I can see the table through hbase shell and web ui (localhost:60010). hbck reports ok
________________________________
 From: Jean-Marc Spaggiari <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; S. Zhou <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2013 11:01 AM
Subject: Re: HBase mapreduce job: unable to find region for a table
 
Hi,

Is your table properly served? Are you able to see it on the Web UI? Is you HBCK reporting everything correctly?

JM
2013/7/11 S. Zhou <[EMAIL PROTECTED]>

I am running a very simple MR HBase job (reading from a tiny HBase table and outputs nothing). I run it on a pseudo-distributed HBase cluster on my local machine which uses a pseudo-distributed HDFS (on local machine again). When I run it, I get the following exception: Unable to find region for test. But I am sure the table "test" exists.
>
>
>13/07/11 10:27:35 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x13fcec598d70005, negotiated timeout = 90000
>13/07/11 10:38:15 ERROR mapreduce.TableInputFormat: org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for test,,99999999999999 after 10 tries.
>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:980)
>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:885)
>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:987)
>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:889)
>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:846)
>    at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:234)
>  .....
>
>Here is my HBase hbase-site.xml file:
><configuration>
>  <property>
>    <name>hbase.rootdir</name>
>    <value>hdfs://127.0.0.1:9000/hbase</value>
>  </property>
>  <property>
>    <name>hbase.cluster.distributed</name>
>    <value>true</value>
>  </property>
> <property>
>    <name>hbase.zookeeper.quorum</name>
>    <value>127.0.0.1</value>
>  </property>
>
></configuration>
>