Albert Chu created MAHOUT-1793:
----------------------------------

             Summary: 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)

Reply via email to