1. 程式人生 > >yarn的資源排程器

yarn的資源排程器

目前,Hadoop作業排程器主要有三種:FIFOCapacity SchedulerFair SchedulerHadoop2.7.2預設的資源排程器是Capacity Scheduler

具體設定詳見:yarn-default.xml檔案
<property>
    <description>The class to use as the resource scheduler.</description>
    <name>yarn.resourcemanager.scheduler.class</name>
<value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value>
</property>

1.先進先出排程器(FIFO),如圖所示

2.容量排程器(Capacity Scheduler),如圖所示

3.公平排程器(Fair Scheduler),如圖所示