[ https://issues.apache.org/jira/browse/HDFS-6789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081837#comment-14081837 ]
Akira AJISAKA commented on HDFS-6789: ------------------------------------- The tests fail because {code} FileSystem fs = HATestUtil.configureFailoverFs(cluster, conf); {code} calls {{NameNode.getAddress(nameNodeUri)}} to get {{InetSocketAddress}} for initializing {{ProxyAndInfo}} after HDFS-6507. Since the tests are to ensure {{FileSystem}} and {{FileContext}} does not resolve the logical hostname, I think it's fine to spy NameService after initializing {{FileSystem}}. > TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI and > TestDFSClientFailover.testDoesntDnsResolveLogicalURI failing on jdk7 > ---------------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-6789 > URL: https://issues.apache.org/jira/browse/HDFS-6789 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.5.0 > Environment: jdk7 > Reporter: Rushabh S Shah > Assignee: Akira AJISAKA > > The following two tests are failing on jdk7. > org.apache.hadoop.hdfs.TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI > org.apache.hadoop.hdfs.TestDFSClientFailover.testDoesntDnsResolveLogicalURI > On jdk6 it just skips the tests . -- This message was sent by Atlassian JIRA (v6.2#6252)