You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/02/27 00:18:05 UTC

git commit: Revert "AMBARI-4853. Job details UI keeps flashing every 6s (fix for graph) (alexantonenko)"

Repository: ambari
Updated Branches:
  refs/heads/trunk b269ba5f4 -> 89bf32488


Revert "AMBARI-4853. Job details UI keeps flashing every 6s (fix for graph) (alexantonenko)"

This reverts commit 13affcb86d55f847c55074d9d1016da2bcb6b133.
Breaks the min/max heat indicators per Tez vertex.


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

Branch: refs/heads/trunk
Commit: 89bf324889ed93e1eaeb0787b3c8c38391ece7fe
Parents: b269ba5
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Wed Feb 26 15:16:33 2014 -0800
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Wed Feb 26 15:16:33 2014 -0800

----------------------------------------------------------------------
 .../views/main/jobs/hive_job_details_tez_dag_view.js | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/89bf3248/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js b/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
index 0708c61..ed22f50 100644
--- a/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
+++ b/ambari-web/app/views/main/jobs/hive_job_details_tez_dag_view.js
@@ -202,7 +202,20 @@ App.MainHiveJobDetailsTezDagView = Em.View.extend({
    */
   vertexMetricsUpdated : function() {
     var dagVisualModel = this.get('dagVisualModel');
-
+    dagVisualModel.minMetrics = {
+      input : 0,
+      output : 0,
+      recordsRead : 0,
+      recordsWrite : 0,
+      tezTasks : 0
+    };
+    dagVisualModel.maxMetrics = {
+      input : 0,
+      output : 0,
+      recordsRead : 0,
+      recordsWrite : 0,
+      tezTasks : 0
+    };
     if (dagVisualModel.nodes) {
       dagVisualModel.nodes.forEach(function(node) {
         var vertex = App.TezDagVertex.find(node.id);