You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/09/14 21:26:09 UTC

[jira] [Commented] (MAHOUT-811) Mahout examples try to write to examples/bin/work, which may not be writeable by current user

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

Hudson commented on MAHOUT-811:
-------------------------------

Integrated in Mahout-Quality #1038 (See [https://builds.apache.org/job/Mahout-Quality/1038/])
    MAHOUT-811 move work dir to /tmp

srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170702
Files : 
* /mahout/trunk/examples/bin/build-20news-bayes.sh
* /mahout/trunk/examples/bin/build-cluster-syntheticcontrol.sh
* /mahout/trunk/examples/bin/build-reuters.sh
* /mahout/trunk/examples/bin/factorize-movielens-1M.sh


> Mahout examples try to write to examples/bin/work, which may not be writeable by current user
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-811
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-811
>             Project: Mahout
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 0.5
>            Reporter: Andrew Bayer
>            Assignee: Sean Owen
>             Fix For: 0.6
>
>         Attachments: MAHOUT-811.diff.txt
>
>
> The examples in examples/bin create subdirectories (either work or mahout-work) in that directory and write to those subdirectories. This works fine if the current user has write access to examples/bin, but if not (such as in the case of the package generated by Bigtop, in which the files are installed to /usr/lib/mahout and owned by root), the examples can't run. This is causing BIGTOP-96, but needs to be fixed in Mahout. The patch I'm attaching changes all the references to work, examples/bin/work, and mahout-work to instead use /tmp/mahout-work-${USER}, which will be writeable. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira