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/


Reply via email to