[ 
https://issues.apache.org/jira/browse/MAHOUT-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated MAHOUT-302:
-----------------------------

    Attachment: MAHOUT-302.patch

Holy moly this took a lot of work.

What I attempt to do is centralize all allocation of temporary working 
directories and files for tests. No more createTempFile() and manually deleting 
it, no more arbitrary paths relative to /tmp or the local working directory. If 
done right, then the test framework can allocate test directories in a way that 
won't clash, and will be automatically cleaned up.

Along the way I tried to reduce the free interchange of String and Hadoop Path 
objects (and sometimes File) objects. We really ought to use Path when talking 
about Paths.

The tests manage to pass. Anyone dare actually review some of the changes?

> Change tests to use temp directories instead of output, testdata
> ----------------------------------------------------------------
>
>                 Key: MAHOUT-302
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-302
>             Project: Mahout
>          Issue Type: Task
>          Components: Classification, Clustering, Collaborative Filtering, 
> Frequent Itemset/Association Rule Mining, Genetic Algorithms, Math, Utils
>    Affects Versions: 0.4
>            Reporter: Robin Anil
>            Assignee: Sean Owen
>             Fix For: 0.4
>
>         Attachments: MAHOUT-302.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to