Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62C1F9DD for ; Wed, 27 Apr 2011 06:12:52 +0000 (UTC) Received: (qmail 32224 invoked by uid 500); 27 Apr 2011 06:12:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 31904 invoked by uid 500); 27 Apr 2011 06:12:51 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 31856 invoked by uid 500); 27 Apr 2011 06:12:47 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 31846 invoked by uid 99); 27 Apr 2011 06:12:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 06:12:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 06:12:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 09046B565C for ; Wed, 27 Apr 2011 06:12:04 +0000 (UTC) Date: Wed, 27 Apr 2011 06:12:04 +0000 (UTC) From: "Ning Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <549899761.5158.1303884724033.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2001828955.77833.1303528745733.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2127) Improve stats gathering reliability by retries on failures with hive.stats.retries.max and hive.stats.retries.wait MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-2127: ----------------------------- Status: Patch Available (was: Open) Changed the JIRA subject > Improve stats gathering reliability by retries on failures with hive.stats.retries.max and hive.stats.retries.wait > ------------------------------------------------------------------------------------------------------------------ > > Key: HIVE-2127 > URL: https://issues.apache.org/jira/browse/HIVE-2127 > Project: Hive > Issue Type: Improvement > Reporter: Ning Zhang > Assignee: Ning Zhang > Attachments: HIVE-2127.2.patch, HIVE-2127.patch > > > Stats publishing and aggregation only try once and if there is any exception it will fail and return. If many mappers/reducers updating stats at the same time, it is very common to get lock timeout. We should make stats more reliable by retry when there is an SQLException. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira