You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/01/26 19:14:00 UTC

[jira] [Commented] (HBASE-19870) Fix the NEP in ReadOnlyZKClient#run

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

Ted Yu commented on HBASE-19870:
--------------------------------

Good catch.

testGetWithDelayCompletion -> testGetWithDelayedCompletion

The 'NEP' in subject should be NPE.

> Fix the NEP in ReadOnlyZKClient#run
> -----------------------------------
>
>                 Key: HBASE-19870
>                 URL: https://issues.apache.org/jira/browse/HBASE-19870
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19870.v0.patch
>
>
> I notice a NPE from my jenkins.
> {code}
> 2018-01-26 17:26:41,078 DEBUG [M:0;8546d406e429:40557-EventThread] zookeeper.ZKWatcher(443): replicationLogCleaner-0x161337ddc090004, quorum=localhost:56060, baseZNode=/hbase Received ZooKeeper Event, type=None, state=Disconnected, path=null
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient.run(ReadOnlyZKClient.java:322)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}
> If any zk task invokes the #onComplete late, the count of current requests will not zero and then the null from task queue will destroy the work thread in ReadOnlyZKClient.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)