Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning YARN

You're reading from   Learning YARN Moving beyond MapReduce - learn resource management and big data processing using YARN

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781784393960
Length 278 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Starting with YARN Basics FREE CHAPTER 2. Setting up a Hadoop-YARN Cluster 3. Administering a Hadoop-YARN Cluster 4. Executing Applications Using YARN 5. Understanding YARN Life Cycle Management 6. Migrating from MRv1 to MRv2 7. Writing Your Own YARN Applications 8. Dive Deep into YARN Components 9. Exploring YARN REST Services 10. Scheduling YARN Applications 11. Enabling Security in YARN 12. Real-time Data Analytics Using YARN Index

Managing the Hadoop-YARN services

The sbin Hadoop-YARN bundle contains shell scripts to manage the YARN services. It is always easy to use scripts to start or stop the services. It reads the required Hadoop configuration files, such as yarn-site.xml and slaves, in the etc/hadoop/ directory. This section will cover the usage of different scripts used by YARN.

Similar to Hadoop-HDFS scripts, YARN uses four scripts, listed and described next:

  • start-yarn.sh: The start-yarn script is used to start all the YARN daemons—ResourceManager, NodeManager on all slaves and the proxy server with a single script. It should be executed on the ResourceManager node, that is, the master node. It reads the slaves file in the configuration folder to get a list of the slaves in the YARN cluster. It creates a secure shell connection to each of the slave nodes and executes a command to start the NodeManager daemon on that node. It does not require any arguments.
  • stop-yarn.sh: The stop-yarn script is similar...
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 $19.99/month. Cancel anytime
Banner background image