hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shengjie Min <kelvin....@gmail.com>
Subject Hbase fbck gives orphan region error
Date Mon, 31 Dec 2012 15:13:11 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message