hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1125) IPC client fails to override the close method for FilterOutputStream
Date Mon, 07 May 2007 22:18:15 GMT

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


Mime
View raw message