HBase
  1. HBase
  2. HBASE-11368

Multi-column family BulkLoad fails if compactions go on too long

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Compactions take a read lock. If a multi-column family region, before bulk loading, we want to take a write lock on the region. If the compaction takes too long, the bulk load fails.

      Various recipes include:
      + Making smaller regions (lame)
      + Victor Xu suggests major compacting just before bulk loading over in HBASE-10882 as a work around.

      Does the compaction need a read lock for that long? Does the bulk load need a full write lock when multiple column families? Can we fail more gracefully at least?

      1. hbase-11368-0.98.5.patch
        4 kB
        Qiang Tian
      2. hbase11368-master.patch
        4 kB
        Qiang Tian
      3. key_stacktrace_hbase10882.TXT
        11 kB
        Qiang Tian
      4. performance_improvement_verification_98.5.patch
        7 kB
        Qiang Tian

        Activity

        stack created issue -
        Qiang Tian made changes -
        Field Original Value New Value
        Assignee Qiang Tian [ tianq ]
        Qiang Tian made changes -
        Attachment hbase-11368-0.98.5.patch [ 12674719 ]
        Qiang Tian made changes -
        Qiang Tian made changes -
        Attachment key_stacktrace_hbase10882.TXT [ 12677097 ]
        Qiang Tian made changes -
        Attachment hbase11368-master.patch [ 12677543 ]
        Qiang Tian made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]

          People

          • Assignee:
            Qiang Tian
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:

              Development