Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
I notice a NPE from my jenkins.
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)
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.