Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.98.3, 0.98.4, 0.98.5
-
None
-
Reviewed
-
stripe compaction
Description
StoreFlusher.flushSnapshot() mustn't return null value.
But StripeStoreFlusher.flushSnapshot() does.
It cause NullPointerException at org.apache.hadoop.hbase.regionserver.HStore.flushCache(HStore.java:802)
and this makes regions dead after exhaustive retries and no recovery available from it.
the code (StripeStoreFlusher:64) has to be changed
===============
from
List<Path> result = null
to
List<Path> result = new ArrayList<Path>();
===============
to return a empty list not null value.