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

Make NetUtils.wrapException throw EOFException instead of wrapping it as IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0, 3.0.0-alpha1
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      In case of EOFException, NetUtils is now wrapping it as IOException, we may want to throw EOFException as it is, since EOFException can happen when connection is lost in the middle, the client may want to explicitly handle such exception

      Attachments

        1. HADOOP-9576-003.patch
          2 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              jianhe Jian He
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: