Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B12B38459 for ; Wed, 7 Sep 2011 08:00:22 +0000 (UTC) Received: (qmail 79426 invoked by uid 500); 7 Sep 2011 08:00:05 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 78370 invoked by uid 500); 7 Sep 2011 07:59:44 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 78284 invoked by uid 99); 7 Sep 2011 07:59:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 07:59:34 +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; Wed, 07 Sep 2011 07:59:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A9F888506B for ; Wed, 7 Sep 2011 07:59:10 +0000 (UTC) Date: Wed, 7 Sep 2011 07:59:10 +0000 (UTC) From: "Thomas Jungblut (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <737718503.23972.1315382350692.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1068924829.6149.1314682357688.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (HAMA-431) MapReduce NG integration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098675#comment-13098675 ] Thomas Jungblut edited comment on HAMA-431 at 9/7/11 7:57 AM: -------------------------------------------------------------- Great so let's start with some kind of tutorial: {noformat} svn checkout http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/ {noformat} Follow the building rules in "BUILDING.txt". Most of the time you'd just need to run: {noformat} mvn compile -e -DskipTests {noformat} This will retrieve the dependencies. If you don't have protobuf in your path, the build fails while compiling yarn-api. This is caused by the exec plugin which compiles the protobuf files (generates sources). {noformat} [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-sources) on project hadoop-yarn-api: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-sources) on project hadoop-yarn-api: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) {noformat} This pom.xml tries to run an executable called "protoc", so make sure you have installed protobuf correctly. You can download it here: http://code.google.com/p/protobuf/ Follow the steps in INSTALL.txt. ./configure make make install Maybe "configure" fails because you don't have g++ installed, so just install it via "apt-get install g++" and then start the whole process again. Be careful what the output of install says. For me it told me that he layed the shared objects into "/usr/local/lib". You then have to edit your "/etc/ld.so.conf" and add the path of the protobuf shared objects to it. Reload with "ldconfig". Now you can try to run "protoc" on your shell, it should tell you "missing input file". Back to yarn you can just call {noformat} mvn compile -e -rf :hadoop-yarn-api -DskipTests {noformat} to rerun the build process. was (Author: thomas.jungblut): Great so let's start with some kind of tutorial: {noformat} svn checkout http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/ {noformat} Follow the building rules in "BUILDING.txt". Most of the time you'd just need to run: {noformat} mvn compile -e -DskipTests {noformat} This will retrieve the dependencies. // to be extended > MapReduce NG integration > ------------------------ > > Key: HAMA-431 > URL: https://issues.apache.org/jira/browse/HAMA-431 > Project: Hama > Issue Type: New Feature > Reporter: Thomas Jungblut > Assignee: Thomas Jungblut > > We should take a look at how to integrate Hama's BSP Engine to Hadoop's nextGen application platform. > Can be currently found in the 0.23 branch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira