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/17 02:02:10 UTC
[jira] [Commented] (MAHOUT-1793) Declare WORK_DIR earlier in
example script to fix output error in help output
[ https://issues.apache.org/jira/browse/MAHOUT-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007735#comment-15007735 ]
ASF GitHub Bot commented on MAHOUT-1793:
----------------------------------------
GitHub user chu11 opened a pull request:
https://github.com/apache/mahout/pull/177
MAHOUT-1793 - Declare WORK_DIR earlier in example script to fix output error in help output
Move definition of WORK_DIR earlier in the script so that it is available for output in the help output.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chu11/mahout fixexampleoutputlogic
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mahout/pull/177.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 #177
----
commit 142915438d5cc467ac5d512df67283797ff191e7
Author: Albert Chu <ch...@llnl.gov>
Date: 2015-11-17T00:49:58Z
Move definition of WORK_DIR earlier in the script so that it is
available for output in the help output.
----
> Declare WORK_DIR earlier in example script to fix output error in help output
> -----------------------------------------------------------------------------
>
> Key: MAHOUT-1793
> URL: https://issues.apache.org/jira/browse/MAHOUT-1793
> Project: Mahout
> Issue Type: Bug
> Components: Examples
> Affects Versions: 0.11.1
> Reporter: Albert Chu
> Priority: Trivial
>
> Noticed this when running some examples:
> {noformat}
> Please select a number to choose the corresponding clustering algorithm
> 1. kmeans clustering (runs from this example script in cluster mode only)
> 2. fuzzykmeans clustering (may require increased heap space on yarn)
> 3. lda clustering
> 4. streamingkmeans clustering
> 5. clean -- cleans up the work area in
> {noformat}
> It should say
> {noformat}
> 5. clean -- cleans up the work area in /tmp/SOMETHING
> {noformat}
> The issue is the variable WORK_DIR is set after this help output is output.
> It's a trivial patch. Git pull request to be sent shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)