hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chin-Jung Hsu <oxhead.l...@gmail.com>
Subject Re: Maven build YARN ResourceManager only
Date Sun, 14 Apr 2013 16:08:35 GMT
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