You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Shubham Roy (Jira)" <ji...@apache.org> on 2023/07/07 04:19:00 UTC
[jira] [Updated] (HBASE-27965) Change the label from InterfaceAudience.Private to InterfaceAudience.LimitedPrivate for org.apache.hadoop.hbase.Server.java
[ https://issues.apache.org/jira/browse/HBASE-27965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shubham Roy updated HBASE-27965:
--------------------------------
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. }}
was:
{{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. }}
> Change the label from InterfaceAudience.Private to InterfaceAudience.LimitedPrivate for org.apache.hadoop.hbase.Server.java
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-27965
> URL: https://issues.apache.org/jira/browse/HBASE-27965
> Project: HBase
> Issue Type: Task
> Components: Coprocessors
> Affects Versions: 2.4.4
> Reporter: Shubham Roy
> Priority: Minor
>
> 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. }}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)