You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/15 12:13:11 UTC

[jira] [Resolved] (MAHOUT-701) ClusterDumper writes to System.out or local filesystem only (I would like to write to s3 when running on Elastic MapReduce)

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

Sean Owen resolved MAHOUT-701.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6
         Assignee: Sean Owen

OK, sounds easy. I committed.
                
> ClusterDumper writes to System.out or local filesystem only (I would like to write to s3 when running on Elastic MapReduce)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-701
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-701
>             Project: Mahout
>          Issue Type: Bug
>          Components: Integration
>         Environment: Amazon Elastic MapReduce
>            Reporter: Dave Lewis
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: MAHOUT-701.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> At the end of a kmeans job at EMR, I like to look through the clusters.  Unfortunately ClusterDumper writes to System.out or a local file.  I added a small conditional to examine the filename to see if it starts with s3n://, and if so to open up a FileSystem to write to s3 instead of to the local filesystem so that the output file is available after the cluster is shut down.  I am creating the patch now (tests are still running from the change in MAHOUT-700), so I will add the patch to this issue shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira