You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Paurav Munshi (JIRA)" <ji...@apache.org> on 2017/02/14 06:10:41 UTC

[jira] [Commented] (HADOOP-9743) TestStaticMapping test fails

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

Paurav Munshi commented on HADOOP-9743:
---------------------------------------

Hello,

I saw the issue is resolved, but I was still facing the issue when doing my first Hadoop build for 3.0.0-alpha1. And here is my observation.

I think the issue occurs depending on how your internet provider handles the address lookup. When I am connected through my broadband provider I get the build failure. I observed that createQueryList() adds two dummy hosts 'n1' and 'unknown'. Now when I traceroute to these hosts while connected through broadband, I am returned with some random IP which is same for both the hostnames. But when I am not connected to internet or I am connected through my mobile data, traceroute gives the unknown host error. In this situation the build is also successfull for this test case in particular. So it makes me think that some ISP might be providing a random IP for unknown hosts and thereby forcing the client to think that host exists at that IP address. In my observation, since both the hosts are dummy ones,  ISP provides same randon IP and therefore test is landing up with single IP in the cache. I have not thought of any concrete resolution but turning off network helps resolves this issue (though it fails TestDNS test). 

Thought of sharing my observation. I hope this helps, if issue still exists.Pardon me for missing the resolution if any is provided.

Best Regards,
Paurav.

> TestStaticMapping test fails
> ----------------------------
>
>                 Key: HADOOP-9743
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9743
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Jean-Baptiste Onofré
>
>   - testCachingRelaysResolveQueries(org.apache.hadoop.net.TestStaticMapping): Expected two entries in the map Mapping: cached switch mapping relaying to static mapping with single switch = false(..)
>   - testCachingCachesNegativeEntries(org.apache.hadoop.net.TestStaticMapping): Expected two entries in the map Mapping: cached switch mapping relaying to static mapping with single switch = false(..)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org