You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guo Ruijing (JIRA)" <ji...@apache.org> on 2014/05/16 13:13:48 UTC

[jira] [Commented] (HBASE-11193) hbase web UI show wrong Catalog Table Description

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

Guo Ruijing commented on HBASE-11193:
-------------------------------------

/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon:

<%java>TableName tableName = systemTable.getTableName();</%java>
<td><a href="table.jsp?name=<% tableName %>"><% tableName %></a></td>
<%if (frags != null)%>
<td align="center"><% frags.get(tableName.getNameAsString()) != null ? frags.get(tableName.getNameAsString())
.intValue() + "%" : "n/a" %></td>
</%if>
<%java>String description = null;
if (tableName.equals(TableName.META_TABLE_NAME))
{ description = "The hbase:meta table holds references to all User Table regions"; }

else
{ description = "The .NAMESPACE. table holds information about namespaces."; }

</%java>
<td><% description %></td>

<<< we should add tableName.equals(TableName.XXXX) for ACL


> hbase web UI show wrong Catalog Table Description
> -------------------------------------------------
>
>                 Key: HBASE-11193
>                 URL: https://issues.apache.org/jira/browse/HBASE-11193
>             Project: HBase
>          Issue Type: Bug
>          Components: UI
>            Reporter: Guo Ruijing
>
> On security cluster, check the hbase master web page and look into 'Catalog Tables' on 'Tables' Section, the Description for 'hbase:acl' table is not expected:
> –
> Table Name Description
> *hbase:acl The .NAMESPACE. table holds information about namespaces.*
> hbase:meta The hbase:meta table holds references to all User Table regions
> hbase:namespace The .NAMESPACE. table holds information about namespaces



--
This message was sent by Atlassian JIRA
(v6.2#6252)