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] Created: (HADOOP-1125) IPC client fails to override the close method for FilterOutputStream
Date Thu, 15 Mar 2007 21:18:09 GMT
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.13.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