Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning YARN

You're reading from  Learning YARN

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781784393960
Pages 278 pages
Edition 1st Edition
Languages

Table of Contents (20) Chapters

Learning YARN
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Starting with YARN Basics Setting up a Hadoop-YARN Cluster Administering a Hadoop-YARN Cluster Executing Applications Using YARN Understanding YARN Life Cycle Management Migrating from MRv1 to MRv2 Writing Your Own YARN Applications Dive Deep into YARN Components Exploring YARN REST Services Scheduling YARN Applications Enabling Security in YARN Real-time Data Analytics Using YARN Index

Running and monitoring MRv1 apps on YARN


The syntax to submit applications is similar to the MRv1 framework. A minor difference in MRv2 is the use of the yarn command in the Hadoop-YARN bin folder rather than hadoop. Although submission of applications is supported using the hadoop command in MRv2, the yarn command is still preferred.

YARN uses the ResourceManager web interface for monitoring applications running on a YARN cluster. The ResourceManager UI shows the basic cluster metrics, list of applications, and nodes associated with the cluster. In this section, we'll discuss the monitoring of MRv1 applications over YARN.

You can execute a sample MapReduce job like word count and browse to the web UI for ResourceManager at http://<ResourceManagerHost>:8088/.

A new application is submitted to the YARN cluster and you can view the application summary in the application table. You can open the application details page by clicking on the link for the corresponding row in the table.

The application...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}