Repository: tez Updated Branches: refs/heads/master 2382f09ff -> 4ae87f0e5
TEZ-2389. Tez UI: Sort by attempt-no is incorrect in attempts pages. (Sreenath Somarajapuram via pramachandran) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/4ae87f0e Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/4ae87f0e Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/4ae87f0e Branch: refs/heads/master Commit: 4ae87f0e5c17eca86c4d48d92f3b70fb156461df Parents: 2382f09 Author: Prakash Ramachandran <[email protected]> Authored: Thu Apr 30 15:42:43 2015 +0530 Committer: Prakash Ramachandran <[email protected]> Committed: Thu Apr 30 15:42:43 2015 +0530 ---------------------------------------------------------------------- CHANGES.txt | 1 + .../app/scripts/controllers/dag-task-attempts-controller.js | 4 ++++ .../app/scripts/controllers/task_task_attempts_controller.js | 4 ++++ .../app/scripts/controllers/vertex_task_attempts_controller.js | 4 ++++ 4 files changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/4ae87f0e/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 4b031ca..d67db81 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ INCOMPATIBLE CHANGES TEZ-1993. Implement a pluggable InputSizeEstimator for grouping fairly ALL CHANGES: + TEZ-2389. Tez UI: Sort by attempt-no is incorrect in attempts pages. TEZ-2383. Cleanup input/output/processor contexts in LogicalIOProcessorRuntimeTask. TEZ-2084. Tez UI: Stacktrace format info is lost in diagnostics TEZ-2374. Fix build break against hadoop-2.2 due to TEZ-2325. http://git-wip-us.apache.org/repos/asf/tez/blob/4ae87f0e/tez-ui/src/main/webapp/app/scripts/controllers/dag-task-attempts-controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/dag-task-attempts-controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/dag-task-attempts-controller.js index 3b667d8..b26d2eb 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/dag-task-attempts-controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/dag-task-attempts-controller.js @@ -95,6 +95,10 @@ App.DagTaskAttemptsController = App.TablePageController.extend({ getSearchValue: function (row) { var attemptID = row.get('id') || ''; return attemptID.split(/[_]+/).pop(); + }, + getSortValue: function (row) { + var attemptID = row.get('id') || ''; + return attemptID.split(/[_]+/).pop(); } }, { http://git-wip-us.apache.org/repos/asf/tez/blob/4ae87f0e/tez-ui/src/main/webapp/app/scripts/controllers/task_task_attempts_controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/task_task_attempts_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/task_task_attempts_controller.js index 8859ac4..558a740 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/task_task_attempts_controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/task_task_attempts_controller.js @@ -91,6 +91,10 @@ App.TaskAttemptsController = App.TablePageController.extend({ getSearchValue: function (row) { var attemptID = row.get('id') || ''; return attemptID.split(/[_]+/).pop(); + }, + getSortValue: function (row) { + var attemptID = row.get('id') || ''; + return attemptID.split(/[_]+/).pop(); } }, { http://git-wip-us.apache.org/repos/asf/tez/blob/4ae87f0e/tez-ui/src/main/webapp/app/scripts/controllers/vertex_task_attempts_controller.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/vertex_task_attempts_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/vertex_task_attempts_controller.js index ada4bdc..f395b40 100644 --- a/tez-ui/src/main/webapp/app/scripts/controllers/vertex_task_attempts_controller.js +++ b/tez-ui/src/main/webapp/app/scripts/controllers/vertex_task_attempts_controller.js @@ -94,6 +94,10 @@ App.VertexTaskAttemptsController = App.TablePageController.extend({ getSearchValue: function (row) { var attemptID = row.get('id') || ''; return attemptID.split(/[_]+/).pop(); + }, + getSortValue: function (row) { + var attemptID = row.get('id') || ''; + return attemptID.split(/[_]+/).pop(); } }, {
