You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/01/16 04:25:59 UTC

ambari git commit: AMBARI-9166. Kerberize Cluster page exhibits strange behavior when clicking on the operation to show details. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk 43f227ac7 -> 45d785df7


AMBARI-9166. Kerberize Cluster page exhibits strange behavior when clicking on the operation to show details. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/45d785df
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/45d785df
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/45d785df

Branch: refs/heads/trunk
Commit: 45d785df763a452f312e37fcadc9a79792ea0460
Parents: 43f227a
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Thu Jan 15 19:22:44 2015 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Thu Jan 15 19:24:32 2015 -0800

----------------------------------------------------------------------
 .../admin/highAvailability/progress_popup_controller.js     | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/45d785df/ambari-web/app/controllers/main/admin/highAvailability/progress_popup_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/progress_popup_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/progress_popup_controller.js
index e22365a..9c9302a 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/progress_popup_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/progress_popup_controller.js
@@ -179,7 +179,14 @@ App.HighAvailabilityProgressPopupController = Ember.Controller.extend({
    */
   getDataFromProgressController: function () {
     var data = this.get('hostsData');
-    var tasksData = this.get('progressController.logs');
+    var tasksData = [];
+    var stageId = this.get('stageId');
+    // If the progress page is broken into stages then update host with only stage's tasks
+    if (!!stageId) {
+      tasksData = this.get('progressController.logs').filterProperty('Tasks.stage_id',stageId);
+    } else {
+      tasksData = this.get('progressController.logs');
+    }
     if (tasksData.length) {
       var tasks = [];
       tasksData.forEach(function (logs) {