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

Sahana Kalakonda commented on YARN-11557:
-----------------------------------------

The Hadoop community decided to have metrics per partition and decided upon the 
design to be done in phases:
 # In the first phase, the get metrics was just reflecting the no label case or 
only for default partition.
 * YARN-6467 and YARN-9596 are the JIRAs related to the first part of the 
implementation of having metrics per partition which will get the metrics only 
for {*}default partition{*}.


 # Second and final phase was to implement the per-label metrics work.
 * YARN-6492 is the JIRA related to the 2nd part of the implementation of 
having metrics per partition which generates queue metrics for each partition.

YARN-6492 fixed only the changes done by YARN-6467 but not YARN-9596.

YARN-9596 changed *getMaxAvailableResourceToQueue* (This function was iterating 
through all the node labels of the queue and add all the labels resource and 
returns total available resource for the queue) function in CSQueueUtils.java 
class to *getMaxAvailableResourceToQueuePartition* (This function does not 
iterate through all the labels and gets the available resources only for a 
given partition) function. The change was to get the maximum available 
resources for a partition instead of queue so this is might be the reason 'yarn 
top' command gets information only for default partition.

> 'yarn top' command only shows information of default partition.
> ---------------------------------------------------------------
>
>                 Key: YARN-11557
>                 URL: https://issues.apache.org/jira/browse/YARN-11557
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler
>    Affects Versions: 3.3.5, 3.3.3, 3.3.4, 3.3.6
>            Reporter: Sahana Kalakonda
>            Priority: Major
>
> After [YARN-9596|https://issues.apache.org/jira/browse/YARN-9596], the 
> '{{{}yarn top'{}}} command only gets the information of default partition of 
> queues. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to