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

Jonathan Hung commented on YARN-6492:
-------------------------------------

IMO we should still have {noformat} "name" : 
"Hadoop:service=ResourceManager,name=QueueMetrics,q0=root,q1=a" ...{noformat} 
report queue metrics for default partition only. Users could also use 
{noformat}name=PartitionQueueMetrics,partition=default,q0=root{noformat} (or, 
{noformat}name=PartitionQueueMetrics,partition=,q0=root{noformat}) for default 
queue metrics, but if people are already using {noformat} "name" : 
"Hadoop:service=ResourceManager,name=QueueMetrics,q0=root,q1=a" ...{noformat}  
for default queue metrics (since this has already gone into many releases) I 
don't think we can justify breaking this behavior.

If we want to change this behavior so {noformat} "name" : 
"Hadoop:service=ResourceManager,name=QueueMetrics,q0=root,q1=a" ...{noformat} 
reports metrics for all partitions, as it was before YARN-6467, we can revisit 
that in a later JIRA. But I don't think we should do it here.

> Generate queue metrics for each partition
> -----------------------------------------
>
>                 Key: YARN-6492
>                 URL: https://issues.apache.org/jira/browse/YARN-6492
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacity scheduler
>            Reporter: Jonathan Hung
>            Assignee: Manikandan R
>            Priority: Major
>         Attachments: PartitionQueueMetrics_default_partition.txt, 
> PartitionQueueMetrics_x_partition.txt, PartitionQueueMetrics_y_partition.txt, 
> YARN-6492.001.patch, YARN-6492.002.patch, YARN-6492.003.patch, 
> YARN-6492.004.patch, YARN-6492.005.WIP.patch, YARN-6492.006.WIP.patch, 
> YARN-6492.007.WIP.patch, YARN-6492.008.WIP.patch, partition_metrics.txt
>
>
> We are interested in having queue metrics for all partitions. Right now each 
> queue has one QueueMetrics object which captures metrics either in default 
> partition or across all partitions. (After YARN-6467 it will be in default 
> partition)
> But having the partition metrics would be very useful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to