Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E959410543 for ; Wed, 26 Feb 2014 19:22:12 +0000 (UTC) Received: (qmail 30388 invoked by uid 500); 26 Feb 2014 19:22:12 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 30331 invoked by uid 500); 26 Feb 2014 19:22:12 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 30324 invoked by uid 99); 26 Feb 2014 19:22:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 19:22:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1775A89F52E; Wed, 26 Feb 2014 19:22:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alexantonenko@apache.org To: commits@ambari.apache.org Message-Id: <23bac94d30fd4021b79205ffea5966de@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-4853. Job details UI keeps flashing every 6s (fix for graph) (alexantonenko) Date: Wed, 26 Feb 2014 19:22:12 +0000 (UTC) Repository: ambari Updated Branches: refs/heads/trunk dc4709ead -> 13affcb86 AMBARI-4853. Job details UI keeps flashing every 6s (fix for graph) (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/13affcb8 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/13affcb8 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/13affcb8 Branch: refs/heads/trunk Commit: 13affcb86d55f847c55074d9d1016da2bcb6b133 Parents: dc4709e Author: Alex Antonenko Authored: Wed Feb 26 21:15:45 2014 +0200 Committer: Alex Antonenko Committed: Wed Feb 26 21:16:01 2014 +0200 ---------------------------------------------------------------------- .../views/main/jobs/hive_job_details_tez_dag_view.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/13affcb8/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 14a8869..9887f68 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 @@ -172,20 +172,7 @@ 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);