[
https://issues.apache.org/jira/browse/HADOOP-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629564#action_12629564
]
Raghu Angadi commented on HADOOP-4128:
--------------------------------------
> Question is: is that an appropriate patch? [...]
I think so. This kind of synchronization with volatiles always has these
problems...
Also +1 for the attached patch.
listFiles() is called in other places too.. though many of them occur during
initialization.
> NPE in FSDir.getBlockInfo
> -------------------------
>
> Key: HADOOP-4128
> URL: https://issues.apache.org/jira/browse/HADOOP-4128
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.19.0
> Reporter: Steve Loughran
> Priority: Minor
> Fix For: 0.19.0
>
> Attachments: hadoop-4128.patch
>
>
> This could well be something I've introduced on my variant of the code,
> although its a recent arrival in my own tests: an NPE while bringing up a
> datanode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.