hbase-issues mailing list archives

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

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

Hudson commented on HBASE-13777:
--------------------------------

FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #958 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/958/])
HBASE-13777 Table fragmentation display triggers NPE on master status page (larsgeorge: rev
3e9542b1e5041a8cb036b5dc1418c0d595c6cbda)
* hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon


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