[
https://issues.apache.org/jira/browse/HADOOP-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641393#action_12641393
]
Steve Loughran commented on HADOOP-4476:
----------------------------------------
Also, at this point in datanode startup, the nameNodeAddr value hasnt been
assigned to the static field {{DataNode.nameNodeAddr = nameNodeAddr;}}, so
getNameNodeAddr() returns null; not so good for logging/error messages that
exist in this method.
> NPE in datanode.handshake()
> ---------------------------
>
> Key: HADOOP-4476
> URL: https://issues.apache.org/jira/browse/HADOOP-4476
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.20.0
> Reporter: Steve Loughran
> Priority: Minor
>
> It appears possible to raise an NPE in DataNode.handshake() if the startup
> protocol gets interrupted or fails in some manner
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.