Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA63310FBA for ; Tue, 7 Jan 2014 04:03:56 +0000 (UTC) Received: (qmail 38728 invoked by uid 500); 7 Jan 2014 04:02:41 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 38603 invoked by uid 500); 7 Jan 2014 04:02:32 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 38471 invoked by uid 99); 7 Jan 2014 04:02:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 04:02:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 04:02:07 +0000 Received: by mail-lb0-f172.google.com with SMTP id x18so10541891lbi.3 for ; Mon, 06 Jan 2014 20:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JLtkCDORbZBCoAyQxh/8/7gm2s2xHqUpoAeYbR9cT7I=; b=rSottqQvWh0nCd59FQU+DEKC2fh+EETvaZ8HVncwYvXpdN1qZLQKgFUP2xAmziaDZf yVFprGjTTvEEIZV/z2xMXPituxMR+Mn6anuUkJ7aQRhVCSwYLiJb8rEDZOh2rBLL/aPk oC5sYlw4q0rAGmYo5nT8zHNY8HiBYcHZINpV+7bbHdjo7/oGx5/JUHdFfXjZOMFK1eN6 B40Of7COs+e0++zMK+A0yMsJfeWCSPOaqLy1e/yMj52IjGo+c62t3FawMLJdSllaG5bM BGJdul7JKtcsAQL3X6NMQwdjmZwffqzYJw+CjKxFYnAAZ0MJw6Fy5wc+XYuOifFDBdvj 027g== MIME-Version: 1.0 X-Received: by 10.152.5.163 with SMTP id t3mr2519236lat.39.1389067306586; Mon, 06 Jan 2014 20:01:46 -0800 (PST) Received: by 10.112.183.231 with HTTP; Mon, 6 Jan 2014 20:01:46 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Jan 2014 20:01:46 -0800 Message-ID: Subject: Re: unable to compile hadoop source code From: Ted Yu To: "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e01419e3660d5a504ef596f64 X-Virus-Checked: Checked by ClamAV on apache.org --089e01419e3660d5a504ef596f64 Content-Type: text/plain; charset=ISO-8859-1 The error message said that the build needs protoc to be installed. Search protobuf on the web. Cheers On Mon, Jan 6, 2014 at 7:47 PM, nagarjuna kanamarlapudi < nagarjuna.kanamarlapudi@gmail.com> wrote: > Hi, > I checked out the source code from > https://svn.apache.org/repos/asf/hadoop/common/trunk/ > > I tried to compile the code with mvn. > > I am compiling this on a mac os X , mavericks. Any help is appreciated. > > It failed at the following stage > > > [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [5.017s] > > [INFO] Apache Hadoop Common .............................. FAILURE > [1:39.797s] > > [INFO] Apache Hadoop NFS ................................. SKIPPED > > [INFO] Apache Hadoop Common Project ...................... SKIPPED > > > > > > > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc > (compile-protoc) on project hadoop-common: > org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not > return a version -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > > Thanks, > Nagarjuna K > > --089e01419e3660d5a504ef596f64 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The error message said that the build needs protoc to be i= nstalled.

Search protobuf on the web.

Cheers


On Mon, Jan 6, 2014 at 7:47 PM, nagarjuna kanamarlapudi &= lt;n= agarjuna.kanamarlapudi@gmail.com> wrote:
Hi,
I checked out the source code from=A0https://svn.apache.org/repos= /asf/hadoop/common/trunk/=A0

I tried to compile the code with mvn.

I am compiling this on a mac os X , mavericks. =A0Any help is appre= ciated.

It failed at the following stage


[INFO] Apache Hadoop Auth Examples ....................... SUCC= ESS [5.017s]

[INFO] Apache Hado= op Common .............................. FAILURE [1:39.797s]

[INFO] Apache Hado= op NFS ................................. SKIPPED

[INFO] Apache Hado= op Common Project ...................... SKIPPED








[INFO] ------------------------------------------------------------------= ------

[ERROR] Failed to = execute goal org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (= compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecu= tionException: 'protoc --version' did not return a version -> [H= elp 1]

[ERROR]=A0

[ERROR] To see the= full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Mav= en using the -X switch to enable full debug logging.



Thanks,
Nagarjuna K


--089e01419e3660d5a504ef596f64--