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

YARN application logging


With the execution of an application over a YARN cluster, logs are generated for activities in the different components. These logs are broadly classified as follows:

Services logs

The ResourceManager and NodeManager daemons run 24 x 7 on the cluster nodes. These services keep a track of the activities on the cluster and coordinate with the other processes such as ApplicationMaster and container. The YARN service logs are created under the logs directory in the HADOOP_PREFIX directory. You can refer to the managing service logs section in the previous chapter.

Application logs

The ApplicationMaster, as well as the containers running in the cluster, generate the application logs. Logging allows the debugging and analyzing of applications. By default, these logs are generated under the user_logs directory of logs in the Hadoop installation folder. You can configure the location of the directory by using the following property:

<property>
    <name>yarn.nodemanager...
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}