fair-scheduler.xml
<?xml version="1.0"?>
<allocations>
<userMaxAppsDefault>20</userMaxAppsDefault>
<queueMaxAMShareDefault>0.6</queueMaxAMShareDefault>
<queue name="default">
<minResources>512 mb,0vcores</minResources>
<maxResources>40960 mb,12vcores</maxResources>
<schedulingPolicy>fair</schedulingPolicy>
<maxRunningApps>6</maxRunningApps>
<maxAMShare>0.5</maxAMShare>
<weight>1.0</weight>
</queue>
<queue name="hive_job">
<minResources>512 mb, 0 vcores</minResources>
<maxResources>40960 mb, 14 vcores</maxResources>
<schedulingPolicy>fifo</schedulingPolicy>
<maxRunningApps>5</maxRunningApps>
<maxAMShare>0.8</maxAMShare>
<weight>3.0</weight>
</queue>
<queue name="real_time_1">
<minResources>2048 mb, 2 vcores</minResources>
<maxResources>3072 mb, 2 vcores</maxResources>
<schedulingPolicy>fifo</schedulingPolicy>
<maxAMShare>1.0</maxAMShare>
<weight>5.0</weight>
</queue>
<queuePlacementPolicy>
<rule name="specified" />
<rule name="default" />
</queuePlacementPolicy>
</allocations>