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

Refactor bulkLoad methods in AccessController to its own interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.9, 0.99.2
    • None
    • None
    • Reviewed
    • Adds new BulkLoadObserver Interface

    Description

      SecureBulkLoadEndPoint references couple of methods, prePrepareBulkLoad() and preCleanupBulkLoad(), implemented in AccessController i.e. direct coupling between AccessController and SecureBuikLoadEndPoint classes.

      SecureBulkLoadEndPoint assumes presence of AccessController in secure-cluster. If HBase is configured with another coprocessor for access-control, SecureBulkLoadEndPoint fails with NPE.

      To remove this direct coupling, bulk-load related methods in AccessController should be refactored to an interface; and have AccessController implement this interfaces. SecureBulkLoadEndPoint should then look for coprocessors that implement this interface, instead of directly looking for AccessController.

      Attachments

        1. 0001-HBASE-12277-Refactored-bulk-load-methods-from-Access.patch
          13 kB
          Madhan Neethiraj
        2. 0002-HBASE-12277-License-text-added-to-the-newly-created-.patch
          2 kB
          Madhan Neethiraj
        3. HBASE-12277.patch
          12 kB
          Madhan Neethiraj
        4. HBASE-12277-v2.patch
          12 kB
          Madhan Neethiraj
        5. HBASE-12277-v3.patch
          12 kB
          Madhan Neethiraj
        6. HBASE-12277-v4.patch
          12 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: