Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.0, 2.4.0
    • None
    • net

    Description

      The DNS.java class should be more informative, and possibly fail early when reverse DNS is broken. Right now it is vulnerable to a cryptic ArrayIndex exception.

      parts = hostIp.getHostAddress(....)
      String reverseIp = parts[3] + parts[2] ... 
      

      During this patch I think we can also improve a couple other minor logging statements in the net package.

      Attachments

        Activity

          jayunit100 jay vyas created issue -
          jayunit100 jay vyas made changes -
          Field Original Value New Value
          Component/s net [ 12319327 ]
          jayunit100 jay vyas made changes -
          Labels logging
          jayunit100 jay vyas made changes -
          Parent HADOOP-3619 [ 12398839 ]
          Issue Type Improvement [ 4 ] Sub-task [ 7 ]
          jayunit100 jay vyas added a comment -

          I made this a subtask of HADOOP-3619 because i think probably the logging is an essential component of any patch which aims to fix DNS related stuff in DNS.java

          jayunit100 jay vyas added a comment - I made this a subtask of HADOOP-3619 because i think probably the logging is an essential component of any patch which aims to fix DNS related stuff in DNS.java
          cmccabe Colin McCabe made changes -
          Parent HADOOP-3619 [ 12398839 ]
          Issue Type Sub-task [ 7 ] Bug [ 1 ]
          cmccabe Colin McCabe made changes -
          Parent HADOOP-11890 [ 12826027 ]
          Issue Type Bug [ 1 ] Sub-task [ 7 ]
          groot Ashutosh Gupta made changes -
          Assignee Ashutosh Gupta [ groot ]
          groot Ashutosh Gupta made changes -
          Assignee Ashutosh Gupta [ groot ]

          People

            Unassigned Unassigned
            jayunit100 jay vyas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: