hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Azuryy Yu <azury...@gmail.com>
Subject Re: Maven build YARN ResourceManager only
Date Mon, 15 Apr 2013 03:32:55 GMT
but how can I generate only one jar for the whole hadoop-2.0.3 project? I
have to merge the pom or wirte an addtional ivy and ant?




On Mon, Apr 15, 2013 at 12:08 AM, Chin-Jung Hsu <oxhead.list@gmail.com>wrote:

> This does what I need.  All I have to do is to upload the generated jar
> file to the ResourceManager node.  Thank you so much, Arun.
>
> Thanks,
> oxhead
>
>
> On Sun, Apr 14, 2013 at 12:33 AM, Arun C Murthy <acm@hortonworks.com>
> wrote:
>
> > This should work:
> >
> > # Get to the base of the checkout
> > $ cd trunk
> >
> > # Build/install in your local repo - FYI 'install' is important
> > $ mvn package install -DskipTests=true
> >
> > # Now make changes to Scheduler
> > $ #edit ...
> >
> > # Now, just build just the RM package
> > $ cd
> >
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/
> > $ mvn package -DskipTests
> >
> > # Copy the newly built RM jar to your install provided by ${deploy_dir}
> > $ cp ./target/hadoop-yarn-server-resourcemanager-3.0.0-SNAPSHOT.jar
> > ${deploy_dir}/share/hadoop/yarn
> >
> > hth,
> > Arun
> >
> > On Apr 13, 2013, at 7:26 AM, Chin-Jung Hsu wrote:
> >
> > > I am implementing my own YARN scheduler under 2.0.3-alpha.  Is that
> > > possible to build only the ResourceManager project, and then create a
> > > distribution tar.gz for the entire Hadoop project?  Right now, the
> > > compiling time takes me about 9 minutes.
> > >
> > > Thanks,
> > > oxhead
> >
> > --
> > Arun C. Murthy
> > Hortonworks Inc.
> > http://hortonworks.com/
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message