Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0525B200D20 for ; Tue, 17 Oct 2017 21:51:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 03E061609EC; Tue, 17 Oct 2017 19:51:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 472691609D9 for ; Tue, 17 Oct 2017 21:51:03 +0200 (CEST) Received: (qmail 90176 invoked by uid 500); 17 Oct 2017 19:51:02 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 90165 invoked by uid 99); 17 Oct 2017 19:51:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2017 19:51:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6CF89CEB0A; Tue, 17 Oct 2017 19:51:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.451 X-Spam-Level: **** X-Spam-Status: No, score=4.451 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id MrRDaJ1bUafJ; Tue, 17 Oct 2017 19:51:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 395FC5F2AD; Tue, 17 Oct 2017 19:51:00 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CEFB4E00A3; Tue, 17 Oct 2017 19:50:59 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id B66DEC404AC; Tue, 17 Oct 2017 19:50:59 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3864683328273812565==" MIME-Version: 1.0 Subject: Re: Review Request 63062: Expose list of neighbors in the instance page From: Santhosh Kumar Shanmugham To: Santhosh Kumar Shanmugham , David McLaughlin , Kai Huang Cc: Aurora , Reza Motamedi Date: Tue, 17 Oct 2017 19:50:59 -0000 Message-ID: <20171017195059.5693.2600@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Santhosh Kumar Shanmugham X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/63062/ X-Sender: Santhosh Kumar Shanmugham X-ReviewBoard-ShipIt: 1 References: <20171017053409.6827.25869@reviews-vm2.apache.org> In-Reply-To: <20171017053409.6827.25869@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: ui/src/main/js/components/__tests__/TaskNeighbors-test.js X-ReviewBoard-Diff-For: ui/src/main/js/components/TaskNeighbors.js Reply-To: Santhosh Kumar Shanmugham X-ReviewRequest-Repository: aurora archived-at: Tue, 17 Oct 2017 19:51:04 -0000 --===============3864683328273812565== 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/63062/#review188371 ----------------------------------------------------------- Ship it! LGTM. Improvement suggested. File Attachment: Screen Shot 2017-10-16 at 6.27.44 PM.png - Screen Shot 2017-10-16 at 6.27.44 PM.png Wonder if we need to paginate this? Think the most neighbors I have seen is ~20. ui/src/main/js/components/TaskNeighbors.js Lines 21 (patched) `isNullyOrEmpty` already checks if the collection is empty? In which case `tasks.length === 0` is redudant. - Santhosh Kumar Shanmugham On Oct. 16, 2017, 10:34 p.m., Reza Motamedi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63062/ > ----------------------------------------------------------- > > (Updated Oct. 16, 2017, 10:34 p.m.) > > > Review request for Aurora, David McLaughlin, Kai Huang, and Santhosh Kumar Shanmugham. > > > Repository: aurora > > > Description > ------- > > # Expose list of neighbors in the instance page > > Exposing the list of neighbor task on the host is useful when application tail letencies degrade because of noisy neighbors. Currenlty our service oweners need to jump to the thermos-UI to get this info. This feature will definately help spotting misbehaving neighbors a lot easier. > > > Diffs > ----- > > ui/src/main/js/components/TaskNeighbors.js PRE-CREATION > ui/src/main/js/components/TaskStatus.js b5149182c80b0edcdec88d5c6e24d3015409b0fc > ui/src/main/js/components/__tests__/TaskNeighbors-test.js PRE-CREATION > ui/src/main/js/pages/Instance.js c4d625c063b6037ae2ff93e638a3040436515cd5 > ui/src/main/js/utils/Common.js 8f2da7c8a5b44d2ded89a2070ea6ac4bf1fb6ed5 > ui/src/main/sass/components/_instance-page.scss 99204fdfca4441d824c3dfff083f78e1d094b4c9 > > > Diff: https://reviews.apache.org/r/63062/diff/3/ > > > Testing > ------- > > ? ./gradlew ui:test > ? ./gradlew ui:lint > > > File Attachments > ---------------- > > Screen Shot 2017-10-16 at 6.27.44 PM.png > https://reviews.apache.org/media/uploaded/files/2017/10/17/7fa71abf-f83e-412f-b554-dc880ccdb25c__Screen_Shot_2017-10-16_at_6.27.44_PM.png > > > Thanks, > > Reza Motamedi > > --===============3864683328273812565==--