Description
In HBaseFsck#unassignMetaReplica() , ZooKeeperWatcher is not closed upon return from the method:
ZKUtil.deleteNode(zkw, zkw.getZNodeForReplica(hi.metaEntry.getReplicaId()));
This leads to resource leak.
In HBaseFsck#unassignMetaReplica() , ZooKeeperWatcher is not closed upon return from the method:
ZKUtil.deleteNode(zkw, zkw.getZNodeForReplica(hi.metaEntry.getReplicaId()));
This leads to resource leak.