Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 865D1184D7 for ; Tue, 26 Jan 2016 22:33:40 +0000 (UTC) Received: (qmail 24071 invoked by uid 500); 26 Jan 2016 22:33:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 23946 invoked by uid 500); 26 Jan 2016 22:33:40 -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 23788 invoked by uid 99); 26 Jan 2016 22:33:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 22:33:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 420912C1F5C for ; Tue, 26 Jan 2016 22:33:40 +0000 (UTC) Date: Tue, 26 Jan 2016 22:33:40 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11716) Reading ACID table from non-acid session should raise an error 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-11716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118194#comment-15118194 ] Eugene Koifman commented on HIVE-11716: --------------------------------------- in that case you are right, you should keep track of hive.txn.manager field > Reading ACID table from non-acid session should raise an error > -------------------------------------------------------------- > > Key: HIVE-11716 > URL: https://issues.apache.org/jira/browse/HIVE-11716 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 1.0.0 > Reporter: Eugene Koifman > Assignee: Wei Zheng > Priority: Critical > Attachments: HIVE-11716.1.patch, HIVE-11716.2.patch > > > if someone performs a delete using DbTxnManager and than starts a new session with DummyTxnManager, then previously successfully deleted data will show up. > Once the logic to identify all acid tables being read is there, make sure that > Driver.recordValidTxns() called iff there ACID tables in the query. > We should also not allow writing to ACID table from non-acid session -- This message was sent by Atlassian JIRA (v6.3.4#6332)