Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
2.1.0, 2.0.0
-
None
-
None
Description
OfflineMetaRepair fails with NPE, execute below command
hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair -fix
2019-01-02 16:22:56,387 INFO [main] regionserver.HRegion: Opened 1588230740; next sequenceid=28 2019-01-02 16:22:56,459 ERROR [main] hbck.OfflineMetaRepair: Bailed out due to: java.lang.NullPointerException at org.apache.hadoop.hbase.regionserver.MemStoreLABImpl.getOrMakeChunk(MemStoreLABImpl.java:335) at org.apache.hadoop.hbase.regionserver.MemStoreLABImpl.copyCellInto(MemStoreLABImpl.java:193) at org.apache.hadoop.hbase.regionserver.MemStoreLABImpl.copyCellInto(MemStoreLABImpl.java:115) at org.apache.hadoop.hbase.regionserver.Segment.maybeCloneWithAllocator(Segment.java:183) at org.apache.hadoop.hbase.regionserver.AbstractMemStore.maybeCloneWithAllocator(AbstractMemStore.java:334) at org.apache.hadoop.hbase.regionserver.AbstractMemStore.doAdd(AbstractMemStore.java:157) at org.apache.hadoop.hbase.regionserver.AbstractMemStore.doAddOrUpsert(AbstractMemStore.java:147) at org.apache.hadoop.hbase.regionserver.AbstractMemStore.add(AbstractMemStore.java:117) at org.apache.hadoop.hbase.regionserver.AbstractMemStore.add(AbstractMemStore.java:111) at org.apache.hadoop.hbase.regionserver.HStore.add(HStore.java:750) at org.apache.hadoop.hbase.regionserver.HRegion.applyToMemStore(HRegion.java:4435) at org.apache.hadoop.hbase.regionserver.HRegion.access$500(HRegion.java:228) at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.applyFamilyMapToMemStore(HRegion.java:3495) at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.lambda$writeMiniBatchOperationsToMemStore$0(HRegion.java:3186) at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.visitBatchOperations(HRegion.java:3119) at org.apache.hadoop.hbase.regionserver.HRegion$BatchOperation.writeMiniBatchOperationsToMemStore(HRegion.java:3178) at org.apache.hadoop.hbase.regionserver.HRegion$MutationBatchOperation.writeMiniBatchOperationsToMemStore(HRegion.java:3660) at org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutate(HRegion.java:4073) at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:4006) at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3937) at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3928) at org.apache.hadoop.hbase.util.HBaseFsck.rebuildMeta(HBaseFsck.java:1665) at org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair.main(OfflineMetaRepair.java:121)
Attachments
Attachments
Issue Links
- is related to
-
HBASE-22690 Deprecate / Remove OfflineMetaRepair in hbase-2+
- Resolved
-
HBASE-21745 Make HBCK2 be able to fix issues other than region assignment
- Resolved
- supercedes
-
HBASE-22680 [HBCK2] OfflineMetaRepair for hbase2/hbck2
- Resolved