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 2014/11/09 21:40:28 UTC
ambari git commit: AMBARI-8235. 'Retry' on start all services in
security wizard does not show progress. (jaimin)
Repository: ambari
Updated Branches:
refs/heads/branch-1.7.0 bffc2643f -> 91515f362
AMBARI-8235. 'Retry' on start all services in security wizard does not show progress. (jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/91515f36
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/91515f36
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/91515f36
Branch: refs/heads/branch-1.7.0
Commit: 91515f362871d3a64a4122adc485ba229711e238
Parents: bffc264
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Sun Nov 9 12:39:49 2014 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Sun Nov 9 12:39:49 2014 -0800
----------------------------------------------------------------------
ambari-web/app/utils/polling.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/91515f36/ambari-web/app/utils/polling.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/polling.js b/ambari-web/app/utils/polling.js
index 0b79b34..b6d6bfd 100644
--- a/ambari-web/app/utils/polling.js
+++ b/ambari-web/app/utils/polling.js
@@ -199,8 +199,10 @@ App.Poll = Em.Object.extend({
if (currentTaskId) {
var task = this.get('polledData').findProperty('Tasks.id', currentTaskId);
var currentTask = polledData.findProperty('Tasks.id', currentTaskId);
- currentTask.Tasks.stdout = task.Tasks.stdout;
- currentTask.Tasks.stderr = task.Tasks.stderr;
+ if (task && currentTask) {
+ currentTask.Tasks.stdout = task.Tasks.stdout;
+ currentTask.Tasks.stderr = task.Tasks.stderr;
+ }
}
this.set('polledData', polledData);
},