[ 
https://issues.apache.org/jira/browse/BIGTOP-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jay vyas updated BIGTOP-1052:
-----------------------------

    Attachment: BIGTOP-1052.1.patch

Okay I have modified this JIRA name to specifically address the first phase of 
improvements, and tested this file on a four node cluster.  It works :).  The 
changes i made in this patch proxy all jobs to an assertRun method, which 
debugs the exact command+  asserts the return code = 0.  Also it uses the 
MAHOUT_HOME Environmental variable, and I've confirmed that also (because my 
cluster doesn't have /usr/bin/mahout, so that clearly is working as well).   
Here is the patch.  I also fixed the formatting some, hence the large diff log. 
 
                
> Increase environment configurability/debugging of Mahout Tests
> --------------------------------------------------------------
>
>                 Key: BIGTOP-1052
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1052
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>            Reporter: jay vyas
>         Attachments: BIGTOP-1052.1.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The TestMahoutExamples.groovy file is very comprehensive :) but also very 
> long and complex.  There are other JIRA's that suggest that some of the tests 
> in it fail.  It is different from TestHadoopExamples in that it is not easy 
> to comment out the subtests to only run a subset.  
> I suggest 
> 1) [TO BE MOVED TO A SEPARATE JIRA] Refactoring tests into separate groovy 
> scripts so that they can be filtered in the Pom, using the includes. i.e. 
> <includes>
>    <include>**/*Test*MovieLens*</include>
> </includes>
> And as another convenience for the purpose of easing the running of these 
> tests, I suggest
> 2) [THIS JIRA: 1052] Utilizing MAHOUT_HOME environmental variable in the 
> tests if it is provided, so that the mahout package installation can be 
> tested directly from tarballs.

--
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

Reply via email to