[
https://issues.apache.org/jira/browse/HADOOP-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475375
]
Owen O'Malley commented on HADOOP-1034:
---------------------------------------
Agreed. All threads should catch Throwable at the top level and log them.
*Sigh* I thought we had gone through all of the threads and fixed that problem.
If you see any more, please file them as bugs.
> RuntimeException and Error not catched in DataNode.DataXceiver.run()
> --------------------------------------------------------------------
>
> Key: HADOOP-1034
> URL: https://issues.apache.org/jira/browse/HADOOP-1034
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Philippe Gassmann
> Fix For: 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0
>
> Attachments: patch-catch-throwable
>
>
> Only IOException is catched and logged (in warn).
> Every Throwable should be logged in error.
> Eg: a RuntimeException occurs in the writeBlock() method. The exception will
> not be logged, but simply ignored. The socket is closed silently and nothing
> and an non understandable exception will be thrown in the DFSClient sending
> the block....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.