hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8975) NPE/HTTP 500 when opening the master's web UI too early
Date Thu, 18 Jul 2013 06:56:55 GMT

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

Elliott Clark commented on HBASE-8975:
--------------------------------------

We probably want to return a 503 with a message saying not ready.
                
> 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
>
>
> 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

Mime
View raw message