Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6914

IPC Client Connection close does not protect against partially Connection objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.0
    • None
    • ipc
    • None

    Description

      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.

      Attachments

        1. hbase-2042.patch
          3 kB
          Richard Lackey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              richlackey@roamingcloud.com Richard Lackey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: