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

Naganarasimha G R commented on YARN-2374:
-----------------------------------------

Hi [~vvasudev],
Patch LGTM, 
My intention of providing the bug id is to mention that one of the java version 
there is problem.  And you had mentioned 
bq. The test code and the code in distributed shell app master call 
NetUtils.getHostName() and are getting different results. 
So i was trying to say that JVM running the test code and JVM which is launched 
by the Client.java code (using JVM_HOME) is different (one with the buggy JVM ) 
So this should be mostly a configuration issue and if both are set to same JVM 
then we should not be facing this issue. 
*But anyway this patch ensures in all scenarios it works fine.* But it would 
always better to configure to one JVM so that we dont face these kind of issues 
in future in some other case.


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