You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/12 00:29:00 UTC
[jira] [Resolved] (HBASE-3119) [rest] publish endpoint and statistics into ZooKeeper
[ https://issues.apache.org/jira/browse/HBASE-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell resolved HBASE-3119.
----------------------------------------
Resolution: Abandoned
> [rest] publish endpoint and statistics into ZooKeeper
> -----------------------------------------------------
>
> Key: HBASE-3119
> URL: https://issues.apache.org/jira/browse/HBASE-3119
> Project: HBase
> Issue Type: Improvement
> Components: REST
> Reporter: Andrew Kyle Purtell
> Priority: Minor
> Attachments: HBASE-3119.patch
>
>
> This change allows the REST interface to publish its endpoint and metrics, currently only requests/sec, into ZooKeeper. By default a permanent znode tree is created as needed at {{/hbase/rest/status}} and Stargate instances create ephemeral children of this with names in the format {{<host>:<port>}}. The ephemeral znodes contain JSON serialized information about the instance, e.g.
> {{{"connector":{"host":"restserver.example.com","port":"8080"},"statistics":{"requests":"13"}}}}
> The function of Stargate itself is not affected, except for one significant change: now if the ZooKeeper service is lost, the Stargate instances will abort along with the rest of HBase.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)