You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2018/11/29 01:53:00 UTC

[jira] [Commented] (HBASE-21521) Expose master startup status via JMX and web UI

    [ https://issues.apache.org/jira/browse/HBASE-21521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702609#comment-16702609 ] 

Andrew Purtell commented on HBASE-21521:
----------------------------------------

We had a test environment stuck on log splitting and there wasn't sufficient logging to quickly and directly diagnose the problem. More generally it would be a big improvement if the master could indicate what phase of startup it is currently in as early as possible, and like the HDFS improvement should attempt to provide percentage completed, so operators have a quick way to determine where it might be stuck or slow. 

No reason to only do this for the master, but the master should be done first because the cluster isn't usable for new client instances until it has initialized (PleaseHoldException or MasterNotRunningYetException). 

> Expose master startup status via JMX and web UI
> -----------------------------------------------
>
>                 Key: HBASE-21521
>                 URL: https://issues.apache.org/jira/browse/HBASE-21521
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, UI
>            Reporter: Andrew Purtell
>            Priority: Major
>
> Add an internal API to the master for tracking startup progress. Expose this information via JMX.
> Modify the master to bring the web UI up sooner. Will require tweaks to various views to prevent attempts to retrieve state before the master fully up (or else expect NPEs). Currently, before the master has fully initialized an attempt to use the web UI will return a 500 error code and display an error page.
> Finally, update the web UI to display startup progress, like HDFS-4249. (Example: [^HDFS-4249-2.png)]
> Filing this for branch-1. Need to check what if anything is available or improved in branch-2 and master.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)