Add code to auto-drop old hive partitions and remove partition directories

Change-Id: I457941316bfdf40a73881359f276520d5f11ee4a
Merge "Add code to auto-drop old hive partitions and remove partition directories"