YARN Resource Management
Copyright © 2012-2016 Hortonworks, Inc.
Except where otherwise noted, this document is licensed under Creative Commons Attribution ShareAlike 4.0 License |
2016-11-30
Abstract
The Hortonworks Data Platform, powered by Apache Hadoop, is a massively scalable and 100% open source platform for storing, processing and analyzing large volumes of data. It is designed to deal with data from many sources and formats in a very quick, easy and cost-effective manner. The Hortonworks Data Platform consists of the essential set of Apache Hadoop projects including MapReduce, Hadoop Distributed File System (HDFS), HCatalog, Pig, Hive, HBase, ZooKeeper and Ambari. Hortonworks is the major contributor of code and patches to many of these projects. These projects have been integrated and tested as part of the Hortonworks Data Platform release process and installation and configuration tools have also been included.
Unlike other providers of platforms built using Apache Hadoop, Hortonworks contributes 100% of our code back to the Apache Software Foundation. The Hortonworks Data Platform is Apache-licensed and completely open source. We sell only expert technical support, training and partner-enablement services. All of our technology is, and will remain, free and open source.
For more information on Hortonworks technology, visit the Hortonworks Data Platform page. For more information on Hortonworks services, visit either the Support or Training page. Feel free to contact us directly to discuss your specific needs.
Contents
- 1. Capacity Scheduler
- Enabling Capacity Scheduler
- Setting up Queues
- Controlling Access to Queues with ACLs
- Default Queue Mapping based on User or Group
- Managing Cluster Capacity with Queues
- Resource Distribution Workflow
- Resource Distribution Workflow Example
- Setting User Limits
- Application Reservations
- Using Flexible Scheduling Policies
- Starting and Stopping Queues
- Setting Application Limits
- Preemption
- Scheduler User Interface
- 2. CGroups
- 3. Using CPU Scheduling to Allocate Resources
- 4. Log Aggregation for Long-running Applications
- 5. Node Labels
- 6. Running Applications on YARN Using Slider
- 7. Running Multiple MapReduce Versions Using the YARN Distributed Cache
- 8. Timeline Server
- Timeline Server 1.5 Overview
- Upgrading Timeline Server 1.0 to 1.5
- Configuring the Timeline Server
- Enabling Generic Data Collection
- Configuring Per-Framework Data Collection
- Configuring the Timeline Server Store
- Configuring Timeline Server Security
- Running the Timeline Server
- Accessing Generic Data from the Command- Line
- Publishing Per-Framework Data in Applications
- 9. Using the YARN REST APIs to Manage Applications
- 10. Work-Preserving Restart
- 11. Using the YARN CLI to View Logs for Running Applications
- View all Log Files for a Running Application
- View a Specific Log Type for a Running Application
- View ApplicationMaster Log Files
- List Container IDs
- View Log Files for One Container
- Show Container Log File Information
- View a Portion of the Log Files for One Container
- Download Logs for a Running Application
- Display Help for YARN Logs