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

Owen O'Malley updated HADOOP-1125:
----------------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.14.0

> IPC client fails to override the close method for FilterOutputStream
> --------------------------------------------------------------------
>
>                 Key: HADOOP-1125
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1125
>             Project: Hadoop
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.12.0
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>             Fix For: 0.14.0
>
>
> Classes that extend FilterOutputStream and BufferedOutputStream must override 
> the close method because the default implementation ignores IOExceptions that 
> occur during the flush method. This has caused us to lose critical 
> information about the sources of errors. *sigh* While looking over the code 
> base for such problems, I found the code in IPC Client.java with this problem.
> More generally, we should probably have util classes that replace the Java 
> ones that have a better default for close. (and a better default for 
> FilterOutputStream.write(byte[], int, int) too...)

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

Reply via email to