Repository: tez Updated Branches: refs/heads/master 19ee67bac -> 87270e6ab
TEZ-2947. Tez UI: Timeline, RM & AM requests gets into a consecutive loop in counters page without any delay (Sreenath Somarajapuram via jeagles) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/87270e6a Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/87270e6a Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/87270e6a Branch: refs/heads/master Commit: 87270e6ab3be66a035030c7602faca1b12a5b1cf Parents: 19ee67b Author: Jonathan Eagles <[email protected]> Authored: Sun Nov 22 21:25:08 2015 -0600 Committer: Jonathan Eagles <[email protected]> Committed: Sun Nov 22 21:25:59 2015 -0600 ---------------------------------------------------------------------- CHANGES.txt | 2 ++ .../webapp/app/scripts/controllers/dag_counters_controller.js | 5 +++++ .../app/scripts/controllers/task-counters-controller.js | 7 ++++++- .../scripts/controllers/task_attempt_counters_controller.js | 5 +++++ .../app/scripts/controllers/vertex_counters_controller.js | 5 +++++ 5 files changed, 23 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/87270e6a/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index c828df3..990c681 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ INCOMPATIBLE CHANGES TEZ-2949. Allow duplicate dag names within session for Tez. ALL CHANGES: + TEZ-2947. Tez UI: Timeline, RM & AM requests gets into a consecutive loop in counters page without any delay TEZ-2946. Tez UI: At times RM return a huge error message making the yellow error bar to fill the whole screen TEZ-2949. Allow duplicate dag names within session for Tez. TEZ-2952. NPE in TestOnFileUnorderedKVOutput @@ -263,6 +264,7 @@ INCOMPATIBLE CHANGES TEZ-2949. Allow duplicate dag names within session for Tez. ALL CHANGES + TEZ-2947. Tez UI: Timeline, RM & AM requests gets into a consecutive loop in counters page without any delay TEZ-2949. Allow duplicate dag names within session for Tez. TEZ-2923. Tez Live UI counters view empty for vertices, tasks, attempts TEZ-2935. Add MR slow start translation for ShuffleVertexManager http://git-wip-us.apache.org/repos/asf/tez/blob/87270e6a/tez-ui/src/main/webapp/app/scripts/controllers/dag_counters_controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/dag_counters_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/dag_counters_controller.js index 4cd3f80..59c21d5 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/dag_counters_controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/dag_counters_controller.js @@ -48,4 +48,9 @@ App.DagCountersController = App.PollingController.extend(App.Helpers.DisplayHelp options: null }); }.observes('applicationId', 'model', 'model.status', 'id'), + + applicationComplete: function () { + this.get('pollster').stop(); + this.set('pollster.polledRecords', null); + } }); http://git-wip-us.apache.org/repos/asf/tez/blob/87270e6a/tez-ui/src/main/webapp/app/scripts/controllers/task-counters-controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/task-counters-controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/task-counters-controller.js index dd74129..0a1bdb8 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/task-counters-controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/task-counters-controller.js @@ -60,5 +60,10 @@ App.TaskCountersController = App.PollingController.extend(App.ModelRefreshMixin, return 'Task %@, please check the counters of individual task attempts.'.fmt(status); } } - }.property('content.status', 'content.counterGroups.length') + }.property('content.status', 'content.counterGroups.length'), + + applicationComplete: function () { + this.get('pollster').stop(); + this.set('pollster.polledRecords', null); + } }); http://git-wip-us.apache.org/repos/asf/tez/blob/87270e6a/tez-ui/src/main/webapp/app/scripts/controllers/task_attempt_counters_controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/task_attempt_counters_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/task_attempt_counters_controller.js index 591fa43..65346e0 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/task_attempt_counters_controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/task_attempt_counters_controller.js @@ -54,4 +54,9 @@ App.TaskAttemptCountersController = App.PollingController.extend(App.Helpers.Dis options: null }); }.observes('task.vertex.dag.applicationId', 'status', 'dagID', 'vertexID', 'id'), + + applicationComplete: function () { + this.get('pollster').stop(); + this.set('pollster.polledRecords', null); + } }); http://git-wip-us.apache.org/repos/asf/tez/blob/87270e6a/tez-ui/src/main/webapp/app/scripts/controllers/vertex_counters_controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/vertex_counters_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/vertex_counters_controller.js index 90a7e4a..8403f0a 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/vertex_counters_controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/vertex_counters_controller.js @@ -49,4 +49,9 @@ App.VertexCountersController = App.PollingController.extend(App.Helpers.DisplayH options: null }); }.observes('applicationId', 'status', 'dagID', 'id'), + + applicationComplete: function () { + this.get('pollster').stop(); + this.set('pollster.polledRecords', null); + } });
