You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2017/12/23 02:01:50 UTC
Accessing region state via web UI
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.
Re: Accessing region state via web UI
Posted by Janos Gub <jg...@hortonworks.com>.
I can align with putting it into the rest endpoint if we agree on that exposing it is not a problem.
Janos
On 12/25/17, 6:46 AM, "stack" <sa...@gmail.com> wrote:
REST endpoint more natural loci for programmatic consumers imo
On Dec 24, 2017 5:22 PM, "Apekshit Sharma" <ap...@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 <ap...@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 <yu...@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
>
Re: Accessing region state via web UI
Posted by stack <sa...@gmail.com>.
REST endpoint more natural loci for programmatic consumers imo
On Dec 24, 2017 5:22 PM, "Apekshit Sharma" <ap...@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 <ap...@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 <yu...@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
>
Re: Accessing region state via web UI
Posted by Ted Yu <yu...@gmail.com>.
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 <ap...@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 <ap...@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 <yu...@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
>
Re: Accessing region state via web UI
Posted by Apekshit Sharma <ap...@cloudera.com>.
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 <ap...@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 <yu...@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
Re: Accessing region state via web UI
Posted by Apekshit Sharma <ap...@cloudera.com>.
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 <yu...@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