Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8975

NPE/HTTP 500 when opening the master's web UI too early

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.2
    • None
    • None
    • Reviewed

    Description

      I'm getting an ugly NPE when trying to open the master's web UI too fast after starting it:

      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)
      ...
      

      At that point the ServerManager == null.

      Attachments

        1. HBASE-8975.patch
          0.8 kB
          Jean-Daniel Cryans
        2. HBASE-8975-v2.patch
          0.8 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: