Li Lu commented on YARN-2374:

Thanks [~vvasudev]! This problem has been bothered me for two issues, YARN-2354 
and YARN-2295. Seems like this is connected with the network settings of the 
server, causing the following lines to fail
      if (appReport.getHost().startsWith(hostName)
          && appReport.getRpcPort() == -1) {
        verified = true;
If such check failed, verified will never be set to true, hence the test will 
fail. I haven't looked into it in details, but I think the hostName may be 
something you'd like to start with. 

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