[ https://issues.apache.org/jira/browse/HBASE-21521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916199#comment-16916199 ]
Andrew Purtell edited comment on HBASE-21521 at 8/26/19 11:00 PM: ------------------------------------------------------------------ What stack said. However, the inspiration for this idea comes in part from what HDFS does for their namenode: HDFS-4249 . Judging by the screenshot on that JIRA a lot of front end knowledge was not required. Looks like a table and some basic formatting. rendered once. To update you refetch at the browser. Namenode startup can be orders of magnitude longer than HBase master startup for all but the really abnormal cases (like hundreds of queued ServerCrashProcedures) so the pressure to do a detailed phase by phase status report update is less, but would still be nice. was (Author: apurtell): What stack said. However, the inspiration for this idea comes in part from what HDFS does for their namenode: HDFS-4249 Namenode startup can be orders of magnitude longer than HBase master startup for all but the really abnormal cases (like hundreds of queued ServerCrashProcedures) so the pressure to do a detailed phase by phase status report update is less, but would still be nice. > 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. > 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 (v8.3.2#803003)