You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2019/10/25 00:46:00 UTC
[jira] [Resolved] (HBASE-23203) NPE in RSGroup info
[ https://issues.apache.org/jira/browse/HBASE-23203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-23203.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to master.
Thanks [~kpalanisamy] for contributing.
> NPE in RSGroup info
> -------------------
>
> Key: HBASE-23203
> URL: https://issues.apache.org/jira/browse/HBASE-23203
> Project: HBase
> Issue Type: Bug
> Components: rsgroup, UI
> Affects Versions: 3.0.0
> Reporter: Karthik Palanisamy
> Assignee: Karthik Palanisamy
> Priority: Major
> Fix For: 3.0.0
>
>
> Rsgroup.jsp calls *Admin#listTableDescriptors((Pattern)null, true)* with Pattern null but implementation *RawAsyncHBaseAdmin#listTableDescriptors* don't allow null by Precondition. Also, the suggestion listTables(boolean) is removed/deprecated already.
>
> {code:java}
> HTTP ERROR 500
> Problem accessing /rsgroup.jsp. Reason:
> Server Error
> Caused by:java.lang.NullPointerException: pattern is null. If you don't specify a pattern, use listTables(boolean) instead
> at org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:897)
> at org.apache.hadoop.hbase.client.RawAsyncHBaseAdmin.listTableDescriptors(RawAsyncHBaseAdmin.java:495)
> at org.apache.hadoop.hbase.client.AdminOverAsyncAdmin.listTableDescriptors(AdminOverAsyncAdmin.java:137)
> at org.apache.hadoop.hbase.generated.master.rsgroup_jsp._jspService(rsgroup_jsp.java:390)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)