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

StripeStoreFlusher causes NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.98.3, 0.98.4, 0.98.5
    • 0.99.0, 0.98.6
    • Compaction
    • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: