Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive job is failing with below error


Hive job is failing with below error

New Contributor


Hive job is unable to read the timestamp from table (Managed) and giving below error.

Error: Error while processing statement: FAILED: Error in acquiring locks: Lock acquisition for LockRequest(component:[LockComponent(type:SHARED_READ, level:TABLE

Due to which data from hive database is not read and resulting in empty run.

The below properties are set and ACID Transactions is also enabled.


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 hive.compactor.worker.threads=1;

set hive.optimize.sort.dynamic.partition=false;

Kindly suggest a fix for this