[ https://issues.apache.org/jira/browse/HADOOP-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878167#action_12878167 ]
Hadoop QA commented on HADOOP-6682: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12446933/HADOOP-6682.patch against trunk revision 953910. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 javadoc. The javadoc tool appears to have generated 1 warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/79/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/79/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/79/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/79/console This message is automatically generated. > NetUtils:normalizeHostName does not process hostnames starting with [a-f] > correctly > ----------------------------------------------------------------------------------- > > Key: HADOOP-6682 > URL: https://issues.apache.org/jira/browse/HADOOP-6682 > Project: Hadoop Common > Issue Type: Bug > Components: io > Reporter: Jakob Homan > Attachments: HADOOP-6682-Y20.patch, HADOOP-6682.patch > > > public static String normalizeHostName(String name) { > if (Character.digit(name.charAt(0), 16) != -1) { > return name; > This code is attempting to short-circuit the hostname->ip resolution on the > assumption that if name starts with a digit, it's already an ip address. > This is of questionable value, but because it checks for a hex digit, it will > fail on names starting with [a-f]. Such names will not be converted to an ip > address, but be returned unchanged. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.