- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hive Acid: How to kill Locks & transaction ?
- Labels:
-
Apache Hive
Created ‎12-31-2015 12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎12-31-2015 03:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may be hitting this https://issues.apache.org/jira/browse/HIVE-11934
I would say try killing HS2 and worse case case restart Hive components.
Created ‎12-31-2015 03:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may be hitting this https://issues.apache.org/jira/browse/HIVE-11934
I would say try killing HS2 and worse case case restart Hive components.
Created ‎12-31-2015 03:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you very much 🙂
I suspected that is a bug.
Created ‎12-31-2015 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎01-04-2016 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Eric, Thank you fro response. I will try it and will let you know the result.
Created ‎01-04-2016 07:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎05-13-2016 07:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://issues.apache.org/jira/browse/HIVE-12634 will help here
