HBASE-8536 Possible NullPointerException in ZKInterProcessLockBase#reapExpiredLocks (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1482429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d3581dc7e
commit
90bd4de7cf
@ -386,6 +386,7 @@ public abstract class ZKInterProcessLockBase implements InterProcessLock {
|
||||
LOG.error("Unexpected ZooKeeper error when listing children", e);
|
||||
throw new IOException("Unexpected ZooKeeper exception", e);
|
||||
}
|
||||
if (children == null) return;
|
||||
|
||||
KeeperException deferred = null;
|
||||
Stat stat = new Stat();
|
||||
|
Loading…
x
Reference in New Issue
Block a user