Stripe Compaction in HBase 0.98 cause NullPointerException.

Document created by prasoon Employee on Feb 1, 2016
Version 1Show Document
  • View in full screen mode

Author: Prasoon Keloth

 

 

Original Publication Date: September 9, 2015

 

Environment      Mapr 4.0.1 

                               Hbase .98

 

Symptom

A major compaction command initiated from the HBase shell after converting a table to Stripe format can cause a NullPointerException that crashes the region server process:

2014-10-21 01:30:57,882 WARN [PriorityRpcServer.handler=1,queue=0,port=60020] regionserver.HStore: Failed validating store file null, retrying num=9
java.lang.NullPointerException at org.apache.hadoop.hbase.regionserver.HStore.flushCache(HStore.java:802)
at org.apache.hadoop.hbase.regionserver.HStore$StoreFlusherImpl.flushCache(HStore.java:1949)
at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1777)
at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1659)
at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:1572)
at org.apache.hadoop.hbase.regionserver.HRegionServer.flushRegion(HRegionServer.java:3826)
at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:20168)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2028) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:98)
at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)
at java.lang.Thread.run(Thread.java:744)
2014-10-21 01:30:57,883 FATAL [PriorityRpcServer.handler=1,queue=0,port=60020]

Root Cause

This issue is caused by a known bug in HBase. For details, see HBASE-11794

 

Solution

This issue is fixed in MapR HBase 0.98.6

Attachments

    Outcomes