Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11339 HBase MOB
  3. HBASE-13855

Race in multi threaded PartitionedMobCompactor causes NPE

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • hbase-11339
    • hbase-11339, 2.0.0
    • mob
    • None
    • Reviewed

    Description

      In PartitionedMobCompactor, mob files are split into partitions, the compactions of partitions run in parallel.
      The partitions share the same set of del files. There might be race conditions when open readers of del store files in each partition which can cause NPE.
      In this patch, we will pre-create the reader for each del store file to avoid this issue.

      Attachments

        1. HBASE-13855.diff
          3 kB
          Jingcheng Du

        Activity

          People

            jingcheng.du@intel.com Jingcheng Du
            jingcheng.du@intel.com Jingcheng Du
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: