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

Jaimin D Jetly updated AMBARI-16139:
------------------------------------
    Description: 
Graphs on Cluster dashboard page keeps making API calls irrespective of the 
previous APIs call have completed or not. Thus on a cluster where AMS is 
misbehaving there are multiple same API calls in pending state and results into 
ambari-server unresponsive.

For Graph widgets, ajax calls should be made from the complete callback 
function of the same ajax call. so until an ajax call is not finished, the same 
ajax is not triggered again

we do this in correct way for enhanced service dashboard on service summary 
page 

  was:
Graphs on Cluster dashboard page keeps making API calls irrespective of the 
previous APIs call have completed or not. Thus on a cluster where AMS is 
behaving there are multiple same API calls in pending state and results into 
ambari-server unresponsive.

For Graph widgets, ajax calls should be made from the complete callback 
function of the same ajax call. so until an ajax call is not finished, the same 
ajax is not triggered again

we do this in correct way for enhanced service dashboard on service summary 
page 


> Duplicate Dashboard metrics API calls should not be made in parallel
> --------------------------------------------------------------------
>
>                 Key: AMBARI-16139
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16139
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.2
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16139.patch, Screen Shot 2016-04-26 at 1.37.01 
> PM.png
>
>
> Graphs on Cluster dashboard page keeps making API calls irrespective of the 
> previous APIs call have completed or not. Thus on a cluster where AMS is 
> misbehaving there are multiple same API calls in pending state and results 
> into ambari-server unresponsive.
> For Graph widgets, ajax calls should be made from the complete callback 
> function of the same ajax call. so until an ajax call is not finished, the 
> same ajax is not triggered again
> we do this in correct way for enhanced service dashboard on service summary 
> page 



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

Reply via email to