Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 1BE3810DF8 for ; Mon, 29 Jul 2013 03:22:57 +0000 (UTC) Received: (qmail 84304 invoked by uid 500); 29 Jul 2013 03:22:51 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 84237 invoked by uid 500); 29 Jul 2013 03:22:46 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 84229 invoked by uid 99); 29 Jul 2013 03:22:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 03:22:46 +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.176 as permitted sender) Received: from [209.85.217.176] (HELO mail-lb0-f176.google.com) (209.85.217.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 03:22:40 +0000 Received: by mail-lb0-f176.google.com with SMTP id w10so1602251lbi.21 for ; Sun, 28 Jul 2013 20:22:19 -0700 (PDT) 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=lSWD5s87rNumaMtDjq7XUE4TGPvmYF1wXkZi22e3/FQ=; b=kGSGyBMkYAbkll1y+vw1Ou/iSthTqu+vlbnPcD1NAqI5gnDwH4lPRbwjo1j88nNCPf UcrGndK9pt7RgKB7LaO/VfGJdZvuT2I14jL0TemKI7yWn8rFtK7VwImfYpyit7wUAQRw qsUi4SE1s/+OhQrPPBOu7wlHRO6KwkVfZlGLl94peVme1tjBNB4RfcfFpOTE6L9B/V3S O6buhxJcKfP+4jAv7pvzOINH2p22ohvkoeXsRRQg4d8+XUxHs51+FkrKwFaqWiJXjARt c/HbZOxKfyiV7Ojz//oFDOymeNk+WjWP4zr3CI20+gjTJZwcSnIrgUTUaSHcRl27Y0g1 M20Q== MIME-Version: 1.0 X-Received: by 10.112.5.199 with SMTP id u7mr24988347lbu.67.1375068139617; Sun, 28 Jul 2013 20:22:19 -0700 (PDT) Received: by 10.112.141.5 with HTTP; Sun, 28 Jul 2013 20:22:19 -0700 (PDT) In-Reply-To: References: <947C38D2-0228-42D7-8D1B-AD92F803AD77@gmail.com> Date: Sun, 28 Jul 2013 20:22:19 -0700 Message-ID: Subject: Re: Building Hadoop... From: Ted Yu To: common-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=14dae94ed6fd01066f04e29e00a8 X-Virus-Checked: Checked by ClamAV on apache.org --14dae94ed6fd01066f04e29e00a8 Content-Type: text/plain; charset=ISO-8859-1 Thanks for sharing, Chris. The following command would produce tar ball, skipping javadoc: mvn clean package -Dtar -Pdist -DskipTests=true -Dmaven.javadoc.skip=true Cheers On Sun, Jul 28, 2013 at 8:13 PM, Chris Mildebrandt wrote: > I put together a small doc for myself while I was building Hadoop on OSX > that may help: > > > https://docs.google.com/document/d/13Lh4fS7ZIE2SyVLQxtqgbqLxn_lYdgOQY8oR3tZj4XU > > Didn't really create it for public consumption, so it's not well formatted, > etc. > > -Chris > > > On Sun, Jul 28, 2013 at 2:00 PM, James Carman >wrote: > > > Okay, cool. That's what I figured. I'll try to figure out how to > > install specific versions using homebrew and move on down the road. > > Thanks! > > > > On Sun, Jul 28, 2013 at 4:22 PM, Ted Yu wrote: > > > Protobuf 2.5 isn't compatible with 2.4.1 which is the standard used by > > Hadoop 2.0 > > > > > > On Jul 28, 2013, at 1:13 PM, James Carman > > wrote: > > > > > >> I am on Mac OS X. I've installed protobuf 2.5.0 using homebrew. > > >> However, I'm getting errors like this: > > >> > > >> [ERROR] Failed to execute goal > > >> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > > >> (default-compile) on project hadoop-common: Compilation failure: > > >> Compilation failure: > > >> [ERROR] > > > /Users/jcarman/IdeaProjects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ipc/protobuf/RpcHeaderProtos.java:[1486,37] > > >> cannot find symbol > > >> [ERROR] symbol : class Parser > > >> [ERROR] location: package com.google.protobuf > > >> [ERROR] > > > /Users/jcarman/IdeaProjects/hadoop/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ipc/protobuf/RpcHeaderProtos.java:[1497,30] > > >> cannot find symbol > > >> > > >> Is this because protobuf is generating source code using a newer > > >> version and some of the classes aren't there? > > >> > > >> > > >> On Sun, Jul 28, 2013 at 10:15 AM, Ted Yu wrote: > > >>> You should be using libprotoc 2.4.1 > > >>> > > >>> Cheers > > >>> > > >>> On Sun, Jul 28, 2013 at 7:08 AM, James Carman > > >>> wrote: > > >>> > > >>>> Is there anything special I have to do to get the build working on > my > > >>>> local machine? I have installed protocol buffers and I of course > have > > >>>> Maven/JDK. I am getting compiler errors relating to protobuf. Do I > > need a > > >>>> different version in my local Maven repository? > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > > --14dae94ed6fd01066f04e29e00a8--