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

NetUtils.wrapException to have special handling for 0.0.0.0 addresses and :0 ports

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.9.0, 3.0.0, 3.1.0
    • Component/s: net
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      when an exception is wrapped, it may look like 0.0.0.0:0 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

      We should recognise all zero ip addresses and 0 ports and flag them as "your configuration of the endpoint is wrong", as it is clearly the case

        Attachments

        1. HADOOP-9657.02.patch
          2 kB
          Varun Saxena
        2. HADOOP-9657.01.patch
          2 kB
          Varun Saxena

          Issue Links

            Activity

              People

              • Assignee:
                varun_saxena Varun Saxena
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: