hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-165) NPE in datanode.handshake()
Date Fri, 08 Jan 2010 17:33:21 GMT

     [ https://issues.apache.org/jira/browse/HDFS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HDFS-165:
--------------------------------

    Attachment: HDFS-165.patch

Patch checks for shouldRun flag and throws an IOE if set while waiting for a datanode; the
alternate option would be an InterruptedIOException. 

No tests. To test this you'd need to bring up a datanode without any namenode, try and interrupt
it. 

> NPE in datanode.handshake()
> ---------------------------
>
>                 Key: HDFS-165
>                 URL: https://issues.apache.org/jira/browse/HDFS-165
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HDFS-165.patch
>
>
> 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.


Mime
View raw message