Siddharth Wagle created AMBARI-5005:
---------------------------------------

             Summary: API call to get host status takes 30 seconds
                 Key: AMBARI-5005
                 URL: https://issues.apache.org/jira/browse/AMBARI-5005
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.5.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.5.0


{code}
[root@perf800-large1 ~]# time curl -u admin:admin 
'http://162.216.148.43:8080/api/v1/clusters/c1/hosts?fields=Hosts/host_status,Hosts/maintenance_state,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,alerts/summary&minimal_response=true&_=1393982657484'
 > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  739k    0  739k    0     0  40120      0 --:--:--  0:00:18 --:--:--  191k

real    0m18.878s
user    0m0.020s
sys     0m0.000s
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to