lujie updated HDFS-13452:
    Description:     (was: Callee ZKUtil#listChildrenAndWatchForNewChildren may 
return null, it has 8 callers, 6 of the caller have null checker like:
List<String> children = ZKUtil.listChildrenAndWatchForNewChildren(zkw, 
if (children == null) {
    return Collections.emptyList();
but another two callers do not have null 

We attach the patch to fix this probelm.(We found this bug by  tool 

> Two Potential NPE 
> ------------------
>                 Key: HDFS-13452
>                 URL: https://issues.apache.org/jira/browse/HDFS-13452
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: lujie
>            Priority: Major

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to