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 74212200D6D for ; Tue, 19 Dec 2017 04:45:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 72C65160C29; Tue, 19 Dec 2017 03:45:54 +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 B82A6160C05 for ; Tue, 19 Dec 2017 04:45:53 +0100 (CET) Received: (qmail 68491 invoked by uid 500); 19 Dec 2017 03:45:53 -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 68480 invoked by uid 99); 19 Dec 2017 03:45:52 -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, 19 Dec 2017 03:45:52 +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 1CFFF1A0519 for ; Tue, 19 Dec 2017 03:45:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XIt_3GFmDE4V for ; Tue, 19 Dec 2017 03:45:50 +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-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9D1995F3CE for ; Tue, 19 Dec 2017 03:45:49 +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 vBJ3jlNa022876; Tue, 19 Dec 2017 03:45:47 GMT Message-Id: <201712190345.vBJ3jlNa022876@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 2 Date: Tue, 19 Dec 2017 03:45:47 +0000 From: "Michael Ho (Code Review)" To: Lars Volker , Dan Burkert , Sailesh Mukil , Joe McDonnell , impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_KUDU-2228=3A_Make_Messenger_options_configurable=0A?= X-Gerrit-Change-Id: Ia21814ffb6e283c2791985b089878b579905f0ba X-Gerrit-Change-Number: 8878 X-Gerrit-ChangeURL: X-Gerrit-Commit: 9adc801deb61da7a6d30a70733ef598c1ad44fab In-Reply-To: References: Reply-To: kwho@cloudera.com, impala-cr@cloudera.com, sailesh@cloudera.com, lv@cloudera.com, marcelk@gmail.com, danburkert@apache.org, joemcdonnell@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="YMRbGiEYdn0="; charset=UTF-8 archived-at: Tue, 19 Dec 2017 03:45:54 -0000 --YMRbGiEYdn0= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Lars Volker, Dan Burkert, Kudu Jenkins, Sailesh Mukil, Joe McDonnell,= I'd like you to reexamine a change=2E Please visit http://gerrit=2E= cloudera=2Eorg:8080/8878 to look at the new patch set (#2)=2E Change subj= ect: KUDU-2228: Make Messenger options configurable =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 KUDU-2228: Make Messenger options = configurable Currently, the RPC layer accesses many gflags directly to tak= e certain decisions, eg=2E whether to turn on encryption, authentication, e= tc=2E Since the RPC layer is to be used more like a library, these should = be configurable options that are passed to the Messenger (which is the API = endpoint for the application using the RPC layer), instead of the RPC layer= itself directly accessing these flags=2E This patch converts the followin= g flags to Messenger options and moves the flag definitions to server_base= =2Ecc which is the "application" in Kudu that uses the Messenger: FLAGS_rp= c_default_keepalive_time_ms FLAGS_rpc_negotiation_timeout_ms FLAGS_rpc_auth= entication FLAGS_rpc_encryption FLAGS_rpc_tls_ciphers FLAGS_rpc_tls_min_pro= tocol FLAGS_rpc_certificate_file FLAGS_rpc_private_key_file FLAGS_rpc_ca_ce= rtificate_file FLAGS_rpc_private_key_password_cmd FLAGS_keytab_file Most o= f the remaining flags are test or benchmark related flags=2E There may be a= few more flags that can be moved out and converted to options, but we can = leave that as future work if we decide to move them=2E Change-Id: Ia21814f= fb6e283c2791985b089878b579905f0ba Reviewed-on: http://gerrit=2Ecloudera=2Eo= rg:8080/8789 Tested-by: Kudu Jenkins Reviewed-by: Dan Burkert --- M be/src/kudu/rpc/client_negotiation=2Ecc M be/src/kudu/rp= c/client_negotiation=2Eh M be/src/kudu/rpc/messenger=2Ecc M be/src/kudu/rpc= /messenger=2Eh M be/src/kudu/rpc/negotiation=2Ecc M be/src/kudu/rpc/negotia= tion=2Eh M be/src/kudu/rpc/reactor=2Ecc M be/src/kudu/rpc/rpc-test-base=2Eh= M be/src/kudu/rpc/rpc-test=2Ecc M be/src/kudu/rpc/sasl_common=2Ecc M be/sr= c/kudu/rpc/sasl_common=2Eh M be/src/kudu/rpc/server_negotiation=2Ecc M be/s= rc/kudu/rpc/server_negotiation=2Eh M be/src/kudu/security/CMakeLists=2Etxt = M be/src/kudu/security/init=2Ecc M be/src/kudu/security/init=2Eh A be/src/k= udu/security/security_flags=2Ecc A be/src/kudu/security/security_flags=2Eh = M be/src/kudu/security/test/mini_kdc-test=2Ecc M be/src/kudu/security/tls_c= ontext=2Ecc M be/src/kudu/security/tls_context=2Eh M be/src/kudu/util/flags= =2Ecc M be/src/kudu/util/flags=2Eh M be/src/rpc/authentication=2Ecc 24 file= s changed, 381 insertions(+), 282 deletions(-) git pull ssh://gerrit=2E= cloudera=2Eorg:29418/Impala-ASF refs/changes/78/8878/2 -- To view, visit h= ttp://gerrit=2Ecloudera=2Eorg:8080/8878 To unsubscribe, visit http://gerrit= =2Ecloudera=2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: = master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ia21814ffb6e283c27= 91985b089878b579905f0ba Gerrit-Change-Number: 8878 Gerrit-PatchSet: 2 Gerri= t-Owner: Michael Ho Gerrit-Reviewer: Dan Burkert Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Michael Ho Gerrit-Review= er: Sailesh Mukil --YMRbGiEYdn0=--