Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21952

Make all the "Connection reset by peer" exception wrapped as RemoteTransportException

    XMLWordPrintableJSON

Details

    Description

      In CreditBasedPartitionRequestClientHandler#exceptionCaught, the IOException or the exception with exact message "Connection reset by peer" are marked as RemoteTransportException. 

      However, with the current Netty implementation, sometimes it might throw 

      org.apache.flink.shaded.netty4.io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
      

      in some case. It would be also wrapped as LocalTransportException, which might cause some confusion. 

      Attachments

        Activity

          People

            gaoyunhaii Yun Gao
            gaoyunhaii Yun Gao
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: