Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18169 Coprocessor fix and cleanup before 2.0.0 release
  3. HBASE-12260

MasterServices needs a short-back-and-sides; pare-back exposure of internals and IA.Private classes

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-4, 2.0.0
    • Component/s: master
    • Labels:
      None

      Description

      A major issue with MasterServices is the MasterCoprocessorEnvironment exposes this class even though MasterServices is tagged with @InterfaceAudience.Private

      This means that the entire internals of the HMaster is essentially part of the coprocessor API. Many of the classes returned by the MasterServices API are highly internal, extremely powerful, and subject to constant change.

      Perhaps a new API to replace MasterServices that is use-case focused, and justified based on real world co-processors would suit things better.

        Attachments

        1. HBASE-12260.master.014.patch
          475 kB
          stack
        2. HBASE-12260.master.013.patch
          476 kB
          stack
        3. HBASE-12260.master.012.patch
          470 kB
          stack
        4. HBASE-12260.master.011.patch
          466 kB
          stack
        5. HBASE-12260.master.011.patch
          466 kB
          stack
        6. HBASE-12260.master.010.patch
          463 kB
          stack
        7. HBASE-12260.master.009.patch
          462 kB
          stack
        8. HBASE-12260.master.008.patch
          468 kB
          stack
        9. HBASE-12260.master.007.patch
          467 kB
          stack
        10. HBASE-12260.master.006.patch
          467 kB
          stack
        11. HBASE-12260.master.005.patch
          467 kB
          stack
        12. HBASE-12260.master.004.patch
          453 kB
          stack
        13. HBASE-12260.master.003.patch
          442 kB
          stack
        14. HBASE-12260.master.002.patch
          430 kB
          stack
        15. HBASE-12260.master.001.patch
          237 kB
          stack

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                ryanobjc ryan rawson
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: