Repository: tez Updated Branches: refs/heads/branch-0.7 1a5595032 -> 676cad6ff
TEZ-3632. Tez Task attempt listing can hang if log link is null (Kuhu Shukla via sree) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/676cad6f Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/676cad6f Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/676cad6f Branch: refs/heads/branch-0.7 Commit: 676cad6ffb2f26564d3f045a8b692e6013b51e72 Parents: 1a55950 Author: Sreenath Somarajapuram <[email protected]> Authored: Wed Mar 8 19:04:43 2017 +0530 Committer: Sreenath Somarajapuram <[email protected]> Committed: Wed Mar 8 19:04:43 2017 +0530 ---------------------------------------------------------------------- CHANGES.txt | 1 + tez-ui/src/main/webapp/app/scripts/helpers/misc.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/676cad6f/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 1a68c05..ba55908 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -53,6 +53,7 @@ ALL CHANGES: TEZ-2342. Reduce bytearray copy with TezEvent Serialization and deserialization TEZ-3243. Output vertices are hidden for UI graph view TEZ-3347. Tez UI: Vertex UI throws an error while getting vertexProgress for a killed Vertex + TEZ-3632. Tez Task attempt listing can hang if log link is null Release 0.7.1: 2016-05-10 http://git-wip-us.apache.org/repos/asf/tez/blob/676cad6f/tez-ui/src/main/webapp/app/scripts/helpers/misc.js ---------------------------------------------------------------------- diff --git a/tez-ui/src/main/webapp/app/scripts/helpers/misc.js b/tez-ui/src/main/webapp/app/scripts/helpers/misc.js index b9c7c85..34c21e0 100644 --- a/tez-ui/src/main/webapp/app/scripts/helpers/misc.js +++ b/tez-ui/src/main/webapp/app/scripts/helpers/misc.js @@ -690,7 +690,7 @@ App.Helpers.misc = { } link = attempt.get('completedLog'); - if (link && yarnAppState === 'FINISHED' || yarnAppState === 'KILLED' || yarnAppState === 'FAILED') { + if (link && (yarnAppState === 'FINISHED' || yarnAppState === 'KILLED' || yarnAppState === 'FAILED')) { params["start"] = "0"; if(!link.match("/syslog_")) {
