You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "jeongmin kim (JIRA)" <ji...@apache.org> on 2014/08/21 09:28:33 UTC

[jira] [Created] (HBASE-11794) StripeStoreFlusher causes NullPointerException and Region down

jeongmin kim created HBASE-11794:
------------------------------------

             Summary: StripeStoreFlusher causes NullPointerException and Region down
                 Key: HBASE-11794
                 URL: https://issues.apache.org/jira/browse/HBASE-11794
             Project: HBase
          Issue Type: Bug
          Components: Compaction
    Affects Versions: 0.98.5
            Reporter: jeongmin kim
            Priority: Critical


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.
    



--
This message was sent by Atlassian JIRA
(v6.2#6252)