added a comment - 14/Jul/09 17:33 hive --service compact --table tablea this would be easiest for users but not extensible in the sense that users will not be able to do more things. eventually users start asking for options to do such things as not rebuild indexes but just drop them or not compact if the number files is small or total size is small etc. this requires lot more effort from develope