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

Sunil G commented on YARN-6651:
-------------------------------

[~akhilpb], I discussed with [~rohithsharma] also.

We can use "?metricstoretrieve=YARN_APPLICATION_CPU,YARN_APPLICATION_MEMORY" 
instead of "fields=ALL" so that CPU and MEMORY could retrieved and updated in 
FLOW RUNS page.

YARN-6653 is similar but was specific to apps CPU and MEMORY usage, We can use 
same filter to query metrics for an app in a FLOW RUN

> Flow Activity should specify 'metricstoretrieve' in its query to ATSv2 to 
> retrieve CPU and memory 
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6651
>                 URL: https://issues.apache.org/jira/browse/YARN-6651
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Haibo Chen
>            Assignee: Akhil PB
>
> When you click on Flow Acitivity => \{a flow\} => flow runs, the web server 
> sends a REST query to ATSv2 TimelineReaderServer, but it does not include a 
> query param 'metricstoretrieve" to get any metrics back.
> Instead, we should add 
> '?metricstoretrieve=YARN_APPLICATION_CPU,YARN_APPLICATION_MEMORY' to the 
> query to get CPU and MEMORY back.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to