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 2ECA0C657 for ; Tue, 9 Dec 2014 01:07:13 +0000 (UTC) Received: (qmail 49752 invoked by uid 500); 9 Dec 2014 01:07:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 49673 invoked by uid 500); 9 Dec 2014 01:07:12 -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 49661 invoked by uid 500); 9 Dec 2014 01:07:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 49658 invoked by uid 99); 9 Dec 2014 01:07:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2014 01:07:12 +0000 Date: Tue, 9 Dec 2014 01:07:12 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8850) ObjectStore:: rollbackTransaction() and getHelper class needs to be looked into further. 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-8850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238783#comment-14238783 ] Sushanth Sowmyan commented on HIVE-8850: ---------------------------------------- Since the latest patch is very similar in state to what Hari initially came up with except for the change to openTransaction that Chaoyu suggested, I think it's fair to reassign back to Hari for this, doing so, and will commit with my +1 and Chaoyu's. > ObjectStore:: rollbackTransaction() and getHelper class needs to be looked into further. > ---------------------------------------------------------------------------------------- > > Key: HIVE-8850 > URL: https://issues.apache.org/jira/browse/HIVE-8850 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Sushanth Sowmyan > Attachments: HIVE-8850.1.patch, HIVE-8850.2.patch, HIVE-8850.3.patch, HIVE-8850.4.patch > > > We can run into issues as described below: > Hive script adds 2800 partitions to a table and during this it can get a SQLState 08S01 [Communication Link Error] and bonecp kill all the connections in the pool. The partitions are added and a create table statement executes (Metering_IngestedData_Compressed). The map job finishes successfully and while moving the table to the hive warehouse the ObjectStore.java commitTransaction() raises the error: commitTransaction was called but openTransactionCalls = 0. This probably indicates that there are unbalanced calls to openTransaction/commitTransaction -- This message was sent by Atlassian JIRA (v6.3.4#6332)