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 C9C48200D33 for ; Wed, 8 Nov 2017 13:37:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C85EF160BE0; Wed, 8 Nov 2017 12:37:28 +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 168A0160BDA for ; Wed, 8 Nov 2017 13:37:27 +0100 (CET) Received: (qmail 41621 invoked by uid 500); 8 Nov 2017 12:37:27 -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 41610 invoked by uid 99); 8 Nov 2017 12:37:26 -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; Wed, 08 Nov 2017 12:37:26 +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 2FBCD1A10FA for ; Wed, 8 Nov 2017 12:37:26 +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-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 y7XbvCy-U_1Q for ; Wed, 8 Nov 2017 12:37:24 +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 437C562375 for ; Wed, 8 Nov 2017 12:37:24 +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 vA8CbJUt007689; Wed, 8 Nov 2017 12:37:19 GMT Message-Id: <201711081237.vA8CbJUt007689@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 3 Date: Wed, 8 Nov 2017 12:37:19 +0000 From: "Attila Jeges (Code Review)" To: Zoltan Borok-Nagy , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Tim Armstrong , Michael Ho , Laszlo Gaal , Gabor Kaszab , Csaba Ringhofer , Thomas Tauber-Marshall X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-2248=3A_Make_idle_session_timeout_a_query_option=0A?= X-Gerrit-Change-Id: I32e2775f80da387b0df4195fe2c5435b3f8e585e X-Gerrit-Change-Number: 8490 X-Gerrit-ChangeURL: X-Gerrit-Commit: 34340d5f2f569a38ecf7584dd4e37ad70c752247 In-Reply-To: References: X-Gerrit-Comment-Date: Wed, 8 Nov 2017 12:37:19 +0000 Reply-To: attilaj@cloudera.com, impala-cr@cloudera.com, boroknagyz@cloudera.com, gaborkaszab@cloudera.com, marcelk@gmail.com, tarmstrong@cloudera.com, kwho@cloudera.com, laszlo.gaal@cloudera.com, csringhofer@cloudera.com, tmarshall@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="z/ruxdDbJxQ="; charset=UTF-8 archived-at: Wed, 08 Nov 2017 12:37:29 -0000 --z/ruxdDbJxQ= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Attila Jeges has posted comments on this change=2E ( http://gerrit=2Ecloude= ra=2Eorg:8080/8490 ) Change subject: IMPALA-2248: Make idle_session_timeou= t a query option =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 3: (5 comments) http://gerrit=2Ecloudera=2Eorg:8080/#/c/8= 490/3/be/src/service/client-request-state=2Ecc File be/src/service/client-r= equest-state=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/be/src/s= ervice/client-request-state=2Ecc@211 PS3, Line 211: } : = else { single line http://gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/be/sr= c/service/impala-server=2Eh File be/src/service/impala-server=2Eh: http://= gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/be/src/service/impala-server=2Eh@40= 3 PS3, Line 403: 'timeout' nit: formal parameter is 'requested_timeout' h= ttp://gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/be/src/service/impala-server= =2Ecc File be/src/service/impala-server=2Ecc: http://gerrit=2Ecloudera=2Eo= rg:8080/#/c/8490/3/be/src/service/impala-server=2Ecc@1119 PS3, Line 1119: = if (session_timeout > 0) { : lock_guard l(session_= timeout_lock_); : multiset::const_iterator itr = =3D session_timeout_set_=2Efind(session_timeout); : DCHEC= K(itr !=3D session_timeout_set_=2Eend()); : session_timeo= ut_set_=2Eerase(itr); : session_timeout_cv_=2Enotify_one(= ); : } Can we call UnregisterSessionTimeout() instead here?= http://gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/be/src/service/impala-ser= ver=2Ecc@1236 PS3, Line 1236: nit: 4 character indents on line conti= nuations http://gerrit=2Ecloudera=2Eorg:8080/#/c/8490/3/fe/src/test/java/= org/apache/impala/service/JdbcTest=2Ejava File fe/src/test/java/org/apache/= impala/service/JdbcTest=2Ejava: http://gerrit=2Ecloudera=2Eorg:8080/#/c/84= 90/3/fe/src/test/java/org/apache/impala/service/JdbcTest=2Ejava@657 PS3, Li= ne 657: connections=2Eget(0)=2Eclose(); Maybe you can be more explicit here= about the expected end-state, e=2Eg=2E: assertNotNull("=2E=2E", connectio= ns=2Eget(0)); assertNull("=2E=2E", connections=2Eget(1)); assertNull("=2E= =2E", connections=2Eget(2)); -- To view, visit http://gerrit=2Ecloudera= =2Eorg:8080/8490 To unsubscribe, visit http://gerrit=2Ecloudera=2Eorg:8080/= settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageTy= pe: comment Gerrit-Change-Id: I32e2775f80da387b0df4195fe2c5435b3f8e585e Ger= rit-Change-Number: 8490 Gerrit-PatchSet: 3 Gerrit-Owner: Zoltan Borok-Nagy = Gerrit-Reviewer: Attila Jeges Gerrit-Reviewer: Csaba Ringhofer Gerri= t-Reviewer: Gabor Kaszab Gerrit-Reviewer: Lasz= lo Gaal Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Thomas Tauber-Marshall Gerrit-Reviewer: Tim Armstrong Gerrit-R= eviewer: Zoltan Borok-Nagy Gerrit-Comment-Date:= Wed, 08 Nov 2017 12:37:19 +0000 Gerrit-HasComments: Yes --z/ruxdDbJxQ=--