Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11794

StripeStoreFlusher causes NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.98.3, 0.98.4, 0.98.5
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: Compaction
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      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.

        Attachments

        1. HBASE_11794.patch
          1 kB
          jeongmin kim
        2. HBASE_11794-v2.patch
          2 kB
          jeongmin kim

          Activity

            People

            • Assignee:
              eomiks jeongmin kim
              Reporter:
              eomiks jeongmin kim
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: