Created on 07-13-2017 11:14 AM - edited 09-16-2022 04:55 AM
Hi all,
I am not able to delete or update in hive table .
create table testTableNew(id int ,name string ) clustered by (id) into 2 buckets stored as orc TBLPROPERTIES('transactional'='true');
insert into table testTableNew values('101','syri');
select * from testtablenew;
1 | 102 | syam |
2 | 101 | syri |
3 | 101 | syri |
delete from testTableNew where id = '101';
update testTableNew
set name = praveen
where id = 101;
I have added few properties in hive-site.xml also :
hive.support.concurrency
true
hive.enforce.bucketing
true
hive.exec.dynamic.partition.mode
nonstrict
hive.txn.manager
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
hive.compactor.initiator.on
true
hive.compactor.worker.threads
2
hive.in.test
true
After restart the Hive service also same error i am facing.
Quick Start VM - 5.8 and Hive version - 1.1.0.
Please guide me to sort this issue.
Thanks,
Syam.