Naganarasimha G R commented on YARN-2374:

As earlier mentioned there is a jvm bug which gives FQDN when " 
InetAddress.getLocalHost().getHostName() ". So what i guess in the machine 
where test case is runing  jvm used for running test case and jvm path set in 
JAVA_HOME is diff . org.apache.hadoop.yarn.applications.distributedshell.Client 
is using JAVA_HOME. Hence diff results might be coming  when 
InetAddress.getLocalHost().getHostName() is called. 
So may be once we can have check at this setting if not we can continue with 
the patch 

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