[ 
https://issues.apache.org/jira/browse/HDFS-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-4204:
----------------------------

    Attachment: HDFS-4204.b1.003.patch

The same test from HADOOP-8372 is also included. 

All the unit tests have passed except TestFileCreationNamenodeRestart, which 
should be unrelated since it also fails without the patch. The test-patch 
result:
{noformat}
-1 overall.  
    +1 @author.  The patch does not contain any @author tags.
    +1 tests included.  The patch appears to include 3 new or modified tests.
    +1 javadoc.  The javadoc tool did not generate any warning messages.
    +1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.
    -1 findbugs.  The patch appears to introduce 225 new Findbugs (version 
2.0.1) warnings.
{noformat}
                
> TestNNThroughputBenchmark fails in branch-1
> -------------------------------------------
>
>                 Key: HDFS-4204
>                 URL: https://issues.apache.org/jira/browse/HDFS-4204
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Jing Zhao
>            Priority: Minor
>         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

Reply via email to