[
https://issues.apache.org/jira/browse/AMBARI-11781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577067#comment-14577067
]
Hadoop QA commented on AMBARI-11781:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12738341/AMBARI-11781.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/3095//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/3095//console
This message is automatically generated.
> Perf: Combine metrics requests on UI Host page
> ----------------------------------------------
>
> Key: AMBARI-11781
> URL: https://issues.apache.org/jira/browse/AMBARI-11781
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-11781.patch
>
>
> UI sends 6 requests to show all graphs on host page
> {noformat}
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/cpu/cpu_user[1433424871,1433428471,15],metrics/cpu/cpu_wio[1433424871,1433428471,15],metrics/cpu/cpu_nice[1433424871,1433428471,15],metrics/cpu/cpu_aidle[1433424871,1433428471,15],metrics/cpu/cpu_system[1433424871,1433428471,15],metrics/cpu/cpu_idle[1433424871,1433428471,15]&_=1433428471523
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/disk/disk_total[1433424871,1433428471,15],metrics/disk/disk_free[1433424871,1433428471,15]&_=1433428471525
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/load/load_fifteen[1433424871,1433428471,15],metrics/load/load_one[1433424871,1433428471,15],metrics/load/load_five[1433424871,1433428471,15]&_=1433428471527
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/memory/swap_free[1433424871,1433428471,15],metrics/memory/mem_shared[1433424871,1433428471,15],metrics/memory/mem_free[1433424871,1433428471,15],metrics/memory/mem_cached[1433424871,1433428471,15],metrics/memory/mem_buffers[1433424871,1433428471,15]&_=1433428471530
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/network/bytes_in[1433424871,1433428471,15],metrics/network/bytes_out[1433424871,1433428471,15],metrics/network/pkts_in[1433424871,1433428471,15],metrics/network/pkts_out[1433424871,1433428471,15]&_=1433428471533
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/process/proc_total[1433424871,1433428471,15],metrics/process/proc_run[1433424871,1433428471,15]&_=1433428471536
> {noformat}
> They could be combined
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)