You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Uma Maheswara Rao G (Created) (JIRA)" <ji...@apache.org> on 2012/02/16 02:45:00 UTC
[jira] [Created] (HDFS-2960) HA: TestDFSUtil is failing
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
[jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209608#comment-13209608 ]
Uma Maheswara Rao G commented on HDFS-2960:
-------------------------------------------
Yea, its not an easy to control. and also may not be worth doing. I too agree with you to resolve the issue.
After the analysis, found that this issue is related to DNS resolution and mocking the DNS resolution layer may not be worth doing now. So, marking it as won't fix.
> 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
[jira] [Resolved] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Uma Maheswara Rao G (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G resolved HDFS-2960.
---------------------------------------
Resolution: Won't Fix
> 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
[jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209080#comment-13209080 ]
Todd Lipcon commented on HDFS-2960:
-----------------------------------
Odd, that IP is part of "China Unicom". Do you have wildcard DNS on your network?
> 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
[jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209427#comment-13209427 ]
Uma Maheswara Rao G commented on HDFS-2960:
-------------------------------------------
Todd, Looks you are correct.
I am not sure about the network here (in china).Just using WiFI available in Hotel.
When i dig into it, looks 'x.' pattern is automatically resolving to that ip.
org.junit.ComparisonFailure: expected:<x.[]:8020> but was:<x.[/<XXX.XXX.XX.XX>]: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)
InetAddress.getByName("a.b") can give the same result.
Also when i verified in my work PC, it is passing.
Thanks
Uma
> 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
[jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209527#comment-13209527 ]
Todd Lipcon commented on HDFS-2960:
-----------------------------------
I think we have a couple other cases in the Hadoop tests that have this problem as well. I'm inclined to resolve this as wontfix, since actually mocking out the DNS resolution is not easy.
> 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
[jira] [Updated] (HDFS-2960) HA: TestDFSUtil is failing
Posted by "Aaron T. Myers (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated HDFS-2960:
---------------------------------
Target Version/s: HA branch (HDFS-1623)
> 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