Terence Yim created TWILL-96:
--------------------------------
Summary: Yarn unit test fails in Travis-CI
Key: TWILL-96
URL: https://issues.apache.org/jira/browse/TWILL-96
Project: Apache Twill
Issue Type: Bug
Components: yarn
Reporter: Terence Yim
Assignee: Terence Yim
The major reason is because in the YARN unit tests, it is not using the address
that the RM is binded to, but rather using the one in yarn-default.xml
It fails with error like this:
java.lang.RuntimeException: java.net.UnknownHostException: Invalid host name:
local host is: (unknown); destination host is:
"testing-worker-linux-10-1-15919-linux-11-30791059":8032;
java.net.UnknownHostException; For more details see:
http://wiki.apache.org/hadoop/UnknownHost
at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:400)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1448)
at org.apache.hadoop.ipc.Client.call(Client.java:1377)
at org.apache.hadoop.ipc.Client.call(Client.java:1359)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
at com.sun.proxy.$Proxy44.getNewApplication(Unknown Source)
at
org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.getNewApplication(ApplicationClientProtocolPBClientImpl.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy45.getNewApplication(Unknown Source)
at
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getNewApplication(YarnClientImpl.java:133)
at
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.createApplication(YarnClientImpl.java:141)
at
org.apache.twill.internal.yarn.Hadoop21YarnAppClient.createLauncher(Hadoop21YarnAppClient.java:60)
at
org.apache.twill.internal.yarn.Hadoop21YarnAppClient.createLauncher(Hadoop21YarnAppClient.java:130)
at
org.apache.twill.yarn.YarnTwillPreparer.start(YarnTwillPreparer.java:249)
at
org.apache.twill.yarn.EchoServerTestRun.testEchoServer(EchoServerTestRun.java:59)
--
This message was sent by Atlassian JIRA
(v6.2#6252)