You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/10/21 01:43:33 UTC

[jira] [Commented] (AMBARI-7880) /recommendations work too slow for 400 node cluster

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

Srimanth Gunturi commented on AMBARI-7880:
------------------------------------------

Script execution takes about 20 secs and that is why: 
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/stack_advisor.py#L415

To provide host-groups mapping in response we resolve fqdn for each host. So in any case we have 400 calls to {{socket.getfqdn}} after component-layout processing (when we prepare response). 

> /recommendations work too slow for 400 node cluster
> ---------------------------------------------------
>
>                 Key: AMBARI-7880
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7880
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>
> Request {{POST /api/v1/stacks/HDP/versions/2.2/recommendations HTTP/1.1}} takes 6-7 sec for 400 node cluster. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)