for hive version 0.8.1 and thrift version 0.9.0