hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4128) NPE in FSDir.getBlockInfo
Date Tue, 09 Sep 2008 16:09:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629517#action_12629517
] 

Steve Loughran commented on HADOOP-4128:
----------------------------------------

Moving the shouldRun = false assignment up to earlier on in the server shutdown process appears
to make this message go away altogether. It is clearly a race condition in my test -the temporary
directories are cleaned before the datanode has shut down, but telling the data receiver threads
sooner rather than later to shut down makes the window much smaller. 

Question is: is that an appropriate patch? Or should the window be left fairly wide, so that
its existence is more obvious?

> 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.


Mime
View raw message