其他分享
首页 > 其他分享> > yarn参数调节

yarn参数调节

作者:互联网

单个容器(container)可申请的最小与最大内存,应用在运行申请内存时不能超过最大值,小于最小值则分配最小值

yarn.scheduler.minimum-allocation-mb 
yarn.scheduler.maximum-allocation-mb

单个任务可申请的最小/最大虚拟CPU个数(运行MapRedce作业时,每个Task最少可申请虚拟CPU个数,最多可申请的虚拟CPU个数)

yarn.scheduler.minimum-allocation-vcores 
yarn.scheduler.maximum-allocation-vcores

每个节点可用的最大内存,此数值可以用于计算container最大数目

yarn.nodemanager.resource.memory-mb

NodeManager总的可用虚拟CPU个数

yarn.nodemanager.resource.cpu-vcores

标签:vcores,mb,调节,yarn,allocation,参数,scheduler,CPU
来源: https://www.cnblogs.com/zyanrong/p/14831960.html