hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Vasudev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2769) TestDistributedShell#testDSShell fails on Windows
Date Wed, 29 Oct 2014 15:41:33 GMT

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

Varun Vasudev commented on YARN-2769:
-------------------------------------

Since we use shell_command in the test,
{noformat}
if (envs.containsKey(DSConstants.DISTRIBUTEDSHELLSCRIPTLOCATION)) {
{noformat}
is false on Windows(but true on Linux). Just moving the domain id setting out of this if-condition
fixes the bug.

> TestDistributedShell#testDSShell fails on Windows
> -------------------------------------------------
>
>                 Key: YARN-2769
>                 URL: https://issues.apache.org/jira/browse/YARN-2769
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: apache-yarn-2769.0.patch
>
>
> Running org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.661 sec <<<
FAILURE! - in org.apache.hadoop.yarn.applications.distribut
> testDSShellWithDomain(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
 Time elapsed: 37.366 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[TEST_DOMAIN]> but was:<[DEFAULT]>
>         at org.junit.Assert.assertEquals(Assert.java:115)
>         at org.junit.Assert.assertEquals(Assert.java:144)
>         at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShell(TestDistributedShell.java:290)
>         at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShellWithDomain(TestDistributedShell.java:179)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message