Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
YARN Essentials

You're reading from   YARN Essentials A comprehensive, hands-on guide to install, administer, and configure settings in YARN

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784391737
Length 176 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Need for YARN FREE CHAPTER 2. YARN Architecture 3. YARN Installation 4. YARN and Hadoop Ecosystems 5. YARN Administration 6. Developing and Running a Simple YARN Application 7. YARN Frameworks 8. Failures in YARN 9. YARN – Alternative Solutions 10. YARN – Future and Support Index

Container configurations


Here are the some important configurations related to resource containers that are used to control containers.

To control the memory allocation to a container, the administrator needs to set the following three parameters in the yarn-site.xml configuration file:

Parameter

Description

yarn.nodemanager.resource.memory-mb

This is the amount of memory in MBs that the NodeManager can use for the containers.

yarn.scheduler.minimum-allocation-mb

This is the smallest amount of memory in MBs allocated to the container by the ResourceManager. The default value is 1024 MB.

yarn.scheduler.maximum-allocation-mb

This is the largest amount of memory in MBs allocated to the container by the ResourceManager. The default value is 8192 MB.

The CPU core allocations to the container are controlled by setting the following properties in the yarn-site.xml configuration file:

Parameter

Description

yarn.scheduler.minimum-allocation-vcores

This is the minimum number of CPU...

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 €18.99/month. Cancel anytime