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

NetUtils#getHostNameOfIP blows up if given ip:port string w/o port

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      NetUtils#getHostNameOfIP blows up if not given a string of form ip:port, because the regex matches the port optionally but the code requires a semicolon. It also doesn't check the given string for null.

        Attachments

        1. hadoop-8238.txt
          3 kB
          Eli Collins

          Activity

            People

            • Assignee:
              eli Eli Collins
              Reporter:
              eli2 Eli Collins

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment