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 6576B200BFE for ; Mon, 16 Jan 2017 23:47:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6415D160B41; Mon, 16 Jan 2017 22:47:33 +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 ABC40160B28 for ; Mon, 16 Jan 2017 23:47:32 +0100 (CET) Received: (qmail 14369 invoked by uid 500); 16 Jan 2017 22:47:31 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 14360 invoked by uid 99); 16 Jan 2017 22:47:31 -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; Mon, 16 Jan 2017 22:47:31 +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 8524C1A028C for ; Mon, 16 Jan 2017 22:47:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] 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 NNPiNDO018xB for ; Mon, 16 Jan 2017 22:47:30 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4013F5FBBD for ; Mon, 16 Jan 2017 22:47:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 00B21E0294 for ; Mon, 16 Jan 2017 22:47:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 64A912527F for ; Mon, 16 Jan 2017 22:47:26 +0000 (UTC) Date: Mon, 16 Jan 2017 22:47:26 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-15589) Shorten the default initial heartbeat delay MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 Jan 2017 22:47:33 -0000 [ https://issues.apache.org/jira/browse/HIVE-15589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zheng updated HIVE-15589: ----------------------------- Summary: Shorten the default initial heartbeat delay (was: Remove redundant test from TestDbTxnManager.testHeartbeater) > Shorten the default initial heartbeat delay > ------------------------------------------- > > Key: HIVE-15589 > URL: https://issues.apache.org/jira/browse/HIVE-15589 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 2.2.0 > Reporter: Wei Zheng > Assignee: Wei Zheng > > Case 1 claims there's no delay for the heartbeat startup, but actually the logic is when delay is specified as 0, we will unconditionally set HiveConf.ConfVars.HIVE_TXN_TIMEOUT / 2 to be the delay. So this case 1 is not needed, as it's covered by case 2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)