Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-347 DFS read performance suboptimal when client co-located on nodes with data
  3. HDFS-4388

DomainSocket should throw AsynchronousCloseException when appropriate

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DomainSocket should throw AsynchronousCloseException when appropriate (i.e., when an accept or other blocking operation is interrupted by a concurrent close.) This is nicer than throwing a generic IOException or SocketException.

      Similarly, we should well throw ClosedChannelException when an operation is attempted on a closed DomainSocket.

        Attachments

        1. _05a.patch
          13 kB
          Colin McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin McCabe
              Reporter:
              cmccabe Colin McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: