hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Date Thu, 16 Feb 2012 22:26:59 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209813#comment-13209813
] 

Daryn Sharp commented on HDFS-2960:
-----------------------------------

Trying to stub out dns was one of the very first things I tried to do when I joined the project.
 I had wildcard dns causing tests to fail with excruciating delays because {{IPC.Client}}
has a hardcoded 45 retries for {{SocketTimeoutException}}.  I think it will take JNDI which
is where I gave up.

PS. What's even funnier is how the tests pound on the *real* foo.com!
                
> HA: TestDFSUtil is failing
> --------------------------
>
>                 Key: HDFS-2960
>                 URL: https://issues.apache.org/jira/browse/HDFS-2960
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>
> TestDFSUtil is failing.
> {noformat}
> org.junit.ComparisonFailure: expected:<ns1-nn1.example.com[]:8020> but was:<ns1-nn1.example.com[/220.250.64.24]:8020>
> 	at org.junit.Assert.assertEquals(Assert.java:123)
> 	at org.junit.Assert.assertEquals(Assert.java:145)
> 	at org.apache.hadoop.hdfs.TestDFSUtil.testHANameNodesWithFederation(TestDFSUtil.java:411)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message