Thanks for the response.
1. Yes, hive.txn.manager manager is set to org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
2. Using buckets , my oozie workflow fails with “ERROR : Failed with exception Unable to rename: hdfs://hpchd1.hpc.ford.com:8020/tmp/hive/dgodwin6/18920f49-a1d1-4382-9321-aedd7994af60/hive_2015-06-01_16-08-16_936_619471673979650225-1/-ext-10002 to: hdfs://hpchd1.hpc.ford.com:8020/tmp/hive/dgodwin6/18920f49-a1d1-4382-9321-aedd7994af60/hive_2015-06-01_16-08-16_936_619471673979650225-1/-ext-10000″
3. query – to select from BBB(staging) to AAA(master)
set hive.support.concurrency=true
set hive.enforce.bucketing=true
set hive.exec.dynamic.partition.mode=nonstrict
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
set hive.compactor.initiator.on=true
set hove.compactor.worker.threads=1
insert into table AAA select * from BBB;