You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Shengjie Min <ke...@gmail.com> on 2012/12/31 16:13:11 UTC

Hbase fbck gives orphan region error

Hi,

I have a hbase table called "test", everytime when I deploy my cluster, I
do a hbase fbck 1st before I create the actual "test" table. But now when I
did a fresh deployment (destroy all the vms and recreate the cluster), I
got the following error. I am confused why I am get orphan region error in
a fresh deployment? Where the leftover is coming from.

Version: 0.92.1-cdh4.1.1
12/12/31 14:36:42 INFO util.HBaseFsck: Loading regionsinfo from the .META.
table

12/12/31 14:36:42 INFO util.HBaseFsck: getHTableDescriptors == tableNames
=> []
12/12/31 14:36:42 WARN conf.Configuration: fs.default.name is deprecated.
Instead, use fs.defaultFS
Number of Tables: 0
Number of live region servers: 1
Number of dead region servers: 0
Master: hbase-master-01.qa.test,60000,1356962368386
Number of backup masters: 0
ERROR: Orphan region in HDFS: Unable to load .regioninfo from table test in
hdfs dir
hdfs://hadoop-namenode.qa04.cloud.internal/hbase/test/75b34fd47e7df5e63e4e0ec1d960b905!
 It may be an invalid format or version file.  Treating as an orphaned
regiondir.
12/12/31 14:36:42 WARN util.HBaseFsck: Failed to read .regioninfo file for
region null
java.io.FileNotFoundException: File does not exist:
/hbase/test/75b34fd47e7df5e63e4e0ec1d960b905/.regioninfo
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsUpdateTimes(FSNamesystem.java:1239)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1192)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1165)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1147)
at
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:383)
at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:170)
at
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:44064)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:453)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:898)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1693)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1689)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1687)

--
Shengjie Min

Re: Hbase fbck gives orphan region error

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Shengie,

        Also make sure your HDFS is out of the safemode.

Best Regards,
Tariq
+91-9741563634
https://mtariq.jux.com/


On Mon, Dec 31, 2012 at 8:54 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Hi Shengie,

Re: Hbase fbck gives orphan region error

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Shengie,

Can you take a look, using hadoop, at what is inside this directory?

/hbase/test/75b34fd47e7df5e63e4e0ec1d960b905

JM