Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-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 3A04BCB24 for ; Fri, 7 Jun 2013 16:19:57 +0000 (UTC) Received: (qmail 50313 invoked by uid 500); 7 Jun 2013 16:19:57 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 50139 invoked by uid 500); 7 Jun 2013 16:19:54 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 50131 invoked by uid 99); 7 Jun 2013 16:19:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 16:19:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vinod@twitter.com designates 209.85.192.178 as permitted sender) Received: from [209.85.192.178] (HELO mail-pd0-f178.google.com) (209.85.192.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 16:19:47 +0000 Received: by mail-pd0-f178.google.com with SMTP id w11so587329pde.9 for ; Fri, 07 Jun 2013 09:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=5cx5Ji0TKYOgnwNFcem0ETR3gHbLlT6L40N/Bkb6mns=; b=cvn/BGLxeCpFYTtqKYUFkPOeqEFArT7uRnVRHsQmO3k4zDj4O7ypvXoR9NCm5lITX9 rmlXu2cZFpgcLJZISe7ib714qsMae+gihb8GoLzN1yEoMXqNiQSSmoidNxgUW78r/AQv EklJodzLeteScBc1YospcFXhmTtAdhbsWsayo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=5cx5Ji0TKYOgnwNFcem0ETR3gHbLlT6L40N/Bkb6mns=; b=c53XoV+Mnzjavd/BLUcdPRKjIfX3+RewgXSXU4zWAoxULaDgeGGYRNYnrHZKkjToRl TWIg58nZjm089ux7o5s+qltMepEOkUvvP4OjP9YKlg6LlxBxfEho7V7EbFju2XGDrqMo mFRAYeOkLUE83+hM1H4mNZTDQySGrhfsbLNBRA+feCndYV3rwLBvGX5cVIsdXxmWalvd fgf4z/S5xSapQ346ECXlY1UDHk7wEb7prwlBFYVsdD+V/eHE7fvv+eTpFh+7i5RXznDR pPlGK0QFqIeEXreJWrnZRGMBdMbhBEpWhO+TXksSUWEFRxT3UFbZig1epCE+zN5XsFx4 TE9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=5cx5Ji0TKYOgnwNFcem0ETR3gHbLlT6L40N/Bkb6mns=; b=ZDtREJO1ED4uPYOK+Fjj+2NDU+PwsJJr0Sk1KUyhYXpyRnsIFra5dpntr8uRw75ung V/iBCLd/207m3Muke1IHdBZNOFhL4LhH0oKQVTSubwY6FXdNW7uZstOBsuA2mY3MApb/ WKf1QVNlL095+qJh0FvwwpsEAaJOzbtgLzsLmt6Z/o9KX0bCOqf6jW31rDbW6IO+NTpS OpQXKscJ3LENFzBhRKKR7QDwp6b2/JKx0w5K6REntG3QACI8a7brIUw1cBU60GkeQ8e2 kIP54iKC05xmxWZnADw1qrnHXUde7hNpG8n8PdW2zvxxOsb9o8Yz3g3ZBnyoiGFZa4c1 Bm8g== X-Received: by 10.68.143.130 with SMTP id se2mr7135936pbb.25.1370621966411; Fri, 07 Jun 2013 09:19:26 -0700 (PDT) MIME-Version: 1.0 Sender: vinod@twitter.com Received: by 10.68.105.227 with HTTP; Fri, 7 Jun 2013 09:19:06 -0700 (PDT) In-Reply-To: References: From: Vinod Kone Date: Fri, 7 Jun 2013 09:19:06 -0700 X-Google-Sender-Auth: 6eGZJDhcUC-Ut0e7lbBHtAy-U9Y Message-ID: Subject: Re: Error while buillding hadoop on mesos To: "mesos-dev@incubator.apache.org" Content-Type: multipart/alternative; boundary=047d7b2e48706dfb1104de92cb61 X-Gm-Message-State: ALoCoQmuyDfvNyQUWXybKpyNXJ5DULM6bYuypk+TucvF3YtVvK9MrUMFXaAFCPZqfMXC4bbLuoTM X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e48706dfb1104de92cb61 Content-Type: text/plain; charset=ISO-8859-1 hey goutham, we've recently (mesos-0.12.0) rewrote the hadoop port on mesos. the old hadoop port is no longer supported. we will be sending out an email soon with a 0.12.0 release candidate which you can try. in the meanwhile, you could try to build mesos from the 0.12.x branch of our git repo: https://git-wip-us.apache.org/repos/asf?p=incubator-mesos.git. On Thu, Jun 6, 2013 at 11:44 PM, Goutham Tadi wrote: > > [root@10 mesos-0.10.0]# ls > > aclocal.m4 config.guess config.status configure.ac hadoop > libtool m4 Makefile.in NOTICE src > bin > config.log config.sub depcomp include LICENSE > Makefile missing protobuf-2.4.1.jar support > bootstrap > config.lt configure ec2 install-sh ltmain.sh > Makefile.am mpi README third_party > > > [root@10 mesos-0.10.0]# cd hadoop/ > [root@10 hadoop]# ls > > hadoop-0.20.205.0_hadoop-env.sh.patch > hadoop-0.20.205.0.patch > hadoop-0.20.2-cdh3u3_mesos.patch Makefile.am mapred-site.xml.patch > mesos-executor > hadoop-0.20.205.0_mesos.patch > hadoop-0.20.2-cdh3u3_hadoop-env.sh.patch > hadoop-0.20.2-cdh3u3.patch Makefile.in mesos > TUTORIAL.sh > > [root@10 hadoop]# ./TUTORIAL.sh 0.20.2-cdh3u3 > > Welcome to the tutorial on running Apache Hadoop on top of Mesos! > During this interactive guide we'll ask some yes/no > questions and you should enter your answer via 'Y' or 'y' for yes and > 'N' or 'n' for no. > > Let's begin! > > > We'll try and grab hadoop-0.20.2-cdh3u3 for you now via: > > $ wget http://archive.cloudera.com/cdh/3/hadoop-0.20.2-cdh3u3.tar.gz > > Hit enter to continue. > --2013-06-07 12:00:18-- > http://archive.cloudera.com/cdh/3/hadoop-0.20.2-cdh3u3.tar.gz > Connecting to 10.138.90.12:8000... connected. > Proxy request sent, awaiting response... 200 OK > Length: 69684945 (66M) [application/x-gzip] > Saving to: “hadoop-0.20.2-cdh3u3.tar.gz” > > > 100%[==============================================================================================================================>] > 69,684,945 162K/s in 8m 32s > > 2013-06-07 12:08:51 (133 KB/s) - “hadoop-0.20.2-cdh3u3.tar.gz” > saved [69684945/69684945] > > > Let's start by extracting hadoop-0.20.2-cdh3u3.tar.gz: > > $ tar zxvf hadoop-0.20.2-cdh3u3.tar.gz > > Hit enter to continue. > > ...... > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/image/create-hadoop-image-remote > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/image/ec2-run-user-data > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/launch-hadoop-cluster > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/launch-hadoop-master > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/launch-hadoop-slaves > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/list-hadoop-clusters > hadoop-0.20.2-cdh3u3/src/contrib/ec2/bin/terminate-hadoop-cluster > hadoop-0.20.2-cdh3u3/src/examples/pipes/configure > > Okay, now let's change into the hadoop-0.20.2-cdh3u3 directory in order to > apply > some patches, copy in the Mesos specific code, and build everything. > > $ cd hadoop-0.20.2-cdh3u3 > > Hit enter to continue. > To run Hadoop on Mesos we need to apply a rather minor patch. The > patch makes a small number of modifications in Hadoop. (Note that the > changes to Hadoop have been committed in revisions r1033804 and > r987589 so at some point we won't need to apply any patch at all.) > We'll apply the patch with: > > $ patch -p1 <../hadoop-0.20.2-cdh3u3.patch > > Hit enter to continue. > > patching file src/mapred/org/apache/hadoop/mapred/JobInProgress.java > patching file src/mapred/org/apache/hadoop/mapred/Task.java > patching file src/mapred/org/apache/hadoop/mapred/TaskRunner.java > patching file src/mapred/org/apache/hadoop/mapred/TaskTracker.java > Hunk #4 succeeded at 2036 (offset 22 lines). > Hunk #5 succeeded at 2204 (offset 22 lines). > Hunk #6 succeeded at 2313 (offset 22 lines). > Hunk #7 succeeded at 2979 (offset 22 lines). > Hunk #8 succeeded at 3186 (offset 22 lines). > Hunk #9 succeeded at 3327 (offset 22 lines). > Hunk #10 succeeded at 3362 (offset 22 lines). > Hunk #11 succeeded at 3548 (offset 22 lines). > patching file > src/mapred/org/apache/hadoop/mapred/TaskTrackerInstrumentation.java > > Now we'll copy over the Mesos contrib components. In addition, we'll > need to edit ivy/libraries.properties and src/contrib/build.xml to > hook the Mesos contrib componenet into the build. We've included a > patch to do that for you: > > $ cp -r ../mesos src/contrib > $ cp -p ../mesos-executor bin > $ patch -p1 <../hadoop-0.20.2-cdh3u3_mesos.patch > Hit enter to continue. > > patching file ivy/libraries.properties > patching file src/contrib/build.xml > > Okay, now we're ready to build and then run Hadoop! There are a couple > important considerations. First, we need to locate the Mesos JAR and > native library (i.e., libmesos.so on Linux and libmesos.dylib on Mac > OS X). The Mesos JAR is used for both building and running, while the > native library is only used for running. In addition, we need to > locate the Protobuf JAR (if you don't already have one one your > default classpath). > > This tutorial assumes you've built Mesos already. We'll use the > environment variable MESOS_BUILD_DIR to denote this directory. > > Hit enter to continue. > Using /root/mesos-0.10.0 as the build directory. > > > Now we'll copy over the necessary libraries we need from the build > directory. > > $ cp /root/mesos-0.10.0/protobuf-2.4.1.jar lib > $ cp /root/mesos-0.10.0/src/mesos-0.10.0.jar lib > $ mkdir -p lib/native/Linux-amd64-64 > $ cp /root/mesos-0.10.0/src/.libs/libmesos.so lib/native/Linux-amd64-64 > > > Okay, let's try building Hadoop and the Mesos contrib classes: > > $ ant > > Hit enter to continue. > Buildfile: build.xml > [exec] [INFO] Scanning for projects... > > [exec] Downloading: > > https://repository.cloudera.com/content/groups/cdh-releases-rcs/com/cloudera/cdh/hadoop-root/3.0-u3/hadoop-root-3.0-u3.pom > [exec] > > [exec] Downloading: > > https://repository.cloudera.com/content/repositories/snapshots/com/cloudera/cdh/hadoop-root/3.0-u3/hadoop-root-3.0-u3.pom > [exec] Downloading: > http://repo.maven.apache.org/maven2/com/cloudera/cdh/hadoop-root/3.0-u3/hadoop-root-3.0-u3.pom > [exec] [ERROR] The build could not read 1 project -> [Help 1][ERROR] > > [exec] [ERROR] The project > com.cloudera.cdh:hadoop-ant:${cdh.parent.version} > (/root/mesos-0.10.0/hadoop/hadoop-0.20.2-cdh3u3/cloudera-pom.xml) has 1 > error > > [exec] [ERROR] Non-resolvable parent POM: Could not transfer > artifact com.cloudera.cdh:hadoop-root:pom:3.0-u3 from/to > cdh.releases.repo > (https://repository.cloudera.com/content/groups/cdh-releases-rcs): > Connection to https://repository.cloudera.com refused and > 'parent.relativePath' points at wrong local POM @ line 26, column 11: > Connection refused -> [Help 2] > [exec] [ERROR] > [exec] [ERROR] To see the full stack trace of the errors, re-run > Maven with the -e switch. > [exec] [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > [exec] [ERROR] > [exec] [ERROR] For more information about the errors and possible > solutions, please read the following articles: > [exec] [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [exec] [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > > BUILD FAILED > /root/mesos-0.10.0/hadoop/hadoop-0.20.2-cdh3u3/build.xml:42: exec > returned: 1 > > Total time: 1 second > > Oh no! We failed to run 'ant'. If you need help try emailing: > > mesos-dev@incubator.apache.org > > (Remember to include as much debug information as possible.) > > > Thanks > Goutam Tadi > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > --047d7b2e48706dfb1104de92cb61--