You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Isabel Drost (JIRA)" <ji...@apache.org> on 2013/05/01 08:54:16 UTC

[jira] [Comment Edited] (MAHOUT-1200) Mahout tests depend on writing to /tmp/hadoop-$user

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

Isabel Drost edited comment on MAHOUT-1200 at 5/1/13 6:52 AM:
--------------------------------------------------------------

I tried to loosly follow the ideas in http://linux.die.net/man/3/mkstemp
                
      was (Author: isabel):
    I tried to loosly follow the ideas in http://linux.die.net/man/3/mktemp
                  
> Mahout tests depend on writing to /tmp/hadoop-$user
> ---------------------------------------------------
>
>                 Key: MAHOUT-1200
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1200
>             Project: Mahout
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.7
>            Reporter: Isabel Drost
>         Attachments: MAHOUT-1200.patch
>
>
> Running the Mahout test suite creates the temp directory /tmp/hadoop-$user which is used by all Hadoop related tests that pull up a local cluster. The directory is not removed after running the tests. In particular when running multiple tests in parallel on the same machine as the same user this can lead to problems.
> To re-produce issue the following commands prior to running the full test suite:
> mkdir /tmp/hadoop-$USER
> chmod 000 /tmp/hadoop-$USER
> mvn test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira