hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5983) TestCommandLineJobSubmission assumes there is a /tmp dir that can be used for temp data
Date Mon, 14 Sep 2015 09:43:47 GMT

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

Steve Loughran commented on MAPREDUCE-5983:
-------------------------------------------

the test can use {{FileContextTestHelper}} to pick up a test dir

> TestCommandLineJobSubmission assumes there is a /tmp dir that can be used for temp data
> ---------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5983
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5983
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Steve Loughran
>            Assignee: Zhang Kun
>            Priority: Minor
>              Labels: newbie
>
> the test case in TestCommandLineJobSubmission assumes that it can create stuff in /tmp:
> File buildDir = new File(System.getProperty("test.build.data", "/tmp"));
> as well as being unix only, the result is a test case that doesnt work if >1 person
is running the test on the same cluster. it should really be driven off the java.io.tmpDir
property



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

Mime
View raw message