Varun Vasudev commented on YARN-2374:

>From Jenkins:
TestDistributedShell.testDSShell:193 Expected host name to start with 
'asf905.gq1.ygridcore.net/', was 'asf905/'. Expected 
rpc port to be '-1', was '-1'.

It looks like the calls to NetUtils.getHostName() can return a short name or a 
fully qualified domain name. I'm not sure how to resolve this. The test code 
and the code in distributed shell app master call NetUtils.getHostName() and 
are getting different results. One solution could be to modify both the 
distributed shell app master and the test to use fully qualified domain names, 
but I'm open to suggestions.

> 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
> 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

Reply via email to