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

Yongjun Zhang commented on HADOOP-10888:
----------------------------------------

Hi Arpit,

I posted the following message to the discussion thread you started. I wonder 
if you have insight here, thanks a lot.
{quote}
I did a test run which dumped /etc/hosts and reported hostname info:

YJD /etc/hosts contents:

  127.0.0.1     localhost
     asf900.ygridcore.net       asf900
  # The following lines are desirable for IPv6 capable hosts
  ::1     localhost ip6-localhost ip6-loopback
  ff02::1 ip6-allnodes
  ff02::2 ip6-allrouters

YJD hostname contents:
  asf900

(see HADOOP-10888 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4362//testReport/, 
the host is Slave H0 (Build slave for Hadoop project builds : 
asf900.gq1.ygridcore.net)
)

I see hostname "asf900" in "127.0.0.1" row for IPv4  but I don't see it in the 
"::1" row for IPv6 in /etc/hosts file. I wonder if adding "asf900" as an entry 
to "::1" row would make it work. The method stuck at is 
java.net.Inet4AddressImpl.getLocalHostName (IPv4) though.
{quote}


> org.apache.hadoop.ipc.TestIPC.testRetryProxy failed often with timeout
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-10888
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10888
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-10888.001.patch, HADOOP-10888.002.patch, 
> HADOOP-10888.003.dbg.patch
>
>
> As an example, 
> https://builds.apache.org/job/PreCommit-HADOOP-Build/4333//testReport/org.apache.hadoop.ipc/TestIPC/testRetryProxy/
> {code}
> Error Message
> test timed out after 60000 milliseconds
> Stacktrace
> java.lang.Exception: test timed out after 60000 milliseconds
>       at java.net.Inet4AddressImpl.getLocalHostName(Native Method)
>       at java.net.InetAddress.getLocalHost(InetAddress.java:1374)
>       at org.apache.hadoop.net.NetUtils.getConnectAddress(NetUtils.java:372)
>       at org.apache.hadoop.net.NetUtils.getConnectAddress(NetUtils.java:359)
>       at 
> org.apache.hadoop.ipc.TestIPC$TestInvocationHandler.invoke(TestIPC.java:212)
>       at org.apache.hadoop.ipc.$Proxy11.dummyRun(Unknown Source)
>       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:101)
>       at org.apache.hadoop.ipc.$Proxy11.dummyRun(Unknown Source)
>       at org.apache.hadoop.ipc.TestIPC.testRetryProxy(TestIPC.java:1060)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to