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

Rushabh S Shah commented on HDFS-6789:
--------------------------------------

Running org.apache.hadoop.hdfs.TestDFSClientFailover
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.664 sec <<< 
FAILURE! - in org.apache.hadoop.hdfs.TestDFSClientFailover
testFileContextDoesntDnsResolveLogicalURI(org.apache.hadoop.hdfs.TestDFSClientFailover)
  Time elapsed: 4.276 sec  <<< FAILURE!
org.mockito.exceptions.verification.NeverWantedButInvoked: 
nameService.lookupAllHostAddr("ha-nn-uri-0");
Never wanted here:
-> at 
org.apache.hadoop.hdfs.TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI(TestDFSClientFailover.java:285)
But invoked here:
-> at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)

        at 
org.apache.hadoop.hdfs.TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI(TestDFSClientFailover.java:285)


Results :

Failed tests: 
  TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI:285 
nameService.lookupAllHostAddr("ha-nn-uri-0");
Never wanted here:
-> at 
org.apache.hadoop.hdfs.TestDFSClientFailover.testFileContextDoesntDnsResolveLogicalURI(TestDFSClientFailover.java:285)
But invoked here:
-> at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)


> 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
>
> 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)

Reply via email to