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

IPC client does not need to be synchronized on the output stream when a connection is closed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18.0
    • 0.19.0
    • ipc
    • None
    • Reviewed

    Description

      Currently when a connection on the client side is closed, the close method is synchronized on the output stream. The synchronization is not necessary and has introduced a side effect that the socket can not be closed immediately when meanwhile applications are sending large requests.

      Attachments

        1. closeSync.patch
          5 kB
          Hairong Kuang
        2. closeSync1.patch
          6 kB
          Hairong Kuang

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              hairong Hairong Kuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: