Hi, I took a look at the codes and found some examples on the web. One example is: http://wiki.opf-labs.org/display/SP/Resource+management
It seems that users can run simple shell commands using Client of YARN. But when it comes to a practical MapReduce example like WordCount, people still run commands in the old way as in MRv1. How can I run WordCount using Client and ApplicationMaster of YARN so that I can request resources flexibly? Thanks! On Mon, Dec 2, 2013 at 11:26 AM, Rob Blah <tmp5...@gmail.com> wrote: > Hi > > Follow the example provided in > Yarn_dist/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell. > > regards > tmp > > > 2013/12/1 Yue Wang <terra...@gmail.com> > >> Hi, >> >> I found the page ( >> http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html) >> and know how to write an ApplicationMaster. >> >> However, is there a complete example showing how to run this >> ApplicationMaster with a real Hadoop Program (e.g. WordCount) on YARN? >> >> Thanks! >> >> >> >> Yue >> > >