Are you using a lock manager, and if so which one? I believe the
ZooKeeper lock manager does not allow simultaneous writes. The lock
manager that comes with the DbTxnManager does, but you can't use that
without also using transactions.
Alan.
Suyog Parlikar <mailto:suyogparli...@gmail.com>
August 24, 2015 at 8:11
No table is not transactional
Elliot West <mailto:tea...@gmail.com>
August 23, 2015 at 22:00
Is the table configured to be transactional?
https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-TableProperties
On Monday, 24 August 2015, Suyog Parlikar <suyogparli...@gmail.com
<mailto:suyogparli...@gmail.com>> wrote:
Suyog Parlikar <mailto:suyogparli...@gmail.com>
August 23, 2015 at 21:46
Hello Elliot,
Thanks for clarification.
But I am still not able to understand the hive working.
My cluster has following properties.
Txn.manager- dummyTxnManager
Cocurrency - true
Actually I am trying to insert data into two different partitions of a
table at the same time.
When I check the locks present on the table ,it shows the shared
lock.Which does not allow the writes on the table.
So I wanted to understand that ,
Does hive execute these two insert operations sequentially or it
executes it in parallel .
Thanks,
Suyog
Elliot West <mailto:tea...@gmail.com>
August 23, 2015 at 3:52
Shared locks are all that is required to insert data into
transactional tables. Multiple clients can hold a shared lock
simultaneously. Each client will write using uniquely assigned
transaction ids so that their work is isolated from one another. It
should actually be possible for multiple clients to insert into the
same partition concurrently.
See slide 12 in:
http://www.slideshare.net/mobile/Hadoop_Summit/w-525210-comalley
Thanks - Elliot.
On Friday, 21 August 2015, Suyog Parlikar <suyogparli...@gmail.com
<javascript:_e(%7B%7D,'cvml','suyogparli...@gmail.com');>> wrote: