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 04:41:54 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.
http://wiki.apache.org/hadoop/Hive/Locking?action=diff&rev1=9&rev2=10

--------------------------------------------------

  ||'''alter table T1 add cols'''||'''X on T1'''||
  ||'''alter table T1 replace cols'''||'''X on T1'''||
  ||'''alter table T1 change cols'''||'''X on T1'''||
- 
- 
+ ||'''alter table T1 add partition P1'''||'''S on T1, X on T1.P1'''||
+ ||'''alter table T1 drop partition P1'''||'''S on T1, X on T1.P1'''||
+ ||'''alter table T1 touch partition P1'''||'''S on T1, X on T1.P1'''||
+ ||'''alter table T1 set serdeProperties '''||'''S on T1'''||
+ ||'''alter table T1 set serializer '''||'''S on T1'''||
+ ||'''alter table T1 set file format '''||'''S on T1'''||
+ ||'''alter table T1 set tblproperties  '''||'''X on T1'''||
+ ||'''drop table T1'''||'''X on T1'''||
  
  In order to avoid deadlocks, a very simple scheme is proposed here. All	the objects to be
locked
  are sorted lexicographically, and the required mode lock is acquired. Note that	in some
cases, the

Mime
View raw message