See this comment for the suggestion of exposing thru JSON: https://issues.apache.org/jira/browse/HBASE-17436?focusedCommentId=16007568&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16007568
FYI On Sun, Dec 24, 2017 at 5:22 PM, Apekshit Sharma <a...@cloudera.com> wrote: > I started looking into more after last reply. > I think exposing this info can be useful to the operators - dashboard of > region states, or tools to quickly dump list of regions which require care, > etc > But wasn't thinking about hbase rest api so far. > I think web ui is not the right endpoint to expose json api when we already > have a whole well designed way to do it - REST apis. > It should rather be an addition to Table endpoints (table 14 here: > http://hbase.apache.org/book.html#_using_rest_endpoints). > > -- Appy > > On Sun, Dec 24, 2017 at 5:16 PM, Apekshit Sharma <a...@cloudera.com> > wrote: > > > More details: > > Proposed interface is json. > > Pros: > > - more info exposed to operators, can be used for scripting > > > > Cons: > > - We don't have functions in Admin to expose region states > > - We don't expose much programatic info through our web ui. > > > > -- Appy > > > > > > > > On Fri, Dec 22, 2017 at 6:01 PM, Ted Yu <yuzhih...@gmail.com> wrote: > > > >> Hi, > >> See (tail of) HBASE-17436 for detailed background information. > >> > >> Here is the summary: > >> > >> In HBASE-17436 (and HBASE-19594), region state is accessed thru web UI. > >> This is for helping operators gain better insight into the cluster > status. > >> > >> However, since RegionState is marked @InterfaceAudience.Private , we > (Appy > >> and I) want to present this discussion to the community to raise > >> awareness. > >> > >> Your comment is welcome. > >> > > > > > > > > -- > > > > -- Appy > > > > > > -- > > -- Appy >