[ 
https://issues.apache.org/jira/browse/HBASE-8975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Daniel Cryans resolved HBASE-8975.
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Committed to 0.95 and trunk, thanks guys.
                
> NPE/HTTP 500 when opening the master's web UI too early
> -------------------------------------------------------
>
>                 Key: HBASE-8975
>                 URL: https://issues.apache.org/jira/browse/HBASE-8975
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: HBASE-8975.patch, HBASE-8975-v2.patch
>
>
> I'm getting an ugly NPE when trying to open the master's web UI too fast 
> after starting it:
> {noformat}
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.hbase.master.HMaster.getCoprocessors(HMaster.java:2053)
>       at 
> org.apache.hadoop.hbase.master.HMaster.getClusterStatus(HMaster.java:2003)
>       at 
> org.apache.hadoop.hbase.tmpl.master.BackupMasterStatusTmplImpl.renderNoFlush(BackupMasterStatusTmplImpl.java:39)
>       at 
> org.apache.hadoop.hbase.tmpl.master.BackupMasterStatusTmpl.renderNoFlush(BackupMasterStatusTmpl.java:111)
>       at 
> org.apache.hadoop.hbase.tmpl.master.MasterStatusTmplImpl.renderNoFlush(MasterStatusTmplImpl.java:237)
>       at 
> org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.renderNoFlush(MasterStatusTmpl.java:376)
>       at 
> org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.render(MasterStatusTmpl.java:366)
>       at 
> org.apache.hadoop.hbase.master.MasterStatusServlet.doGet(MasterStatusServlet.java:92)
> ...
> {noformat}
> At that point the ServerManager == null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to