Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A88C818CBA for ; Tue, 26 May 2015 15:02:23 +0000 (UTC) Received: (qmail 78555 invoked by uid 500); 26 May 2015 15:02:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 78503 invoked by uid 500); 26 May 2015 15:02:18 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 78491 invoked by uid 99); 26 May 2015 15:02:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 15:02:18 +0000 Date: Tue, 26 May 2015 15:02:18 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13777) Table fragmentation display triggers NPE on master status page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559208#comment-14559208 ] Jean-Marc Spaggiari commented on HBASE-13777: --------------------------------------------- Seems not ;) > 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 > > Steps to reproduce: > - Enable UI support for Fragmentation > {noformat} > > hbase.master.ui.fragmentation.enabled > true > > {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)