modified for hive version 0.10 and hadoop v 1.1.2