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 <[email protected]>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 <[email protected]> > 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/ > > > > > > >
