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:
Zhihong Yu 2013-05-14 16:27:41 +00:00
parent 8d3581dc7e
commit 90bd4de7cf

View File

@ -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();