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

Missing security context in RegionObserver coprocessor when a compaction/split is triggered manually

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.98.20
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We ran into an interesting phenomenon which can easily render a cluster unusable.

      We loaded some tests data into a test table and forced a manual compaction through the UI. We have some compaction hooks implemented in a region observer, which writes back to another HBase table when the compaction finishes. We noticed that this coprocessor is not setup correctly, it seems the security context is missing.

      The interesting part is that this only happens when the compaction is triggere through the UI. Automatic compactions (major or minor) or when triggered via the HBase shell (folling a kinit) work fine. Only the UI-triggered compactions cause this issues and lead to essentially neverending compactions, immovable regions, etc.

      Not sure what exactly the issue is, but I wanted to make sure I capture this.

      Andrew Kyle Purtell, Gary Helmling, FYI.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                larsh Lars Hofhansl
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: