Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-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 E44C9187C7 for ; Fri, 18 Mar 2016 09:12:33 +0000 (UTC) Received: (qmail 91840 invoked by uid 500); 18 Mar 2016 09:12:33 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 91808 invoked by uid 500); 18 Mar 2016 09:12:33 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 91706 invoked by uid 99); 18 Mar 2016 09:12:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 09:12:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 72C292C1F58 for ; Fri, 18 Mar 2016 09:12:33 +0000 (UTC) Date: Fri, 18 Mar 2016 09:12:33 +0000 (UTC) From: "Weizhong (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-14003) Multi-session can not work when one session is moving files for "INSERT ... SELECT" clause 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/SPARK-14003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Weizhong updated SPARK-14003: ----------------------------- Summary: Multi-session can not work when one session is moving files for "INSERT ... SELECT" clause (was: Multi-session can not work when run one session is running "INSERT ... SELECT" move files step) > Multi-session can not work when one session is moving files for "INSERT ... SELECT" clause > ------------------------------------------------------------------------------------------ > > Key: SPARK-14003 > URL: https://issues.apache.org/jira/browse/SPARK-14003 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.6.1 > Reporter: Weizhong > Priority: Critical > > 1. Start ThriftServer > 2. beeline A connect to ThriftServer, run "INSERT INTO ... SELECT" > 3. when beeline A job is finished and start moving files, beeline B connect to ThriftServer, then it will pending > This is because we run client.loadDynamicPatitions in withHiveState, so it will locked, then beeline B can't get the lock until beeline A finished moving files. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org