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

ASF GitHub Bot commented on HADOOP-12984:
-----------------------------------------

GitHub user vinayakumarb opened a pull request:

    https://github.com/apache/hadoop/pull/91

    HADOOP-12984. Add GenericTestUtils.getTestDir method and use it for 
temporary directory in tests (branch-2)

    Rebased against branch-2

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vinayakumarb/hadoop 
features/HADOOP-12984-branch-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/91.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #91
    
----
commit c9675a22a320ecaa0dcb6a445b0d259aa91baa22
Author: Vinayakumar B <[email protected]>
Date:   2016-04-05T14:29:16Z

    HADOOP-12984. Add GenericTestUtils.getTestDir method and use it for 
emporary directory in tests

----


> Add GenericTestUtils.getTestDir method and use it for temporary directory in 
> tests
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-12984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12984
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build, test
>    Affects Versions: 3.0.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: HADOOP-12984-003.patch, HDFS-9263-001.patch, 
> HDFS-9263-002.patch, HDFS-9263-003.patch
>
>
> We have seen some tests had been used the path {{test/build/data}} to store 
> files, so leaking files which fail the new post-build RAT test checks on 
> Jenkins (and dirtying all development systems with paths which {{mvn clean}} 
> will miss.
> In order not to occur these bugs such as MAPREDUCE-6589 and HDFS-9571 again, 
> we'd like to introduce new utility methods to get a temporary directory path 
> easily, and use the methods in tests.



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

Reply via email to