Resource models in YARN
YARN supports an extensible resource model. This means that the definition of resources can be extended from its default values (such as CPU and memory) to any types of resources that can be consumed when the tasks run in container. You can also enable profiling of resources through yarn-site.xml, which offers a group of multiple resources request through a single profile. To enable the resource configuration in yarn-site.xml, please set the yarn.resourcemanager.resource-profiles.enabled property to true. Create two additional configuration files, resource-type.xml and node-resources.xml, in the same directory where yarn-site.xml is placed. A sample of the resource profile (resource-profiles.json) is shown in the folllowing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access