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

ConnectionUtils may die with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3, 1.1.0
    • 1.1.0
    • Deployment / YARN
    • None

    Description

      If an invalid hostname is specificed or the hostname can't be resolved from the current interface, ConnectionUtils.findAddressUsingStrategy may throw a NullPointerException. When trying to access the InetAddress of an InetSocketAddress, null is returned when the host could not been resolved.

      The solution is to abort the attempt to find the local address if the host couldn't be resolved.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: