tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-3844. Tez UI Dag Counters show no records for a RUNNING DAG. (jeagles)
Date Tue, 10 Oct 2017 16:48:28 GMT
Repository: tez
Updated Branches:
  refs/heads/master b875eb1f2 -> c82b2eade


TEZ-3844. Tez UI Dag Counters show no records for a RUNNING DAG. (jeagles)


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

Branch: refs/heads/master
Commit: c82b2eadea9d75db4dd47a455c0b4d6f7dda2cc8
Parents: b875eb1
Author: Jonathan Eagles <jeagles@yahoo-inc.com>
Authored: Tue Oct 10 11:48:24 2017 -0500
Committer: Jonathan Eagles <jeagles@yahoo-inc.com>
Committed: Tue Oct 10 11:48:24 2017 -0500

----------------------------------------------------------------------
 tez-ui/src/main/webapp/app/routes/single-am-pollster.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/c82b2ead/tez-ui/src/main/webapp/app/routes/single-am-pollster.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/routes/single-am-pollster.js b/tez-ui/src/main/webapp/app/routes/single-am-pollster.js
index 27bcced..87fb941 100644
--- a/tez-ui/src/main/webapp/app/routes/single-am-pollster.js
+++ b/tez-ui/src/main/webapp/app/routes/single-am-pollster.js
@@ -21,10 +21,13 @@ import AmPollsterRoute from './am-pollster';
 
 export default AmPollsterRoute.extend({
 
-  canPoll: Ember.computed("polledRecords", "loadedValue.dag.isComplete", "loadedValue.app.isComplete",
function () {
+  canPoll: Ember.computed("polledRecords", "loadedValue.dag.isComplete", "loadedValue.isComplete",
"loadedValue.app.isComplete", function () {
     var isComplete = this.get("loadedValue.dag.isComplete");
     if(isComplete === undefined) {
-      isComplete = this.get("loadedValue.app.isComplete");
+      isComplete = this.get("loadedValue.isComplete");
+      if(isComplete === undefined) {
+        isComplete = this.get("loadedValue.app.isComplete");
+      }
     }
     return isComplete === false && this._super();
   }),


Mime
View raw message