Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hive Acid: How to kill Locks & transaction ?

avatar

Hello,

I have many open transactions on table that i cant' delete.

Even if i delete the table, transactions are still open.

There is a way to rollback these transactions?

There is a way to kill pending locks?

Hive version : 1.2.1

Thanks

1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
6 REPLIES 6

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

thank you very much 🙂

I suspected that is a bug.

avatar
Rising Star

In the short run you can always look at the metastore database (assuming you're using the db txn manager) and try to clear them manually from the tables there.

avatar

Hello Eric, Thank you fro response. I will try it and will let you know the result.

avatar
Contributor

I don't recommend directly messing with the RDBMs. If you can't find any other way out and must make changes in the RDBMS, you should make sure to just switch the transactions states from open to aborted. Removing the transactions completely may have undesirable side effects.

avatar
Super Collaborator