Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A7DF17D0B for ; Mon, 6 Apr 2015 14:21:27 +0000 (UTC) Received: (qmail 34953 invoked by uid 500); 6 Apr 2015 14:21:25 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 34887 invoked by uid 500); 6 Apr 2015 14:21:25 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 34875 invoked by uid 99); 6 Apr 2015 14:21:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 14:21:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sanjiv.is.on@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 14:21:00 +0000 Received: by widdi4 with SMTP id di4so32157947wid.0 for ; Mon, 06 Apr 2015 07:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=DkhzyqKVb/VmmW80sHWaZ8/n8rjGJIUJupdtH1cgKkc=; b=wCrlNzqO9bopePJo24K2Asyj8uww+NzzP/76I7Z8AoIQggMVDGcSqeCMja9l1P2nTP 2zd6RZWsJwcQ3Zo+1XsoA9OcUbr4i8ZLKt4BpsAHvIfsrbdJ6zbbYDXhrrruYjrSsovL L/Sup2ZctCJNER1r7WOx+agYVPt4bWK0AGQTt0S36Mxo8/YpOp74mAUNFwZmE9ParoBx /r6p4ZYek30STrnMxrAu3NXisrLTgLXoHJVe6SZ8ocHmu5tYeh56HGweZNCvhF92qqGx XZ1gdPR5i+aBPSERNtdgsba/Eqj9RXW1Y2+/KRwnhDqwxxJhOKO+EZEyRh0ITgyI7uTT Gfng== X-Received: by 10.195.12.97 with SMTP id ep1mr31676409wjd.134.1428330059401; Mon, 06 Apr 2015 07:20:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.66.105 with HTTP; Mon, 6 Apr 2015 07:20:38 -0700 (PDT) Reply-To: sanjiv.is.on@gmail.com In-Reply-To: <004001d07070$cd2b7610$67826230$@co.uk> References: <004001d07070$cd2b7610$67826230$@co.uk> From: "@Sanjiv Singh" Date: Mon, 6 Apr 2015 19:50:38 +0530 Message-ID: Subject: Re: Concurrency issue, Setting hive.txn.manager to "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager" To: "user@hive.apache.org" Content-Type: multipart/alternative; boundary=047d7bfceb40d0103605130f01ac X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfceb40d0103605130f01ac Content-Type: text/plain; charset=UTF-8 Not sure ..It should work Try adding below configuration and then check.. hive.in.test true Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Apr 6, 2015 at 7:21 PM, Mich Talebzadeh wrote: > Hi, > > > > I turned on concurrency for hive for DML with settings in hive-site.xml as > follows: > > > > hive.support.concurrency=true > > hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager > > hive.compactor.initiator.on=true > > hive.compactor.worker.threads=2 > > hive.support.concurrency=true > > hive.enforce.bucketing=true > > hive.exec.dynamic.partition.mode=nonstrict > > > > Recycled connection to metastore and started hive server. Tried to query > hive as follows: > > > > hive> use asehadoop; > > FAILED: LockException [Error 10280]: Error communicating with the metastore > > > > Went back and set hive.txn.manager to default > > hive.txn.manager= org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager > > > > and recycled again and all worked! > > > > Sounds like concurrency does not work or something extra I need to do? > > > > Thanks > > > > Mich Talebzadeh > > > > http://talebzadehmich.wordpress.com > > > > Publications due shortly: > > Creating in-memory Data Grid for Trading Systems with Oracle TimesTen and > Coherence Cache > > > > NOTE: The information in this email is proprietary and confidential. This > message is for the designated recipient only, if you are not the intended > recipient, you should destroy it immediately. Any information in this > message shall not be understood as given or endorsed by Peridale Ltd, its > subsidiaries or their employees, unless expressly so stated. It is the > responsibility of the recipient to ensure that this email is virus free, > therefore neither Peridale Ltd, its subsidiaries nor their employees accept > any responsibility. > > > > > --047d7bfceb40d0103605130f01ac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not sure ..It should work=C2=A0

Try add= ing below configuration and then check..
 <property>
  <name>hive.in.test</name>
  <value>true</value>
 </property>


Regards
Sanjiv Singh
Mob := =C2=A0 +091 9990-447-339

On Mon, Apr 6, 2015 at 7:21 PM, Mich Talebza= deh <mich@peridale.co.uk> wrote:

Hi,<= /u>

=C2=A0

I turned on concurrency for hiv= e for DML with settings in hive-site.xml as follows:

=C2=A0

hive.support.concurrency=3Dtrue

hive.txn.manager= =3Dorg.apache.hadoop.hive.ql.lockmgr.DbTxnManager

<= p>hive.compa= ctor.initiator.on=3Dtrue

hive.compactor.worker.threads=3D2

hive.support.concurrency=3Dtrue

hive.enforce.b= ucketing=3Dtrue

hive.exec.dynamic.partition.mode=3Dnonstrict=

=C2=A0

Recycled connection = to metastore and started hive server. Tried to query hive as follows:

=C2=A0

hive> use asehadoop;

FAILED: = LockException [Error 10280]: Error communicating with the metastore<= u>

=C2=A0

Went back and set hive.txn.manager to default=

hive.txn.manager=3D o= rg.apache.hadoop.hive.ql.lockmgr.DummyTxnManager

=C2=A0=

and recycled again and all worked!

=C2=A0

Sounds like concurrency does not work or something extra I need to= do?

=C2=A0

Thanks

<= u>=C2=A0

Mich Talebzadeh

=C2=A0=

http://talebzadehmich.wordpress.com

=C2= =A0

Publications due shortly:

Creating in-= memory Data Grid for Trading Systems with Oracle TimesTen and Coherence Cac= he

=C2=A0

NOTE: The information in = this email is proprietary and confidential. This message is for the designa= ted recipient only, if you are not the intended recipient, you should destr= oy it immediately. Any information in this message shall not be understood = as given or endorsed by Peridale Ltd, its subsidiaries or their employees, = unless expressly so stated. It is the responsibility of the recipient to en= sure that this email is virus free, therefore neither Peridale Ltd, its sub= sidiaries nor their employees accept any responsibility.

<= p>=C2=A0

=C2=A0


--047d7bfceb40d0103605130f01ac--