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 5BEAE200D3C for ; Tue, 14 Nov 2017 21:01:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 575E2160BF4; Tue, 14 Nov 2017 20:01:01 +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 9D9F8160BD7 for ; Tue, 14 Nov 2017 21:01:00 +0100 (CET) Received: (qmail 80988 invoked by uid 500); 14 Nov 2017 20:00:59 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 80976 invoked by uid 99); 14 Nov 2017 20:00:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2017 20:00:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D18021A045F for ; Tue, 14 Nov 2017 20:00:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.363 X-Spam-Level: ** X-Spam-Status: No, score=2.363 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TsJtCZnm9oz1 for ; Tue, 14 Nov 2017 20:00:57 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ACFC65FE2F for ; Tue, 14 Nov 2017 20:00:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id vAEK0s8N002289; Tue, 14 Nov 2017 20:00:54 GMT Message-Id: <201711142000.vAEK0s8N002289@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 1 Date: Tue, 14 Nov 2017 20:00:54 +0000 From: "Philip Zeyliger (Code Review)" To: Dimitris Tsirogiannis , impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_=5BPREVIEW=5D_IMPALA-4886=3A_Expose_table_metrics_in_the_catalog_web_UI=2E=0A?= X-Gerrit-Change-Id: I37d407979e6d3b1a444b6b6265900b148facde9e X-Gerrit-Change-Number: 8529 X-Gerrit-ChangeURL: X-Gerrit-Commit: 4f067b429f62a5bce71417b5e74fafb2f1bc719b In-Reply-To: References: X-Gerrit-Comment-Date: Tue, 14 Nov 2017 20:00:54 +0000 Reply-To: philip@cloudera.com, impala-cr@cloudera.com, marcelk@gmail.com, reviews@impala.incubator.apache.org, dtsirogiannis@cloudera.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="crHWv+nlY7c="; charset=UTF-8 archived-at: Tue, 14 Nov 2017 20:01:01 -0000 --crHWv+nlY7c= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Philip Zeyliger has posted comments on this change=2E ( http://gerrit=2Eclo= udera=2Eorg:8080/8529 ) Change subject: [PREVIEW] IMPALA-4886: Expose tabl= e metrics in the catalog web UI=2E =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E Patch Set 1: (3 comments) I took a very brief loo= k=2E I was worried when you said "lightweight framework", but it turns out = you're using codahale/yammer metrics, which is the right thing to do=2E Yo= u know this, but TopNCache doesn't have a unit test=2E I didn't look at al= l of this=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8529/1/common/thrift/= JniCatalog=2Ethrift File common/thrift/JniCatalog=2Ethrift: http://gerrit= =2Ecloudera=2Eorg:8080/#/c/8529/1/common/thrift/JniCatalog=2Ethrift@602 PS1= , Line 602: 1: required list large_tables Is the idea that len(la= rge_tables)=3D=3Dlen(memory_estimates), and likewise len(frequent_table)=3D= len(num_metadata_operations)? I think it'd be more honest for this to be "l= ist large_tables", with LargeTable being a struct that has a ta= blename and details about that table that you want to share=2E http://ger= rit=2Ecloudera=2Eorg:8080/#/c/8529/1/fe/pom=2Exml File fe/pom=2Exml: http:= //gerrit=2Ecloudera=2Eorg:8080/#/c/8529/1/fe/pom=2Exml@365 PS1, Line 365: = metrics-core Thanks=2E This is the right thin= g to use in my experience=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8529= /1/fe/src/main/java/org/apache/impala/catalog/CatalogUsageMonitor=2Ejava Fi= le fe/src/main/java/org/apache/impala/catalog/CatalogUsageMonitor=2Ejava: = http://gerrit=2Ecloudera=2Eorg:8080/#/c/8529/1/fe/src/main/java/org/apache/= impala/catalog/CatalogUsageMonitor=2Ejava@36 PS1, Line 36: // TODO: Consi= der making it a configurable parameter=2E A somewhat cheap way to do this i= s to use: Integer=2EgetInteger("org=2Eapache=2Eimpala=2Ecatalog=2ECatalogU= sageMonitor=2ENUM_TABLES_TRACKED", 25) here=2E That gets the number from = system properties=2E It's pretty weak configuration, but I've used it to ni= ce effect for constants that really should be fine as is=2E -- To view,= visit http://gerrit=2Ecloudera=2Eorg:8080/8529 To unsubscribe, visit http:= //gerrit=2Ecloudera=2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-= Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I37d407979e6d3= b1a444b6b6265900b148facde9e Gerrit-Change-Number: 8529 Gerrit-PatchSet: 1 G= errit-Owner: Dimitris Tsirogiannis Gerrit-Re= viewer: Dimitris Tsirogiannis Gerrit-Reviewe= r: Philip Zeyliger Gerrit-Comment-Date: Tue, 14 Nov= 2017 20:00:54 +0000 Gerrit-HasComments: Yes --crHWv+nlY7c=--