[ https://issues.apache.org/jira/browse/AMBARI-16139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261003#comment-15261003 ]
Hudson commented on AMBARI-16139: --------------------------------- SUCCESS: Integrated in Ambari-branch-2.2 #676 (See [https://builds.apache.org/job/Ambari-branch-2.2/676/]) AMBARI-16139. Duplicate Dashboard metrics API calls should not be made (jaimin: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4bf0400b33a971389ac8851912fc3cfc5eeab028]) * ambari-web/app/controllers/global/update_controller.js * ambari-web/test/views/common/chart/linear_time_test.js * ambari-web/app/views/common/chart/linear_time.js > 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, 2.2-next > > 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)