Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
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
1. Starting with YARN Basics 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

An overview of queues


Queues are the data structures or placeholders for the applications submitted to the YARN cluster. A queue is a logical grouping of applications submitted to the YARN cluster. An application is always submitted to a queue. The scheduler then dequeues the applications based on certain parameters to allocate resources and to initiate application execution.

The basic structure of a queue is defined using an interface org.apache.hadoop.yarn.server.resourcemanager.scheduler.Queue, as shown in the following diagram:

A queue object contains the following information:

  • Queue name: This is a name assigned to the queue. In case of hierarchical queues, the complete path to the queue is the name along with the parent queue name. We'll discuss about the hierarchical queues in detail later.

  • Queue information: YARN defines an abstract class QueueInfo to store information related to a queue. It is defined in the org.apache.hadoop.yarn.api.records package.

    The QueueInfo object contains...

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}