Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # dev - Building Hadoop...


Copy link to this message
-
Re: Building Hadoop...
Ted Yu 2013-07-29, 15:47
To my knowledge, attaching patch on the JIRA is the standard way of
contributing to Hadoop.

BTW there is a small lag between checkin of SVN and the propagation to GIT.

Cheers

On Mon, Jul 29, 2013 at 8:20 AM, James Carman <[EMAIL PROTECTED]>wrote:

> What is the "preferred" way you guys want to receive patches?  Would
> you rather I fork your Git repo and provide pull requests or do you
> want patches attached to JIRAs?  I can do either one, no big deal.
>
> On Mon, Jul 29, 2013 at 10:47 AM, Tsuyoshi OZAWA
> <[EMAIL PROTECTED]> wrote:
> > The master repository is SVN, and Git one is mirror of that. Both of
> > them are official.
> > You can find these information at:
> http://wiki.apache.org/hadoop/HowToContribute
> >
> > Thanks,
> > - Tsuyoshi
> >
> > On Mon, Jul 29, 2013 at 8:29 PM, James Carman
> > <[EMAIL PROTECTED]> wrote:
> >> Is the "official" source repository Git or SVN for this project?
> >>
> >> On Sun, Jul 28, 2013 at 11:22 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> >>> 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 <
> [EMAIL PROTECTED]>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 <
> [EMAIL PROTECTED]
> >>>> >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 <[EMAIL PROTECTED]>
> 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 <
> [EMAIL PROTECTED]>
> >>>> > 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 <[EMAIL PROTECTED]>
> wrote:
> >>>> > >>> You should be using libprotoc 2.4.1
> >>>> > >>>
> >>>> > >>> Cheers
> >>>> > >>>
> >>>> > >>> On Sun, Jul 28, 2013 at 7:08 AM, James Carman
> >>>> > >>> <[EMAIL PROTECTED]>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?