This looks like https://issues.apache.org/jira/browse/HBASE-1925.  A
storefile in the problematic region is missing its sequenceid.  Try
and figure it (see the issue for clues).  There is also the hfile tool
for examing metainfo in storefiles:

./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile

Do the above for usage.

Move aside the bad storefile in hdfs (./bin/hadoop fs -mv SRC TGT).
Region should deploy then.

Thereafter, please update your hbase so you get the fix that makes it
so this doesn't happen in future.

Yours,
St.Ack

On Mon, May 10, 2010 at 1:35 PM, g00dn3ss <g00dn...@gmail.com> wrote:
> Hi All,
>
> I have reams of errors in my master log for a single region.  It keeps
> trying and failing to open the region. An example of the exception is below.
>  Are there conceivable ways of fixing this or am I most likely going to have
> to delete the region.  If deleting the region is the likely option, are
> there any tools to help with this?  I saw the recent message from Stack
> describing how to delete a region. Does that mean I have to manually edit
> .META. from the hbase shell?  Do I also have to edit the .regioninfo files
> in the modified regions' directories with the new start/end keys?
>
> Thanks!
> (Exception follows)
>
> 2010-05-10 13:15:48,114 INFO  master.ProcessRegionClose$1
> (ProcessRegionClose.java:call(85)) - region set as unassigned: <regionid>
> 2010-05-10 13:15:48,123 INFO  master.RegionManager
> (RegionManager.java:doRegionAssignment(337)) - Assigning region <regionid>
> to <regionserver whatnot>
> 2010-05-10 13:15:48,144 INFO  master.ServerManager
> (ServerManager.java:processMsgs(441)) - Processing MSG_REPORT_CLOSE:
> <regionid>: java.lang.IllegalAccessError: Has not been initialized
>        at
> org.apache.hadoop.hbase.regionserver.StoreFile.getMaxSequenceId(StoreFile.java:216)
>        at
> org.apache.hadoop.hbase.regionserver.Store.loadStoreFiles(Store.java:417)
>        at org.apache.hadoop.hbase.regionserver.Store.<init>(Store.java:221)
>        at
> org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:1641)
>        at
> org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:320)
>        at
> org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateRegion(HRegionServer.java:1575)
>        at
> org.apache.hadoop.hbase.regionserver.HRegionServer.openRegion(HRegionServer.java:1542)
>        at
> org.apache.hadoop.hbase.regionserver.HRegionServer$Worker.run(HRegionServer.java:1462)
>        at java.lang.Thread.run(Unknown Source)
>

Reply via email to