Repository: ambari
Updated Branches:
  refs/heads/trunk b2116e173 -> 4f3f1a662


AMBARI-8126. Installer Wizard: Task level popup does not have stderr and stdout 
file path. (jaimin)


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

Branch: refs/heads/trunk
Commit: 4f3f1a662b050eb0c903634fbad29f532501b74d
Parents: b2116e1
Author: Jaimin Jetly <[email protected]>
Authored: Mon Nov 3 13:30:48 2014 -0800
Committer: Jaimin Jetly <[email protected]>
Committed: Mon Nov 3 13:30:48 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step9_controller.js      | 2 ++
 ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4f3f1a66/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js 
b/ambari-web/app/controllers/wizard/step9_controller.js
index c665a65..adfe292 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -997,6 +997,8 @@ App.WizardStep9Controller = Em.Controller.extend({
         if (currentTask) {
           currentTask.Tasks.stderr = data.Tasks.stderr;
           currentTask.Tasks.stdout = data.Tasks.stdout;
+          currentTask.Tasks.output_log = data.Tasks.output_log;
+          currentTask.Tasks.error_log = data.Tasks.error_log;
         }
       }
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/4f3f1a66/ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js 
b/ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js
index 4192bdf..c81230d 100644
--- a/ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js
+++ b/ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js
@@ -142,6 +142,8 @@ App.WizardStep9HostLogPopupBodyView = Em.View.extend({
         taskInfo.set('role', App.format.role(_task.Tasks.role));
         taskInfo.set('stderr', _task.Tasks.stderr);
         taskInfo.set('stdout', _task.Tasks.stdout);
+        taskInfo.set('outputLog', _task.Tasks.output_log);
+        taskInfo.set('errorLog', _task.Tasks.error_log);
         taskInfo.set('startTime',  date.startTime(_task.Tasks.start_time));
         taskInfo.set('duration', date.durationSummary(_task.Tasks.start_time, 
_task.Tasks.end_time));
         taskInfo.set('isVisible', true);

Reply via email to