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

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

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

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
(v6.2#6252)

Reply via email to