You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/20 01:41:11 UTC

[jira] [Commented] (MAHOUT-1794) Support alternate temporary directories in example scripts.

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

ASF GitHub Bot commented on MAHOUT-1794:
----------------------------------------

GitHub user chu11 opened a pull request:

    https://github.com/apache/mahout/pull/178

    MAHOUT-1794: Support MAHOUT_WORK_DIR environment variable

    Support MAHOUT_WORK_DIR environment variable in examples to allow user to specify an alternate scratch/temp space instead of the defined one.  This will allow users in some environments without local drives or with small /tmp mounts to still run the examples.

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

    $ git pull https://github.com/chu11/mahout mahoutworkdir

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

    https://github.com/apache/mahout/pull/178.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 #178
    
----
commit 89e19c75e80fd9523af5eb208cc13674db7a847f
Author: Albert Chu <ch...@llnl.gov>
Date:   2015-11-17T00:43:42Z

    Support environment variable MAHOUT_WORK_DIR to allow users to
    specify an alternate temporary directory in examples.

commit 599101083ab7d31600b8c93b2efd8cea4c0a30bf
Author: Albert Chu <ch...@llnl.gov>
Date:   2015-11-19T21:46:05Z

    In examples, specify -p option to HDFS -mkdir option when potentially
    necessary.

----


> Support alternate temporary directories in example scripts.
> -----------------------------------------------------------
>
>                 Key: MAHOUT-1794
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1794
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 0.11.1
>            Reporter: Albert Chu
>            Priority: Minor
>
> In many of the example scripts, a directory in /tmp (e.g. /tmp/mahout-work-dir) is created for use as temporary scratch space, such as to store data files that are downloaded.
> In a number of HPC environments, /tmp may not exist or /tmp may be very small b/c local disk drives don't exist.  It'd be convenient to be able to specify an alternate directory to use as scratch space.
> Pull request via Github to be sent shortly.



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