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 "Yanbo Liang (JIRA)" <ji...@apache.org> on 2012/08/01 11:45:05 UTC
[jira] [Created] (HDFS-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Yanbo Liang created HDFS-3748:
---------------------------------
Summary: TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
Key: HDFS-3748
URL: https://issues.apache.org/jira/browse/HDFS-3748
Project: Hadoop HDFS
Issue Type: Bug
Components: federation, ha, test
Affects Versions: 2.0.0-alpha
Reporter: Yanbo Liang
Priority: Minor
In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426517#comment-13426517 ]
Hadoop QA commented on HDFS-3748:
---------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12538766/HADOOP-3748.patch
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2934//console
This message is automatically generated.
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Labels: test
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426515#comment-13426515 ]
Uma Maheswara Rao G commented on HDFS-3748:
-------------------------------------------
Looks like this issue is same as HDFS-2960.
It might be due to wildcard DNS on your network.
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Labels: test
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Yanbo Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanbo Liang updated HDFS-3748:
------------------------------
Attachment: HADOOP-3748.patch
Use InetSocketAddress.getHostName() and InetSocketAddress.getPort() to make up the hostname:port format.
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Yanbo Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanbo Liang updated HDFS-3748:
------------------------------
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Labels: test
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Yanbo Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanbo Liang updated HDFS-3748:
------------------------------
Labels: test (was: )
Release Note: Use InetSocketAddress.getHostName() and InetSocketAddress.getPort() to make up the hostname:port format.
Status: Patch Available (was: Open)
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Labels: test
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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-3748)
TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString
to generate hostname:port
Posted by "Yanbo Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427145#comment-13427145 ]
Yanbo Liang commented on HDFS-3748:
-----------------------------------
It's wildspread in the whole project, So I agree to won't fix the same as HDFS-2960.
> TestDFSUtil#testHANameNodesWithFederation failed because of misuse toString to generate hostname:port
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-3748
> URL: https://issues.apache.org/jira/browse/HDFS-3748
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, ha, test
> Affects Versions: 2.0.0-alpha
> Reporter: Yanbo Liang
> Priority: Minor
> Labels: test
> Attachments: HADOOP-3748.patch
>
>
> In the test case TestDFSUtil#testHANameNodesWithFederation, it misused InetSocketAddress.toString() to generate hostname:port format data. It cause the following assert failure when run this test case.
> assertEquals(NS1_NN1_HOST, map.get("ns1").get("ns1-nn1").toString());
> assertEquals(NS1_NN2_HOST, map.get("ns1").get("ns1-nn2").toString());
> assertEquals(NS2_NN1_HOST, map.get("ns2").get("ns2-nn1").toString());
> assertEquals(NS2_NN2_HOST, map.get("ns2").get("ns2-nn2").toString());
--
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