[ https://issues.apache.org/jira/browse/HADOOP-9095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HADOOP-9095. -------------------------------------------- Resolution: Fixed Fix Version/s: 1-win 1.2.0 I have committed this. Thanks Jing! > TestNNThroughputBenchmark fails in branch-1 > ------------------------------------------- > > Key: HADOOP-9095 > URL: https://issues.apache.org/jira/browse/HADOOP-9095 > Project: Hadoop Common > Issue Type: Bug > Components: net > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Jing Zhao > Priority: Minor > Fix For: 1.2.0, 1-win > > Attachments: HDFS-4204.b1.001.patch, HDFS-4204.b1.002.patch, > HDFS-4204.b1.003.patch > > > {noformat} > java.lang.StringIndexOutOfBoundsException: String index out of range: 0 > at java.lang.String.charAt(String.java:686) > at org.apache.hadoop.net.NetUtils.normalizeHostName(NetUtils.java:539) > at org.apache.hadoop.net.NetUtils.normalizeHostNames(NetUtils.java:562) > at > org.apache.hadoop.net.CachedDNSToSwitchMapping.resolve(CachedDNSToSwitchMapping.java:88) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1047) > ... > at > org.apache.hadoop.hdfs.server.namenode.NNThroughputBenchmark$StatsDaemon.run(NNThroughputBenchmark.java:377) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira