hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13777) Table fragmentation display triggers NPE on master status page
Date Thu, 28 May 2015 08:20:17 GMT

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

Lars George updated HBASE-13777:
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.98.14
           Status: Resolved  (was: Patch Available)

> Table fragmentation display triggers NPE on master status page
> --------------------------------------------------------------
>
>                 Key: HBASE-13777
>                 URL: https://issues.apache.org/jira/browse/HBASE-13777
>             Project: HBase
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 1.1.0
>            Reporter: Lars George
>            Assignee: Lars George
>              Labels: beginner
>             Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.1
>
>         Attachments: 0001-HBASE-13777-Table-fragmentation-display-triggers-NPE.patch
>
>
> Steps to reproduce:
> - Enable UI support for Fragmentation
> {noformat}
>   <property>
>     <name>hbase.master.ui.fragmentation.enabled</name>
>     <value>true</value>
>   </property>
> {noformat}
> Make sure to restart HBase.
> - Create NSes and table
> {noformat}
> hbase(main):004:0> create_namespace 'testqauat'
> 0 row(s) in 0.0370 seconds
> hbase(main):005:0> create_namespace 'financedept'
> 0 row(s) in 0.0100 seconds
> hbase(main):006:0> create_namespace 'engdept'
> 0 row(s) in 0.0090 seconds
> hbase(main):007:0> create 'testqauat:testtable', 'cf1'
> 0 row(s) in 1.2590 seconds
> => Hbase::Table - testqauat:testtable
> hbase(main):008:0> for i in 'a'..'z' do for j in 'a'..'z' do put 'testqauat:testtable',
"row-#{i}#{j}", "cf1:#{j}", "#{j}" end end
> {noformat}
> - Reload the master UI page and you get:
> {noformat}
> HTTP ERROR 500
> Problem accessing /master-status. Reason:
>     INTERNAL_SERVER_ERROR
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmplImpl.__jamon_innerUnit__userTables(MasterStatusTmplImpl.java:685)
> 	at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmplImpl.renderNoFlush(MasterStatusTmplImpl.java:268)
> 	at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.renderNoFlush(MasterStatusTmpl.java:377)
> 	at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.render(MasterStatusTmpl.java:368)
> 	at org.apache.hadoop.hbase.master.MasterStatusServlet.doGet(MasterStatusServlet.java:81)
> ...
> {noformat}
> Note that the table.jsp page works fine, just the master page fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message