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

Coprocessor service methods in HTableInterface should be annotated public

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.96.0
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: Client
    • Labels:
      None

      Description

      The HTableInterface.coprocessorService(...) and HTableInterface.batchCoprocessorService(...) methods were made private in HBASE-9529, when the coprocessor APIs were seen as unstable and evolving.

      However, these methods represent a standard way for clients to use custom APIs exposed via coprocessors. In that sense, they are targeted at general HBase users (who may run but not develop coprocessors), as opposed to coprocessor developers who want to extend HBase.

      The coprocessor endpoint API has also remained much more stable than the coprocessor Observer interfaces, which tend to change along with HBase internals. So there should not be much difficulty in supporting these methods as part of the public API.

      I think we should drop the @InterfaceAudience.Private annotation on these methods and support them as part of the public HTableInterface.

        Attachments

        1. HBASE-11800.patch
          6 kB
          Gary Helmling
        2. HBASE-11800_2.patch
          6 kB
          Gary Helmling

          Issue Links

            Activity

              People

              • Assignee:
                ghelmling Gary Helmling
                Reporter:
                ghelmling Gary Helmling
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: