YARN RM报告负资源使用情况

时间:2017-07-04 07:37:28

标签: hadoop yarn resourcemanager

我最近在YARN中遇到了资源分配的问题(我的Hadoop MR应用程序无法分配新容器,而群集几乎是免费的)而且我查看了RM的调度程序统计信息(http:/// ws) / v1 / cluster / scheduler)其中一些资源具有负值:

 <queue xsi:type="capacitySchedulerLeafQueueInfo">
        <capacity>19.0</capacity>
        <usedCapacity>-69.52686</usedCapacity>
        <maxCapacity>90.0</maxCapacity>
        <absoluteCapacity>19.0</absoluteCapacity>
        <absoluteMaxCapacity>90.0</absoluteMaxCapacity>
        <absoluteUsedCapacity>0.0</absoluteUsedCapacity>
        <numApplications>10</numApplications>
        <queueName>default</queueName>
        <state>RUNNING</state>
        <resourcesUsed>
           <memory>-152576</memory>
           <vCores>-41</vCores>
        </resourcesUsed>
        <hideReservationQueues>false</hideReservationQueues>
        <nodeLabels>*</nodeLabels>
        <allocatedContainers>24</allocatedContainers>
        <reservedContainers>0</reservedContainers>
        <pendingContainers>0</pendingContainers>
        <numActiveApplications>10</numActiveApplications>
        <numPendingApplications>0</numPendingApplications>
        <numContainers>-41</numContainers>
        <maxApplications>1900</maxApplications>
        <maxApplicationsPerUser>855</maxApplicationsPerUser>
        <maxActiveApplications>102</maxActiveApplications>
        <maxActiveApplicationsPerUser>10</maxActiveApplicationsPerUser>
        <userLimit>10</userLimit>
        ...
  </queue>

容量调度程序POV可以吗? 我认为它可能表示保留资源,但 reservedContainers 为0。

0 个答案:

没有答案