[ 
https://issues.apache.org/jira/browse/HDFS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798182#action_12798182
 ] 

Konstantin Boudnik commented on HDFS-885:
-----------------------------------------

+1 looks good

> Datanode toString() NPEs on null dnRegistration
> -----------------------------------------------
>
>                 Key: HDFS-885
>                 URL: https://issues.apache.org/jira/browse/HDFS-885
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.22.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HDFS-885.patch
>
>
> {{Datanode toString() }} assumes the {{dnRegistration}} value is never null. 
> This is not always true, and when it is not the case, the {{toString()}} 
> operator NPEs. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to