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

Change the label from InterfaceAudience.Private to InterfaceAudience.LimitedPrivate for org.apache.hadoop.hbase.Server.java

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4.4
    • 3.0.0-beta-2
    • Coprocessors
    • None

    Description

      Currently the class org.apache.hadoop.hbase.Server.java is marked InterfaceAudience.Private.

      This prevents in getting shared zookeeper watcher (ZKWatcher) instances from org.apache.hadoop.hbase.regionserver.RegionServerServices.java (extends org.apache.hadoop.hbase.Server.java) using the method getZooKeeper().

       

      This creates a problem in writing custom Coprocessors because now we don't have a shared ZKWatcher instance.

       

      The proposed solution is to use the InterfaceAudience.LimitedPrivate. 

      Attachments

        Activity

          People

            shubhamroy Shubham Roy
            shubhamroy Shubham Roy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: