Repository: ambari Updated Branches: refs/heads/branch-1.7.0 28aebf408 -> 1d6643f6c
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/1d6643f6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1d6643f6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1d6643f6 Branch: refs/heads/branch-1.7.0 Commit: 1d6643f6c08f7d6efd415551b915500efa13af71 Parents: 28aebf4 Author: Jaimin Jetly <[email protected]> Authored: Mon Nov 3 13:30:48 2014 -0800 Committer: Jaimin Jetly <[email protected]> Committed: Mon Nov 3 13:31:43 2014 -0800 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step9_controller.js | 4 +++- ambari-web/app/views/wizard/step9/hostLogPopupBody_view.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1d6643f6/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 31d0734..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; } } } @@ -1183,4 +1185,4 @@ App.WizardStep9Controller = Em.Controller.extend({ } } -}); \ No newline at end of file +}); http://git-wip-us.apache.org/repos/asf/ambari/blob/1d6643f6/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);
