[ 
https://issues.apache.org/jira/browse/YARN-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732980#comment-13732980
 ] 

Omkar Vinit Joshi commented on YARN-1044:
-----------------------------------------

Similar problem is there in "ws/v1/cluster/scheduler" for capacity scheduler.. 
not sure if we should fix this as well.
*<usedResources><memory:0, vCores:0></usedResources>*
{code}
<scheduler>
<schedulerInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="capacityScheduler">
<capacity>100.0</capacity>
<usedCapacity>0.0</usedCapacity>
<maxCapacity>100.0</maxCapacity>
<queueName>root</queueName>
<queues>
<queue xsi:type="capacitySchedulerLeafQueueInfo">
<capacity>100.0</capacity>
<usedCapacity>0.0</usedCapacity>
<maxCapacity>100.0</maxCapacity>
<absoluteCapacity>100.0</absoluteCapacity>
<absoluteMaxCapacity>100.0</absoluteMaxCapacity>
<absoluteUsedCapacity>0.0</absoluteUsedCapacity>
<numApplications>0</numApplications>
<usedResources><memory:0, vCores:0></usedResources>
<queueName>default</queueName>
<state>RUNNING</state>
<resourcesUsed>
<memory>0</memory>
<vCores>0</vCores>
</resourcesUsed>
<numActiveApplications>0</numActiveApplications>
<numPendingApplications>0</numPendingApplications>
<numContainers>0</numContainers>
<maxApplications>10000</maxApplications>
<maxApplicationsPerUser>10000</maxApplicationsPerUser>
<maxActiveApplications>4</maxActiveApplications>
<maxActiveApplicationsPerUser>4</maxActiveApplicationsPerUser>
<userLimit>100</userLimit>
<users/>
<userLimitFactor>1.0</userLimitFactor>
</queue>
</queues>
</schedulerInfo>
</scheduler>
{code}
                
> used/min/max resources do not display info in the scheduler page
> ----------------------------------------------------------------
>
>                 Key: YARN-1044
>                 URL: https://issues.apache.org/jira/browse/YARN-1044
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.5-alpha
>            Reporter: Sangjin Lee
>            Priority: Minor
>              Labels: newbie
>         Attachments: screenshot.png
>
>
> Go to the scheduler page in RM, and click any queue to display the detailed 
> info. You'll find that none of the resources entries (used, min, or max) 
> would display values.
> It is because the values contain brackets ("<" and ">") and are not properly 
> html-escaped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to