Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CFEF18B5F for ; Fri, 10 Jul 2015 19:55:33 +0000 (UTC) Received: (qmail 80478 invoked by uid 500); 10 Jul 2015 19:55:33 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 80443 invoked by uid 500); 10 Jul 2015 19:55:33 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 80428 invoked by uid 99); 10 Jul 2015 19:55:32 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 19:55:32 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 32BFFBADCA; Fri, 10 Jul 2015 19:55:32 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3527200520748480625==" MIME-Version: 1.0 Subject: Re: Review Request 36400: Widget display goes on and off at service dashboard for Number and Graph widgets using same metrics From: "Yusaku Sako" To: "Yusaku Sako" , "Srimanth Gunturi" Cc: "Ambari" , "Jaimin Jetly" Date: Fri, 10 Jul 2015 19:55:32 -0000 Message-ID: <20150710195532.1572.52145@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Yusaku Sako" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/36400/ X-Sender: "Yusaku Sako" References: <20150710195255.1573.16372@reviews.apache.org> In-Reply-To: <20150710195255.1573.16372@reviews.apache.org> Reply-To: "Yusaku Sako" X-ReviewRequest-Repository: ambari --===============3527200520748480625== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36400/#review91339 ----------------------------------------------------------- Ship it! Ship It! - Yusaku Sako On July 10, 2015, 7:52 p.m., Jaimin Jetly wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36400/ > ----------------------------------------------------------- > > (Updated July 10, 2015, 7:52 p.m.) > > > Review request for Ambari, Srimanth Gunturi and Yusaku Sako. > > > Bugs: AMBARI-12378 > https://issues.apache.org/jira/browse/AMBARI-12378 > > > Repository: ambari > > > Description > ------- > > STR: > Create any of Number/Gauge/Template widget with a specific metric of a component > Use the same metric of the same component to create another widget with the Graph type > Widget display will go on and off. > This happens because UI aggregates all the metrics in the single call. When same metric is present with and without timesteps then BE returns either point in time value or temporal value > > > Diffs > ----- > > ambari-web/app/mixins/common/widgets/widget_mixin.js 961ce7d > ambari-web/test/mixins/common/widget_mixin_test.js 1881d98 > > Diff: https://reviews.apache.org/r/36400/diff/ > > > Testing > ------- > > Tested the patch on the live cluster > verified that all ambari-web unit tets passes with the patch: > > 6663 tests complete (11 seconds) > 90 tests pending > > > Thanks, > > Jaimin Jetly > > --===============3527200520748480625==--