Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Review Request 23820: HIVE-7445:Improve LOGS for Hive when a query is not able to acquire locks


Copy link to this message
-
Re: Review Request 23820: HIVE-7445:Improve LOGS for Hive when a query is not able to acquire locks

Hey, Szehon, Thanks for the review. I think this change is necessary to make the counting logic for lock attempt more accurate and cleaner. The previous counting logic might have a small bug. For example, if we set hive.lock.numretries (The number of times you want to try to get all the locks) to 2, it only allows you to make one locking attempt and then loop out if not successful. Actually the counting logic used in method unlockWithRetry is right and the one used here is same as that. Please let me know if anything I am missing here.
- Chaoyu
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23820/#review48441
On July 23, 2014, 2:27 a.m., Chaoyu Tang wrote: