hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lackey (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6914) IPC Client Connection close does not protect against partially Connection objects
Date Thu, 12 Aug 2010 20:52:16 GMT
IPC Client Connection close does not protect against partially Connection objects
---------------------------------------------------------------------------------

                 Key: HADOOP-6914
                 URL: https://issues.apache.org/jira/browse/HADOOP-6914
             Project: Hadoop Common
          Issue Type: Bug
          Components: ipc
    Affects Versions: 0.20.0
            Reporter: Richard Lackey


The purpose of this ticket is to cross-reference hbase-2042, opened 12/12/2009. close() is
used to release Connection resources. It is invoked even though the Connection object may
not have been completely initialized. For example, the file descriptor ulimit may have been
exceeded in which case no socket would have been acquired. The result would be an NPE in close.
The implied contract for close() seems to be that it will never fail. 

There is a proposed patch in the hbase-2042 ticket.

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