Hadoop Common
  1. Hadoop Common
  2. HADOOP-9576

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

        Issue Links

          Activity

          Jian He created issue -
          Jian He made changes -
          Field Original Value New Value
          Assignee Jian He [ jianhe ]
          Jian He made changes -
          Link This issue relates to YARN-513 [ YARN-513 ]
          Steve Loughran made changes -
          Assignee Jian He [ jianhe ] Steve Loughran [ stevel@apache.org ]
          Steve Loughran made changes -
          Attachment HADOOP-9576-001.patch [ 12586310 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 2.1.0-beta [ 12324030 ]
          Steve Loughran made changes -
          Affects Version/s 3.0.0 [ 12320357 ]
          Affects Version/s 1.2.1 [ 12324147 ]
          Jian He made changes -
          Link This issue is depended upon by YARN-2841 [ YARN-2841 ]
          Steve Loughran made changes -
          Attachment HADOOP-9576-003.patch [ 12680636 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Affects Version/s 2.6.0 [ 12327179 ]
          Affects Version/s 1.2.1 [ 12324147 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 2.1.0-beta [ 12324030 ] 2.6.0 [ 12327179 ]
          Steve Loughran made changes -
          Attachment HADOOP-9576-001.patch [ 12586310 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jian He made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 2.6.0 [ 12327179 ] 2.7.0 [ 12327583 ]
          Fix Version/s 2.7.0 [ 12327583 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Fix Version/s 2.6.0 [ 12327179 ]
          Fix Version/s 2.7.0 [ 12327583 ]
          Arun C Murthy made changes -
          Target Version/s 2.7.0 [ 12327583 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Steve Loughran
              Reporter:
              Jian He
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development