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 02467200D4E for ; Thu, 7 Dec 2017 19:30:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 007AE160C0C; Thu, 7 Dec 2017 18:30:18 +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 45B72160C08 for ; Thu, 7 Dec 2017 19:30:17 +0100 (CET) Received: (qmail 50659 invoked by uid 500); 7 Dec 2017 18:30:16 -0000 Mailing-List: contact reviews-help@impala.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.apache.org Received: (qmail 50647 invoked by uid 99); 7 Dec 2017 18:30:16 -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; Thu, 07 Dec 2017 18:30:16 +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 AC499C38E7 for ; Thu, 7 Dec 2017 18:30:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.362 X-Spam-Level: ** X-Spam-Status: No, score=2.362 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HKqlVeoww2MA for ; Thu, 7 Dec 2017 18:30:13 +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 36C196413B for ; Thu, 7 Dec 2017 18:30:01 +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 vB7ITxu8026531; Thu, 7 Dec 2017 18:29:59 GMT Message-Id: <201712071829.vB7ITxu8026531@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 10 Date: Thu, 7 Dec 2017 18:29:59 +0000 From: "Impala Public Jenkins (Code Review)" To: Sailesh Mukil , impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: merged Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4671=3A_=28part-2=29_Replace_kudu=3A=3AServicePool_with_one_that_uses_Impala_threads=0A?= X-Gerrit-Change-Id: Ia3e0fa9ae22c4803b0cea736eb35e333e2671448 X-Gerrit-Change-Number: 8472 X-Gerrit-ChangeURL: X-Gerrit-Commit: 82267a2779da2165802195ba202223d2c205b73d In-Reply-To: References: Reply-To: impala-cr@cloudera.com, sailesh@cloudera.com, reviews@impala.incubator.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="M+7A1z+2oAs="; charset=UTF-8 archived-at: Thu, 07 Dec 2017 18:30:18 -0000 --M+7A1z+2oAs= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Impala Public Jenkins has submitted this change and it was merged=2E ( http= ://gerrit=2Ecloudera=2Eorg:8080/8472 ) Change subject: IMPALA-4671: (part-= 2) Replace kudu::ServicePool with one that uses Impala threads =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 IMPALA-4671: (part-2) Rep= lace kudu::ServicePool with one that uses Impala threads The KuduRPC subsy= stem uses kudu::ServicePool to service all incoming RPCs=2E Since this live= s inside the Kudu codebase, all instrumentation of RPCs flowing through the= KuduRPC subsystem is not visible to Impala, as Kudu does not export this i= nstrumentation, but only maintains it internally within kudu::ServicePool= =2E In order to reliably view the instrumentation of all RPCs flowing thro= ugh KRPC, one option is to modify kudu::ServicePool to take their instrumen= tation and display it on our webpages, which is very invasive=2E A second = option is to have a parallel implementation of kudu::ServicePool which for = all purposes behaves the same way, but instead has this extra code that dis= plays this instrumentation in our webpages=2E This patch is Part 2 of the = second option=2E In Part 1, we simply copied the code from kudu::ServicePo= ol into the Impala namespace=2E In this patch, we rename the redundant kudu= ::ServicePool (that was copied into be/src/rpc/) to ImpalaServicePool=2E We= also expose the instrumentaion of the ImpalaServicePool as JSON=2E Now, t= he threads in use by the service pool will also be visible in the /threadz = page=2E This patch however does not display instrumentation on the Webpage= s yet=2E In a future patch, we will add that through the ImpalaServicePool = and the RpcMgr=2E Tracked by IMPALA-6269 This patch is partially based on = an abandoned patch by Henry Robinson=2E Change-Id: Ia3e0fa9ae22c4803b0cea7= 36eb35e333e2671448 Reviewed-on: http://gerrit=2Ecloudera=2Eorg:8080/8472 Re= viewed-by: Sailesh Mukil Tested-by: Impala Public = Jenkins --- M be/src/rpc/CMakeLists=2Etxt M be/src/rpc/impala-service-pool= =2Ecc M be/src/rpc/impala-service-pool=2Eh M be/src/rpc/rpc-mgr=2Ecc M be/s= rc/rpc/rpc-mgr=2Eh M be/src/rpc/rpc-trace=2Eh 6 files changed, 119 insertio= ns(+), 141 deletions(-) Approvals: Sailesh Mukil: Looks good to me, appr= oved Impala Public Jenkins: Verified -- To view, visit http://gerrit=2E= cloudera=2Eorg:8080/8472 To unsubscribe, visit http://gerrit=2Ecloudera=2Eo= rg:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-M= essageType: merged Gerrit-Change-Id: Ia3e0fa9ae22c4803b0cea736eb35e333e2671= 448 Gerrit-Change-Number: 8472 Gerrit-PatchSet: 10 Gerrit-Owner: Sailesh Mu= kil Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Michael Ho Gerrit-= Reviewer: Sailesh Mukil --M+7A1z+2oAs=--