hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6073) Unchecked exception thrown inside of BlockReceiver cause some threads hang
Date Wed, 17 Jun 2009 21:56:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720923#action_12720923

Raghu Angadi commented on HADOOP-6073:

BlockReceiver.receiveBlock() does not clean up properly in case of runtime exception. It should
interrupt the responder inside finally clause rather than just when IOException is caught.
DN functions normally for other IO requests.

> Unchecked exception thrown inside of BlockReceiver cause some threads hang
> --------------------------------------------------------------------------
>                 Key: HADOOP-6073
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6073
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Konstantin Boudnik
>         Attachments: copy.txt.log, x2
> One is able to inject all sorts of faults into Hadoop's classes using new fault injection
framework (HADOOP-6003). 
> I've been injecting unchecked exception (RuntimeException) into BlockReceiver.receivePacket()
method before any
>   of write() operations (e.g. line 401, 449, 463, 529) and running some of the existing
HDFS tests. The injection of unchecked exceptions causes DataXceiver to die silently and without
any traces.
> From a debugger run it seems like some threads are being left alive or not notified about
the exception.

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

View raw message