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

Race in multi threaded PartitionedMobCompactor causes NPE

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: hbase-11339
    • Fix Version/s: hbase-11339, 2.0.0
    • Component/s: mob
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: