You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2014/03/11 01:11:42 UTC

[jira] [Resolved] (AMBARI-5005) API call to get host status takes 30 seconds

     [ https://issues.apache.org/jira/browse/AMBARI-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Wagle resolved AMBARI-5005.
-------------------------------------

    Resolution: Fixed

Committed to trunk.

> 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://<server-ip>: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)