You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Michael Dagaev <mi...@gmail.com> on 2009/01/04 16:18:55 UTC

java.io.IOException: HRegionInfo was null or empty in .META.

Hi, All

     Recently our Hbase (0.18.1) client stopped working.
The log contains the exceptions received  from the server side:

    DEBUG org.apache.hadoop.hbase.client.HConnectionManager$TableServers:
    Attempt 8 of 10 failed with <java.io.IOException: HRegionInfo was
null or empty in .META.>.
    Retrying after sleep of 32000

Client restart does not help. We did not try to restart the Hbase
cluster though.

We run the Hbase shell on the client host and entered "put", "get", "scan"
to read/write data from/to a table and run "scan .META." in the Hbase shell.
Sometimes the commands failed because of "RetriesExhaustedException"
but most of the time they run fine. It is strange that they are
inconsistent though.

I guess the .META. is missing, damaged or somehow unavailable (e.g.
b/c of permissions).
Do you know where the .META. is located ? How can I check if it is available ?

Thank for your cooperation,
M.

Re: java.io.IOException: HRegionInfo was null or empty in .META.

Posted by Andrew Purtell <ap...@apache.org>.
Hi Michael,

What table is affected? Are there relevant entries for that
table in the HMaster log? Are there relevant entries in the
regionserver logs for either META or the affected table?

You can use the HMaster UI running on port 60010 to learn
which regionserver is hosting META:
   http://<hmaster>:60010/
then click on '.META.' listed under "Catalog Tables". 

Thanks,

   - Andy

> From: Michael Dagaev <mi...@gmail.com>
> Subject: java.io.IOException: HRegionInfo was null or empty
> in .META.
> To: hbase-user@hadoop.apache.org
> Date: Sunday, January 4, 2009, 7:18 AM
> Hi, All
> 
>      Recently our Hbase (0.18.1) client stopped working.
> The log contains the exceptions received  from the server
> side:
> 
>     DEBUG
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers:
>     Attempt 8 of 10 failed with <java.io.IOException:
> HRegionInfo was
> null or empty in .META.>.
>     Retrying after sleep of 32000
> 
> Client restart does not help. We did not try to restart the
> Hbase cluster though.
> 
> Do you know where the .META. is located ? How can I check
> if it is available ?
> 
> Thank for your cooperation,
> M.