Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 37036 invoked from network); 1 Sep 2009 16:30:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 16:30:55 -0000 Received: (qmail 32004 invoked by uid 500); 1 Sep 2009 16:30:55 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 31980 invoked by uid 500); 1 Sep 2009 16:30:55 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 31812 invoked by uid 99); 1 Sep 2009 16:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 16:30:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 16:30:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C65DF234C004 for ; Tue, 1 Sep 2009 09:30:32 -0700 (PDT) Message-ID: <1265376363.1251822632799.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 09:30:32 -0700 (PDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Reopened: (HIVE-790) race condition related to ScriptOperator + UnionOperator In-Reply-To: <301657782.1251161819240.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain reopened HIVE-790: ----------------------------- need to fix for 0.4 also > race condition related to ScriptOperator + UnionOperator > -------------------------------------------------------- > > Key: HIVE-790 > URL: https://issues.apache.org/jira/browse/HIVE-790 > Project: Hadoop Hive > Issue Type: Bug > Reporter: Zheng Shao > Assignee: Ning Zhang > Attachments: Hive-790.patch, Hive-790_2.patch, Hive-790_3.patch, Hive-790_4.patch > > > ScriptOperator uses a second thread to output the rows to the children operators. In a corner case which contains a union, 2 threads might be outputting data into the same operator hierarchy and caused race conditions. > {code} > CREATE TABLE tablea (cola STRING); > SELECT * > FROM ( > SELECT TRANSFORM(cola) > USING 'cat' > AS cola > FROM tablea > UNION ALL > SELECT cola as cola > FROM tablea > ) a; > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.