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

Generalize NetUtils#wrapException to handle other subclasses with String Constructor

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      NetUtils#wrapException returns an IOException if exception passed to it is not of type SocketException,EOFException,NoRouteToHostException,SocketTimeoutException,UnknownHostException,ConnectException,BindException.
      By default, it should always return instance (subclass of IOException) of same type unless a String constructor is not available.

      Attachments

        1. HADOOP-15178.003.patch
          12 kB
          Ajay Kumar
        2. HADOOP-15178.002.patch
          6 kB
          Ajay Kumar
        3. HADOOP-15178.001.patch
          10 kB
          Ajay Kumar

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ajayydv Ajay Kumar
            ajayydv Ajay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment