Return-Path: X-Original-To: apmail-whirr-dev-archive@www.apache.org Delivered-To: apmail-whirr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 786A585B2 for ; Tue, 13 Sep 2011 20:23:32 +0000 (UTC) Received: (qmail 30780 invoked by uid 500); 13 Sep 2011 20:23:32 -0000 Delivered-To: apmail-whirr-dev-archive@whirr.apache.org Received: (qmail 30690 invoked by uid 500); 13 Sep 2011 20:23:31 -0000 Mailing-List: contact dev-help@whirr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@whirr.apache.org Delivered-To: mailing list dev@whirr.apache.org Received: (qmail 30416 invoked by uid 99); 13 Sep 2011 20:23:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 20:23:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 20:23:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7B10B960CA for ; Tue, 13 Sep 2011 20:23:09 +0000 (UTC) Date: Tue, 13 Sep 2011 20:23:09 +0000 (UTC) From: "Frank Scholten (JIRA)" To: dev@whirr.apache.org Message-ID: <933989418.23804.1315945389500.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1881107335.19176.1315862229429.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (WHIRR-384) Add Mahout as a service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WHIRR-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Scholten updated WHIRR-384: --------------------------------- Attachment: WHIRR-384-mahout-client.patch > Add Mahout as a service > ----------------------- > > Key: WHIRR-384 > URL: https://issues.apache.org/jira/browse/WHIRR-384 > Project: Whirr > Issue Type: New Feature > Components: new service > Affects Versions: 0.7.0 > Reporter: Frank Scholten > Fix For: 0.7.0 > > Attachments: WHIRR-384-mahout-client.patch, WHIRR-384-mahout-home.patch > > > Here is an initial patch to support Mahout as a Whirr service. > I created the role 'mahout-home' which can be used to install the binary Mahout distribution on a Hadoop namenode. > By combining this role with configuration for a Hadoop cluster you can SSH into the namenode, su to root and start running Mahout jobs via the mahout script immediately. > The 'mahout-home' role has two properties > Mahout version whirr.mahout.version > URL of the Mahout binary distribution tarball whirr.mahout.tarball.url > Note that I used a snapshot version of Mahout for testing, revision 1169784, because there were some problems with the Mahout script in 0.5 that have been fixed on trunk, see MAHOUT-680. To test you can set the tarball property to this link http://dl.dropbox.com/u/13436484/mahout-distribution-0.6-SNAPSHOT.tar.gz > I used configure actions and the onBeforeConfigure(). If there is a better way to express this with the Whirr API let me know. > Currently I am investigating a 'mahout-jar' role, which installs the Mahout examples job jar under $HADOOP_HOME/lib on a tasktracer node. I already have some code for putting the jar in place but when running a job from my local machine I still get ClassNotFoundExceptions. I believe this is because Hadoop has already started before the jar is put in the lib dir, so the jar won't be picked up, but I have to investigate some more. From WHIRR-221 I understood that there is no support (yet?) for ordering of services but if you have an idea on how to fix this let me know. > Comments and suggestions welcome! -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira