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 C20EF200CDF for ; Thu, 17 Aug 2017 23:42:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C040116BE0D; Thu, 17 Aug 2017 21:42:16 +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 1115316BE0C for ; Thu, 17 Aug 2017 23:42:15 +0200 (CEST) Received: (qmail 57734 invoked by uid 500); 17 Aug 2017 21:42:13 -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 57718 invoked by uid 99); 17 Aug 2017 21:42:13 -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; Thu, 17 Aug 2017 21:42:13 +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 E30A21A1BE6 for ; Thu, 17 Aug 2017 21:42:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.363 X-Spam-Level: X-Spam-Status: No, score=0.363 tagged_above=-999 required=6.31 tests=[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 W7OgWXKSpnjE for ; Thu, 17 Aug 2017 21:42:12 +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 7B6445FB3A for ; Thu, 17 Aug 2017 21:42:11 +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 v7HLg99V001881; Thu, 17 Aug 2017 21:42:09 GMT Message-Id: <201708172142.v7HLg99V001881@ip-10-146-233-104.ec2.internal> Date: Thu, 17 Aug 2017 21:42:09 +0000 From: "Pranay Singh (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Henry Robinson , Bharath Vissapragada , Joe McDonnell X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-5108=3Aidle_session_timeout_kicks_in_later_than_expected=0A?= X-Gerrit-Change-Id: Ic62f1ece6c128a80676c6eb331ef190a038bee76 X-Gerrit-ChangeURL: X-Gerrit-Commit: 060976be931a743c747c27014f0f2284cbc100ba In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Thu, 17 Aug 2017 21:42:16 -0000 Pranay Singh has posted comments on this change. Change subject: IMPALA-5108:idle_session_timeout kicks in later than expected ...................................................................... Patch Set 1: (5 comments) http://gerrit.cloudera.org:8080/#/c/7709/1/be/src/service/impala-server.cc File be/src/service/impala-server.cc: PS1, Line 1817: that > whether that replaced by whether, done PS1, Line 1817: > double space Double space Removed PS1, Line 1819: int64_t session_timeout_min_ms = 1000; > Rename this to something like sleep_time_ms , and make it a constant - e.g. Made it a constant and changed it to uppercase PS1, Line 1844: FLAGS_use_local_tz_for_unix_timestamp_conversions = true; > This is very dangerous: what if some other thread reads FLAGS_use_local_tz_ Removed it http://gerrit.cloudera.org:8080/#/c/7709/1/be/src/service/session-expiry-test.cc File be/src/service/session-expiry-test.cc: PS1, Line 45: num_clients > constants should be ALL_CAPS Done -- To view, visit http://gerrit.cloudera.org:8080/7709 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic62f1ece6c128a80676c6eb331ef190a038bee76 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Pranay Singh Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Pranay Singh Gerrit-HasComments: Yes