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 AC34710570 for ; Sun, 28 Jul 2013 21:01:24 +0000 (UTC) Received: (qmail 41018 invoked by uid 500); 28 Jul 2013 21:01:22 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 40947 invoked by uid 500); 28 Jul 2013 21:01:22 -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 40939 invoked by uid 99); 28 Jul 2013 21:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jul 2013 21:01:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.215.53] (HELO mail-la0-f53.google.com) (209.85.215.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jul 2013 21:01:18 +0000 Received: by mail-la0-f53.google.com with SMTP id el20so1401026lab.12 for ; Sun, 28 Jul 2013 14:00:36 -0700 (PDT) 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=XfNPKZFxkAMkvRvU4/DOD0VHXqJIgZSHDWxyL2/QNZk=; b=HUnf1zrUqX8/QieEWWA776Dz9Vt78SYfnp8DVwW2fYcX/h1pt/jMUeno0eVfWPz/N7 tlmCUhtwDhyjOKx3Vi1u3vMBLOzYsb7IN5Vp6mCEMm0NS9fqWvz+DM3OQsxEGxIaFc1u Ldv6QRj+W1aoP8gnFYl1Lmnay0nQ1NkSskAVlRwbYrJWSOUmTHAcPDIN5hUYsL7M8CPF Gul8MmxpJD6+laPZzSWMyIVrLinkiRNH06RpdCWgTRClZ/3btHJUxN7TtAwAglrKuO4j VgpcY0/j+L9Zw2t7l3IcO/9GBpklhZVpkZdar8GQdm7pFO2tnhsXpk9NRUp7axfTIVuE DtGw== X-Received: by 10.112.33.68 with SMTP id p4mr3268812lbi.13.1375045236336; Sun, 28 Jul 2013 14:00:36 -0700 (PDT) MIME-Version: 1.0 Sender: jcarman@carmanconsulting.com Received: by 10.112.134.138 with HTTP; Sun, 28 Jul 2013 14:00:16 -0700 (PDT) In-Reply-To: <947C38D2-0228-42D7-8D1B-AD92F803AD77@gmail.com> References: <947C38D2-0228-42D7-8D1B-AD92F803AD77@gmail.com> From: James Carman Date: Sun, 28 Jul 2013 17:00:16 -0400 X-Google-Sender-Auth: oySfKkf8WuWysH945qf8vmWNCAA Message-ID: Subject: Re: Building Hadoop... To: common-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlYw8XOM5TLUuyLk5fqt/cgxbVLzr4otcwDM911GxGAoke0uH13BiruRHRH0Le9FejXkMei X-Virus-Checked: Checked by ClamAV on apache.org 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? >>>> >>>> >>>> >>>> >>>> >>>>