hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay vyas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11072) better Logging in DNS.java
Date Sat, 06 Sep 2014 01:20:28 GMT
jay vyas created HADOOP-11072:

             Summary: better Logging in  DNS.java
                 Key: HADOOP-11072
                 URL: https://issues.apache.org/jira/browse/HADOOP-11072
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 2.4.0, 2.3.0
            Reporter: jay vyas
            Priority: Minor

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.

This message was sent by Atlassian JIRA

View raw message