[ https://issues.apache.org/jira/browse/YARN-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027332#comment-15027332 ]
Kuhu Shukla commented on YARN-4318: ----------------------------------- Although locally the tests pass, I see that the failure is coming from server not being able resolve the server hostname/address. I checked a few more pre-commits with this issue and somehow instead of 'localhost/127.0.0.1' the hostnames are 48 bit hex values . {code} public Connection(ConnectionId remoteId, int serviceClass) throws IOException { this.remoteId = remoteId; this.server = remoteId.getAddress(); if (server.isUnresolved()) { throw NetUtils.wrapException(server.getHostName(), server.getPort(), null, 0, new UnknownHostException()); } {code} {code} testUnauthorizedAccess[1](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 2.784 sec <<< ERROR! java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: "52b8ea35fca2":8030; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:413) {code} These are not constant with respect to the machines that ran the precommit, that is, H5 host had two such runs with different 48 bit hex values. The {{serviceaddr}} is using default config value, which means instead of an IP, the 0.0.0.0 in the default-config is picking a hex value from the environment of the machine/VM. Could this be related to our latest Docker/Yetus migration? Asking [~ste...@apache.org] if he has any inputs on this. Appreciate it. > Test failure: TestAMAuthorization > --------------------------------- > > Key: YARN-4318 > URL: https://issues.apache.org/jira/browse/YARN-4318 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Tsuyoshi Ozawa > Assignee: Kuhu Shukla > > {quote} > Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 14.891 sec > <<< FAILURE! - in > org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization > testUnauthorizedAccess[0](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) > Time elapsed: 3.208 sec <<< ERROR! > java.net.UnknownHostException: Invalid host name: local host is: (unknown); > destination host is: "b5a5dd9ec835":8030; java.net.UnknownHostException; For > more details see: http://wiki.apache.org/hadoop/UnknownHost > at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:403) > at org.apache.hadoop.ipc.Client.getConnection(Client.java:1512) > at org.apache.hadoop.ipc.Client.call(Client.java:1439) > at org.apache.hadoop.ipc.Client.call(Client.java:1400) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) > at com.sun.proxy.$Proxy15.registerApplicationMaster(Unknown Source) > at > org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.registerApplicationMaster(ApplicationMasterProtocolPBClientImpl.java:106) > at > org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:273) > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)