hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Singh Chouhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19094) NPE in RSGroupStartupWorker.waitForGroupTableOnline during master startup
Date Thu, 26 Oct 2017 15:23:00 GMT

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

Abhishek Singh Chouhan commented on HBASE-19094:

[~tedyu] Observed this on a cluster in master logs and not in a UT. Its coming from a meta
scan that uses a custom result visitor for RSGroups stuff, the exception is logged and swallowed
and ultimately retried, which succeeded.
Since its a very specific code that parses the servername and then uses it to get a BlockingInterface
i don't think it'd be worth it to add a ut for this catch. Looks to be a null check miss.

> NPE in RSGroupStartupWorker.waitForGroupTableOnline during master startup
> -------------------------------------------------------------------------
>                 Key: HBASE-19094
>                 URL: https://issues.apache.org/jira/browse/HBASE-19094
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Abhishek Singh Chouhan
>            Assignee: Abhishek Singh Chouhan
>            Priority: Minor
>         Attachments: HBASE-19094.branch-1.001.patch, HBASE-19094.master.001.patch
> {noformat}
> rsgroup.RSGroupInfoManagerImpl$RSGroupStartupWorker - Caught exception while verifying
group region
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getClient(ConnectionManager.java:1638)
>         at org.apache.hadoop.hbase.client.ConnectionUtils$2.getClient(ConnectionUtils.java:167)
>         at org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl$RSGroupStartupWorker$1.visit(RSGroupInfoManagerImpl.java:646)
>         at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:638)
>         at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:159)
>         at org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl$RSGroupStartupWorker.waitForGroupTableOnline(RSGroupInfoManagerImpl.java:661)
>         at org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl$RSGroupStartupWorker.run(RSGroupInfoManagerImpl.java:582)
> {noformat}

This message was sent by Atlassian JIRA

View raw message