tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject tez git commit: TEZ-3632. Tez Task attempt listing can hang if log link is null (Kuhu Shukla via sree)
Date Wed, 08 Mar 2017 13:42:07 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.8 1b7451e31 -> 18178ceaa


TEZ-3632. Tez Task attempt listing can hang if log link is null (Kuhu Shukla via sree)

(cherry picked from commit 676cad6ffb2f26564d3f045a8b692e6013b51e72)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/18178cea
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/18178cea
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/18178cea

Branch: refs/heads/branch-0.8
Commit: 18178ceaaacee447c671b9327ff629b57c3fc379
Parents: 1b7451e
Author: Sreenath Somarajapuram <sree@apache.org>
Authored: Wed Mar 8 19:04:43 2017 +0530
Committer: Sreenath Somarajapuram <sree@apache.org>
Committed: Wed Mar 8 19:11:44 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/18178cea/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a2002d6..31e3a21 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.8.6: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+TEZ-3632. Tez Task attempt listing can hang if log link is null
 
 
 Release 0.8.5: 2016-03-13

http://git-wip-us.apache.org/repos/asf/tez/blob/18178cea/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 04e3db2..1b9dac9 100644
--- a/tez-ui/src/main/webapp/app/scripts/helpers/misc.js
+++ b/tez-ui/src/main/webapp/app/scripts/helpers/misc.js
@@ -698,7 +698,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_")) {


Mime
View raw message