Support Questions
Find answers, ask questions, and share your expertise

Hive Metastore Compactor Services Not Working Properly

Highlighted

Hive Metastore Compactor Services Not Working Properly

I have ACID enabled in our environment but I see a number of locks is still present even though the it had exceeded hive.txn.timeout set in our environment (last heartbeat was days ago). From the Apache Hive documentation, these locks should be released by a process called AcidHouseKeeperService and I have not seen any logs with the following line ffor some days now:

[org.apache.hadoop.hive.ql.txn.AcidHouseKeeperService-0]: txn.AcidHouseKeeperService (AcidHouseKeeperService.java:run(70))

After restarting Hive Mestastore in Ambari, these locks are still present and AcidHouseKeeperService is still not seen. Is there anything else that should be done to have this service working so that locks will not be observed from Hive?


Would really appreciate your thoughts on this.