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 4784610DD3 for ; Mon, 29 Jul 2013 03:14:09 +0000 (UTC) Received: (qmail 75809 invoked by uid 500); 29 Jul 2013 03:14:06 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 75288 invoked by uid 500); 29 Jul 2013 03:13:55 -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 75275 invoked by uid 99); 29 Jul 2013 03:13:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 03:13:53 +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 (athena.apache.org: domain of eyeofthefrog@gmail.com designates 209.85.212.53 as permitted sender) Received: from [209.85.212.53] (HELO mail-vb0-f53.google.com) (209.85.212.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 03:13:48 +0000 Received: by mail-vb0-f53.google.com with SMTP id i3so185969vbh.12 for ; Sun, 28 Jul 2013 20:13:28 -0700 (PDT) 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=Jwvv+osFi+6m+dDXbQDA/F5TpRibURzUYhXFKcbs8ZM=; b=dYtiE1bEws8pgBt9FCF1nTNVBCxtzpIHL9iObnM0ZhpxKv9s5MZQ34feURgPtAjqdZ KiuQR0hb/P+qEAaIOXknqXLOO7oXxcHpSrvbb1wGYrzHJCPUcEsd3rHTHppf+jOV1Tio 4V6YkLzCbkPkND2nMZSpyO3qYbRqKI7JKQYHlqg1Cd5uOp5qVR5pI+EPgD0ayc2j+tiF /gcjynk/c+Qjnk7aNQjN9R62W8ueZr8j3ToXdjR+a0JbnP4VtTQsR9iizp2sgzAE4t85 u4HPpvq57gcEJtrrurnQ0L/1NrzbbWhLBltJq7G+224IAMr6Oyt68OupjdHuPA5ECpNN k8IA== X-Received: by 10.220.98.68 with SMTP id p4mr7769950vcn.28.1375067607976; Sun, 28 Jul 2013 20:13:27 -0700 (PDT) MIME-Version: 1.0 Sender: eyeofthefrog@gmail.com Received: by 10.220.213.68 with HTTP; Sun, 28 Jul 2013 20:13:07 -0700 (PDT) In-Reply-To: References: <947C38D2-0228-42D7-8D1B-AD92F803AD77@gmail.com> From: Chris Mildebrandt Date: Sun, 28 Jul 2013 20:13:07 -0700 X-Google-Sender-Auth: sMvQBHeNYp5-6tbLBe_YXDoLJ70 Message-ID: Subject: Re: Building Hadoop... To: common-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c1f9ee50d19f04e29de0ed X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1f9ee50d19f04e29de0ed Content-Type: text/plain; charset=UTF-8 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? > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > --001a11c1f9ee50d19f04e29de0ed--