hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/Locking" by NamitJain
Date Wed, 05 May 2010 23:36:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/Locking" page has been changed by NamitJain.


  number of partitions may not be known, an exclusive lock is taken on the table, or the prefix
  is known. 
- The 'X' lock mode is hierarchical in nature - if 'X' lock is acquired on T, implicitly 'X'
lock is acquired
- on all partitions of T, irrespective of whether they are referenced in the query.
  Two new configurable parameters will be added to decide the number of retries for the lock
and the 
  wait time between each retry. If the number of retries are really high, it can lead to a
live lock.
  Look at ZooKeeper recipes (http://hadoop.apache.org/zookeeper/docs/r3.1.2/recipes.html#sc_recipes_Locks)

View raw message