Thanks Arpit for throwing this discussion as part of HADOOP-10888 investigation! It's a good guess of Arpit's about possible missing /etc/hosts entry.
Please feel free to comment in HADOOP-10888 so information can be centralized there. Best regards, --Yongjun On Wed, Jul 23, 2014 at 9:07 PM, Arpit Agarwal <aagar...@hortonworks.com> wrote: > Can someone with administrator access to the Jenkins VMs please take a look > at the /etc/hosts configuration? > > TestIPC often fails in Jenkins runs due to a timeout in > InetAddress.getLocalHost. Most likely a missing entry in /etc/hosts for the > system hostname. > > e.g. > > https://builds.apache.org/job/PreCommit-HADOOP-Build/4352//testReport/org.apache.hadoop.ipc/TestIPC/testRetryProxy/ > > > https://builds.apache.org/job/PreCommit-HADOOP-Build/4355/testReport/org.apache.hadoop.ipc/TestIPC/testRetryProxy/ > > > https://builds.apache.org/job/PreCommit-HADOOP-Build/4347/testReport/org.apache.hadoop.ipc/TestIPC/testRetryProxy/ > > java.lang.Exception: test timed out after 300000 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) > > Thanks, > Arpit > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. >