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

Varun Vasudev commented on YARN-2374:
-------------------------------------

{noformat}
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDSShellWithMultipleArgs(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.218 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDebugFlag(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.215 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDSShellWithShellScript(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.172 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDSShell(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.168 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.169 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testDSShellWithCustomLogPropertyFile(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.163 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)

testContainerLaunchFailureHandling(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 0.166 sec  <<< ERROR!
java.lang.RuntimeException: java.net.UnknownHostException: 
asf905.ygridcore.net: asf905.ygridcore.net
        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.getHostname(MiniYARNCluster.java:424)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.setNonHARMConfiguration(MiniYARNCluster.java:272)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:252)
        at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:80)
{noformat}

All the distributed shell tests failed because of an UnknownHostException on 
asf905, which also seems to have a new hostname now. It was 
asf905.gq1.ygridcore.net last week, but the exception trace says 
asf906.ygridcore.net.

> YARN trunk build failing TestDistributedShell.testDSShell
> ---------------------------------------------------------
>
>                 Key: YARN-2374
>                 URL: https://issues.apache.org/jira/browse/YARN-2374
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: apache-yarn-2374.0.patch, apache-yarn-2374.1.patch, 
> apache-yarn-2374.2.patch, apache-yarn-2374.3.patch, apache-yarn-2374.4.patch
>
>
> The YARN trunk build has been failing for the last few days in the 
> distributed shell module.
> {noformat}
> testDSShell(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
>   Time elapsed: 27.269 sec  <<< FAILURE!
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShell(TestDistributedShell.java:188)
> {noformat}



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

Reply via email to