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

NodeManager REST APIs


YARN NodeManager APIs allow the user or administrator to obtain the node resource metrics, health status of the node, list of applications and containers associated with that node, and so on. The default port for NodeManager's web application is 8042. An administrator can configure the web application address using the yarn.nodemanager.webapp.address property in the yarn-site.xml file.

NodeManager REST APIs can be grouped as:

  • Node summary

  • Applications

  • Containers

The node summary

This API provides metadata about the node, which includes the version of the NodeManager service, host name, node status, resource utilization, and more:

  • Node metadata: The summary for the node:

    • URI: http://<NM Http Address:Port>/ws/v1/node/info

    • Example: http://node1:8042/ws/v1/node/info

Applications

Similar to the ResourceManager API, the application APIs for NodeManager provide information related to a collection of application objects or a specific application that is associated with the...

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}