[ https://issues.apache.org/jira/browse/AMBARI-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleksandr Diachenko resolved AMBARI-3597. ----------------------------------------- Resolution: Fixed Commited to trunk. > Services API call takes ~20s to respond > --------------------------------------- > > Key: AMBARI-3597 > URL: https://issues.apache.org/jira/browse/AMBARI-3597 > Project: Ambari > Issue Type: Task > Components: agent > Affects Versions: 1.4.1 > Reporter: Oleksandr Diachenko > Assignee: Oleksandr Diachenko > Priority: Critical > Fix For: 1.4.2 > > Attachments: AMBARI-3597.patch > > > On cluster with 650 nodes it takes ~20s to generate a call Ambari UI makes. > The response time has to be improved. > {code} > http://server:8080/api/v1/clusters/c1/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM,components/host_components/metrics/jvm/memHeapCommittedM,components/host_components/metrics/mapred/jobtracker/trackers_decommissioned,components/host_components/metrics/cpu/cpu_wio,components/host_components/metrics/rpc/RpcQueueTime_avg_time,components/host_components/metrics/dfs/FSNamesystem/HAState,components/host_components/metrics/dfs/FSNamesystem/CapacityUsed,components/host_components/metrics/dfs/FSNamesystem/CapacityTotal,components/host_components/metrics/dfs/FSNamesystem/CapacityRemaining,components/host_components/metrics/dfs/FSNamesystem/BlocksTotal,components/host_components/metrics/dfs/FSNamesystem/CorruptBlocks,components/host_components/metrics/dfs/FSNamesystem/MissingBlocks,components/host_components/metrics/dfs/FSNamesystem/UnderReplicatedBlocks,components/host_components/metrics/dfs/namenode/Version,components/host_components/metrics/dfs/namenode/LiveNodes,components/host_components/metrics/dfs/namenode/DeadNodes,components/host_components/metrics/dfs/namenode/DecomNodes,components/host_components/metrics/dfs/namenode/TotalFiles,components/host_components/metrics/dfs/namenode/UpgradeFinalized,components/host_components/metrics/dfs/namenode/Safemode,components/host_components/metrics/runtime/StartTime,components/host_components/metrics/flume/flume,components/host_components/metrics/yarn/Queue&_=1382031196129 > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)