FAQ
Repository: hive
Updated Branches:
   refs/heads/spark dddffe142 -> 42216997f


http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
old mode 100644
new mode 100755
index 1a5cf83..f580695
--- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
+++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
@@ -1,6 +1,6 @@
  #!/usr/bin/env python
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -12,27 +12,164 @@ import pprint
  from urlparse import urlparse
  from thrift.transport import TTransport
  from thrift.transport import TSocket
+from thrift.transport import TSSLSocket
  from thrift.transport import THttpClient
  from thrift.protocol import TBinaryProtocol

-import ThriftHive
-from ttypes import *
+from hive_service import ThriftHive
+from hive_service.ttypes import *

  if len(sys.argv) <= 1 or sys.argv[1] == '--help':
- print ''
- print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]'
- print ''
- print 'Functions:'
- print ' void execute(string query)'
- print ' string fetchOne()'
- print ' fetchN(i32 numRows)'
- print ' fetchAll()'
- print ' Schema getSchema()'
- print ' Schema getThriftSchema()'
- print ' HiveClusterStatus getClusterStatus()'
- print ' QueryPlan getQueryPlan()'
- print ' void clean()'
- print ''
+ print('')
+ print('Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] [-s[sl]] function [arg1 [arg2...]]')
+ print('')
+ print('Functions:')
+ print(' void execute(string query)')
+ print(' string fetchOne()')
+ print(' fetchN(i32 numRows)')
+ print(' fetchAll()')
+ print(' Schema getSchema()')
+ print(' Schema getThriftSchema()')
+ print(' HiveClusterStatus getClusterStatus()')
+ print(' QueryPlan getQueryPlan()')
+ print(' void clean()')
+ print(' string getMetaConf(string key)')
+ print(' void setMetaConf(string key, string value)')
+ print(' void create_database(Database database)')
+ print(' Database get_database(string name)')
+ print(' void drop_database(string name, bool deleteData, bool cascade)')
+ print(' get_databases(string pattern)')
+ print(' get_all_databases()')
+ print(' void alter_database(string dbname, Database db)')
+ print(' Type get_type(string name)')
+ print(' bool create_type(Type type)')
+ print(' bool drop_type(string type)')
+ print(' get_type_all(string name)')
+ print(' get_fields(string db_name, string table_name)')
+ print(' get_fields_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)')
+ print(' get_schema(string db_name, string table_name)')
+ print(' get_schema_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)')
+ print(' void create_table(Table tbl)')
+ print(' void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context)')
+ print(' void drop_table(string dbname, string name, bool deleteData)')
+ print(' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)')
+ print(' get_tables(string db_name, string pattern)')
+ print(' get_all_tables(string db_name)')
+ print(' Table get_table(string dbname, string tbl_name)')
+ print(' get_table_objects_by_name(string dbname, tbl_names)')
+ print(' get_table_names_by_filter(string dbname, string filter, i16 max_tables)')
+ print(' void alter_table(string dbname, string tbl_name, Table new_tbl)')
+ print(' void alter_table_with_environment_context(string dbname, string tbl_name, Table new_tbl, EnvironmentContext environment_context)')
+ print(' void alter_table_with_cascade(string dbname, string tbl_name, Table new_tbl, bool cascade)')
+ print(' Partition add_partition(Partition new_part)')
+ print(' Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context)')
+ print(' i32 add_partitions( new_parts)')
+ print(' i32 add_partitions_pspec( new_parts)')
+ print(' Partition append_partition(string db_name, string tbl_name, part_vals)')
+ print(' AddPartitionsResult add_partitions_req(AddPartitionsRequest request)')
+ print(' Partition append_partition_with_environment_context(string db_name, string tbl_name, part_vals, EnvironmentContext environment_context)')
+ print(' Partition append_partition_by_name(string db_name, string tbl_name, string part_name)')
+ print(' Partition append_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, EnvironmentContext environment_context)')
+ print(' bool drop_partition(string db_name, string tbl_name, part_vals, bool deleteData)')
+ print(' bool drop_partition_with_environment_context(string db_name, string tbl_name, part_vals, bool deleteData, EnvironmentContext environment_context)')
+ print(' bool drop_partition_by_name(string db_name, string tbl_name, string part_name, bool deleteData)')
+ print(' bool drop_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, bool deleteData, EnvironmentContext environment_context)')
+ print(' DropPartitionsResult drop_partitions_req(DropPartitionsRequest req)')
+ print(' Partition get_partition(string db_name, string tbl_name, part_vals)')
+ print(' Partition exchange_partition( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)')
+ print(' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)')
+ print(' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)')
+ print(' get_partitions(string db_name, string tbl_name, i16 max_parts)')
+ print(' get_partitions_with_auth(string db_name, string tbl_name, i16 max_parts, string user_name, group_names)')
+ print(' get_partitions_pspec(string db_name, string tbl_name, i32 max_parts)')
+ print(' get_partition_names(string db_name, string tbl_name, i16 max_parts)')
+ print(' get_partitions_ps(string db_name, string tbl_name, part_vals, i16 max_parts)')
+ print(' get_partitions_ps_with_auth(string db_name, string tbl_name, part_vals, i16 max_parts, string user_name, group_names)')
+ print(' get_partition_names_ps(string db_name, string tbl_name, part_vals, i16 max_parts)')
+ print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)')
+ print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)')
+ print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)')
+ print(' get_partitions_by_names(string db_name, string tbl_name, names)')
+ print(' void alter_partition(string db_name, string tbl_name, Partition new_part)')
+ print(' void alter_partitions(string db_name, string tbl_name, new_parts)')
+ print(' void alter_partition_with_environment_context(string db_name, string tbl_name, Partition new_part, EnvironmentContext environment_context)')
+ print(' void rename_partition(string db_name, string tbl_name, part_vals, Partition new_part)')
+ print(' bool partition_name_has_valid_characters( part_vals, bool throw_exception)')
+ print(' string get_config_value(string name, string defaultValue)')
+ print(' partition_name_to_vals(string part_name)')
+ print(' partition_name_to_spec(string part_name)')
+ print(' void markPartitionForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)')
+ print(' bool isPartitionMarkedForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)')
+ print(' Index add_index(Index new_index, Table index_table)')
+ print(' void alter_index(string dbname, string base_tbl_name, string idx_name, Index new_idx)')
+ print(' bool drop_index_by_name(string db_name, string tbl_name, string index_name, bool deleteData)')
+ print(' Index get_index_by_name(string db_name, string tbl_name, string index_name)')
+ print(' get_indexes(string db_name, string tbl_name, i16 max_indexes)')
+ print(' get_index_names(string db_name, string tbl_name, i16 max_indexes)')
+ print(' bool update_table_column_statistics(ColumnStatistics stats_obj)')
+ print(' bool update_partition_column_statistics(ColumnStatistics stats_obj)')
+ print(' ColumnStatistics get_table_column_statistics(string db_name, string tbl_name, string col_name)')
+ print(' ColumnStatistics get_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)')
+ print(' TableStatsResult get_table_statistics_req(TableStatsRequest request)')
+ print(' PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)')
+ print(' AggrStats get_aggr_stats_for(PartitionsStatsRequest request)')
+ print(' bool set_aggr_stats_for(SetPartitionsStatsRequest request)')
+ print(' bool delete_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)')
+ print(' bool delete_table_column_statistics(string db_name, string tbl_name, string col_name)')
+ print(' void create_function(Function func)')
+ print(' void drop_function(string dbName, string funcName)')
+ print(' void alter_function(string dbName, string funcName, Function newFunc)')
+ print(' get_functions(string dbName, string pattern)')
+ print(' Function get_function(string dbName, string funcName)')
+ print(' bool create_role(Role role)')
+ print(' bool drop_role(string role_name)')
+ print(' get_role_names()')
+ print(' bool grant_role(string role_name, string principal_name, PrincipalType principal_type, string grantor, PrincipalType grantorType, bool grant_option)')
+ print(' bool revoke_role(string role_name, string principal_name, PrincipalType principal_type)')
+ print(' list_roles(string principal_name, PrincipalType principal_type)')
+ print(' GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request)')
+ print(' GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request)')
+ print(' GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request)')
+ print(' PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, string user_name, group_names)')
+ print(' list_privileges(string principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)')
+ print(' bool grant_privileges(PrivilegeBag privileges)')
+ print(' bool revoke_privileges(PrivilegeBag privileges)')
+ print(' GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request)')
+ print(' set_ugi(string user_name, group_names)')
+ print(' string get_delegation_token(string token_owner, string renewer_kerberos_principal_name)')
+ print(' i64 renew_delegation_token(string token_str_form)')
+ print(' void cancel_delegation_token(string token_str_form)')
+ print(' GetOpenTxnsResponse get_open_txns()')
+ print(' GetOpenTxnsInfoResponse get_open_txns_info()')
+ print(' OpenTxnsResponse open_txns(OpenTxnRequest rqst)')
+ print(' void abort_txn(AbortTxnRequest rqst)')
+ print(' void commit_txn(CommitTxnRequest rqst)')
+ print(' LockResponse lock(LockRequest rqst)')
+ print(' LockResponse check_lock(CheckLockRequest rqst)')
+ print(' void unlock(UnlockRequest rqst)')
+ print(' ShowLocksResponse show_locks(ShowLocksRequest rqst)')
+ print(' void heartbeat(HeartbeatRequest ids)')
+ print(' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)')
+ print(' void compact(CompactionRequest rqst)')
+ print(' ShowCompactResponse show_compact(ShowCompactRequest rqst)')
+ print(' void add_dynamic_partitions(AddDynamicPartitions rqst)')
+ print(' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)')
+ print(' CurrentNotificationEventId get_current_notificationEventId()')
+ print(' FireEventResponse fire_listener_event(FireEventRequest rqst)')
+ print(' string getName()')
+ print(' string getVersion()')
+ print(' fb_status getStatus()')
+ print(' string getStatusDetails()')
+ print(' getCounters()')
+ print(' i64 getCounter(string key)')
+ print(' void setOption(string key, string value)')
+ print(' string getOption(string key)')
+ print(' getOptions()')
+ print(' string getCpuProfile(i32 profileDurationInSec)')
+ print(' i64 aliveSince()')
+ print(' void reinitialize()')
+ print(' void shutdown()')
+ print('')
    sys.exit(0)

  pp = pprint.PrettyPrinter(indent = 2)
@@ -40,6 +177,7 @@ host = 'localhost'
  port = 9090
  uri = ''
  framed = False
+ssl = False
  http = False
  argi = 1

@@ -68,13 +206,17 @@ if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed':
    framed = True
    argi += 1

+if sys.argv[argi] == '-s' or sys.argv[argi] == '-ssl':
+ ssl = True
+ argi += 1
+
  cmd = sys.argv[argi]
  args = sys.argv[argi+1:]

  if http:
    transport = THttpClient.THttpClient(host, port, uri)
  else:
- socket = TSocket.TSocket(host, port)
+ socket = TSSLSocket.TSSLSocket(host, port, validate=False) if ssl else TSocket.TSocket(host, port)
    if framed:
      transport = TTransport.TFramedTransport(socket)
    else:
@@ -85,60 +227,876 @@ transport.open()

  if cmd == 'execute':
    if len(args) != 1:
- print 'execute requires 1 args'
+ print('execute requires 1 args')
      sys.exit(1)
    pp.pprint(client.execute(args[0],))

  elif cmd == 'fetchOne':
    if len(args) != 0:
- print 'fetchOne requires 0 args'
+ print('fetchOne requires 0 args')
      sys.exit(1)
    pp.pprint(client.fetchOne())

  elif cmd == 'fetchN':
    if len(args) != 1:
- print 'fetchN requires 1 args'
+ print('fetchN requires 1 args')
      sys.exit(1)
    pp.pprint(client.fetchN(eval(args[0]),))

  elif cmd == 'fetchAll':
    if len(args) != 0:
- print 'fetchAll requires 0 args'
+ print('fetchAll requires 0 args')
      sys.exit(1)
    pp.pprint(client.fetchAll())

  elif cmd == 'getSchema':
    if len(args) != 0:
- print 'getSchema requires 0 args'
+ print('getSchema requires 0 args')
      sys.exit(1)
    pp.pprint(client.getSchema())

  elif cmd == 'getThriftSchema':
    if len(args) != 0:
- print 'getThriftSchema requires 0 args'
+ print('getThriftSchema requires 0 args')
      sys.exit(1)
    pp.pprint(client.getThriftSchema())

  elif cmd == 'getClusterStatus':
    if len(args) != 0:
- print 'getClusterStatus requires 0 args'
+ print('getClusterStatus requires 0 args')
      sys.exit(1)
    pp.pprint(client.getClusterStatus())

  elif cmd == 'getQueryPlan':
    if len(args) != 0:
- print 'getQueryPlan requires 0 args'
+ print('getQueryPlan requires 0 args')
      sys.exit(1)
    pp.pprint(client.getQueryPlan())

  elif cmd == 'clean':
    if len(args) != 0:
- print 'clean requires 0 args'
+ print('clean requires 0 args')
      sys.exit(1)
    pp.pprint(client.clean())

+elif cmd == 'getMetaConf':
+ if len(args) != 1:
+ print('getMetaConf requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.getMetaConf(args[0],))
+
+elif cmd == 'setMetaConf':
+ if len(args) != 2:
+ print('setMetaConf requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.setMetaConf(args[0],args[1],))
+
+elif cmd == 'create_database':
+ if len(args) != 1:
+ print('create_database requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.create_database(eval(args[0]),))
+
+elif cmd == 'get_database':
+ if len(args) != 1:
+ print('get_database requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_database(args[0],))
+
+elif cmd == 'drop_database':
+ if len(args) != 3:
+ print('drop_database requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.drop_database(args[0],eval(args[1]),eval(args[2]),))
+
+elif cmd == 'get_databases':
+ if len(args) != 1:
+ print('get_databases requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_databases(args[0],))
+
+elif cmd == 'get_all_databases':
+ if len(args) != 0:
+ print('get_all_databases requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.get_all_databases())
+
+elif cmd == 'alter_database':
+ if len(args) != 2:
+ print('alter_database requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.alter_database(args[0],eval(args[1]),))
+
+elif cmd == 'get_type':
+ if len(args) != 1:
+ print('get_type requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_type(args[0],))
+
+elif cmd == 'create_type':
+ if len(args) != 1:
+ print('create_type requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.create_type(eval(args[0]),))
+
+elif cmd == 'drop_type':
+ if len(args) != 1:
+ print('drop_type requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.drop_type(args[0],))
+
+elif cmd == 'get_type_all':
+ if len(args) != 1:
+ print('get_type_all requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_type_all(args[0],))
+
+elif cmd == 'get_fields':
+ if len(args) != 2:
+ print('get_fields requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_fields(args[0],args[1],))
+
+elif cmd == 'get_fields_with_environment_context':
+ if len(args) != 3:
+ print('get_fields_with_environment_context requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_fields_with_environment_context(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_schema':
+ if len(args) != 2:
+ print('get_schema requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_schema(args[0],args[1],))
+
+elif cmd == 'get_schema_with_environment_context':
+ if len(args) != 3:
+ print('get_schema_with_environment_context requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_schema_with_environment_context(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'create_table':
+ if len(args) != 1:
+ print('create_table requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.create_table(eval(args[0]),))
+
+elif cmd == 'create_table_with_environment_context':
+ if len(args) != 2:
+ print('create_table_with_environment_context requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.create_table_with_environment_context(eval(args[0]),eval(args[1]),))
+
+elif cmd == 'drop_table':
+ if len(args) != 3:
+ print('drop_table requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.drop_table(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'drop_table_with_environment_context':
+ if len(args) != 4:
+ print('drop_table_with_environment_context requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.drop_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'get_tables':
+ if len(args) != 2:
+ print('get_tables requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_tables(args[0],args[1],))
+
+elif cmd == 'get_all_tables':
+ if len(args) != 1:
+ print('get_all_tables requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_all_tables(args[0],))
+
+elif cmd == 'get_table':
+ if len(args) != 2:
+ print('get_table requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_table(args[0],args[1],))
+
+elif cmd == 'get_table_objects_by_name':
+ if len(args) != 2:
+ print('get_table_objects_by_name requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_table_objects_by_name(args[0],eval(args[1]),))
+
+elif cmd == 'get_table_names_by_filter':
+ if len(args) != 3:
+ print('get_table_names_by_filter requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_table_names_by_filter(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'alter_table':
+ if len(args) != 3:
+ print('alter_table requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.alter_table(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'alter_table_with_environment_context':
+ if len(args) != 4:
+ print('alter_table_with_environment_context requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.alter_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'alter_table_with_cascade':
+ if len(args) != 4:
+ print('alter_table_with_cascade requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.alter_table_with_cascade(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'add_partition':
+ if len(args) != 1:
+ print('add_partition requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.add_partition(eval(args[0]),))
+
+elif cmd == 'add_partition_with_environment_context':
+ if len(args) != 2:
+ print('add_partition_with_environment_context requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.add_partition_with_environment_context(eval(args[0]),eval(args[1]),))
+
+elif cmd == 'add_partitions':
+ if len(args) != 1:
+ print('add_partitions requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.add_partitions(eval(args[0]),))
+
+elif cmd == 'add_partitions_pspec':
+ if len(args) != 1:
+ print('add_partitions_pspec requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.add_partitions_pspec(eval(args[0]),))
+
+elif cmd == 'append_partition':
+ if len(args) != 3:
+ print('append_partition requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.append_partition(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'add_partitions_req':
+ if len(args) != 1:
+ print('add_partitions_req requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.add_partitions_req(eval(args[0]),))
+
+elif cmd == 'append_partition_with_environment_context':
+ if len(args) != 4:
+ print('append_partition_with_environment_context requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.append_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'append_partition_by_name':
+ if len(args) != 3:
+ print('append_partition_by_name requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.append_partition_by_name(args[0],args[1],args[2],))
+
+elif cmd == 'append_partition_by_name_with_environment_context':
+ if len(args) != 4:
+ print('append_partition_by_name_with_environment_context requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.append_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'drop_partition':
+ if len(args) != 4:
+ print('drop_partition requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.drop_partition(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'drop_partition_with_environment_context':
+ if len(args) != 5:
+ print('drop_partition_with_environment_context requires 5 args')
+ sys.exit(1)
+ pp.pprint(client.drop_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),eval(args[4]),))
+
+elif cmd == 'drop_partition_by_name':
+ if len(args) != 4:
+ print('drop_partition_by_name requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.drop_partition_by_name(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'drop_partition_by_name_with_environment_context':
+ if len(args) != 5:
+ print('drop_partition_by_name_with_environment_context requires 5 args')
+ sys.exit(1)
+ pp.pprint(client.drop_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),eval(args[4]),))
+
+elif cmd == 'drop_partitions_req':
+ if len(args) != 1:
+ print('drop_partitions_req requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.drop_partitions_req(eval(args[0]),))
+
+elif cmd == 'get_partition':
+ if len(args) != 3:
+ print('get_partition requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'exchange_partition':
+ if len(args) != 5:
+ print('exchange_partition requires 5 args')
+ sys.exit(1)
+ pp.pprint(client.exchange_partition(eval(args[0]),args[1],args[2],args[3],args[4],))
+
+elif cmd == 'get_partition_with_auth':
+ if len(args) != 5:
+ print('get_partition_with_auth requires 5 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),))
+
+elif cmd == 'get_partition_by_name':
+ if len(args) != 3:
+ print('get_partition_by_name requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition_by_name(args[0],args[1],args[2],))
+
+elif cmd == 'get_partitions':
+ if len(args) != 3:
+ print('get_partitions requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_partitions_with_auth':
+ if len(args) != 5:
+ print('get_partitions_with_auth requires 5 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),))
+
+elif cmd == 'get_partitions_pspec':
+ if len(args) != 3:
+ print('get_partitions_pspec requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_pspec(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_partition_names':
+ if len(args) != 3:
+ print('get_partition_names requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition_names(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_partitions_ps':
+ if len(args) != 4:
+ print('get_partitions_ps requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_ps(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'get_partitions_ps_with_auth':
+ if len(args) != 6:
+ print('get_partitions_ps_with_auth requires 6 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_ps_with_auth(args[0],args[1],eval(args[2]),eval(args[3]),args[4],eval(args[5]),))
+
+elif cmd == 'get_partition_names_ps':
+ if len(args) != 4:
+ print('get_partition_names_ps requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition_names_ps(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'get_partitions_by_filter':
+ if len(args) != 4:
+ print('get_partitions_by_filter requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_by_filter(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'get_part_specs_by_filter':
+ if len(args) != 4:
+ print('get_part_specs_by_filter requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.get_part_specs_by_filter(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'get_partitions_by_expr':
+ if len(args) != 1:
+ print('get_partitions_by_expr requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_by_expr(eval(args[0]),))
+
+elif cmd == 'get_partitions_by_names':
+ if len(args) != 3:
+ print('get_partitions_by_names requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_by_names(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'alter_partition':
+ if len(args) != 3:
+ print('alter_partition requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.alter_partition(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'alter_partitions':
+ if len(args) != 3:
+ print('alter_partitions requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.alter_partitions(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'alter_partition_with_environment_context':
+ if len(args) != 4:
+ print('alter_partition_with_environment_context requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.alter_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'rename_partition':
+ if len(args) != 4:
+ print('rename_partition requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.rename_partition(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'partition_name_has_valid_characters':
+ if len(args) != 2:
+ print('partition_name_has_valid_characters requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.partition_name_has_valid_characters(eval(args[0]),eval(args[1]),))
+
+elif cmd == 'get_config_value':
+ if len(args) != 2:
+ print('get_config_value requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_config_value(args[0],args[1],))
+
+elif cmd == 'partition_name_to_vals':
+ if len(args) != 1:
+ print('partition_name_to_vals requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.partition_name_to_vals(args[0],))
+
+elif cmd == 'partition_name_to_spec':
+ if len(args) != 1:
+ print('partition_name_to_spec requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.partition_name_to_spec(args[0],))
+
+elif cmd == 'markPartitionForEvent':
+ if len(args) != 4:
+ print('markPartitionForEvent requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.markPartitionForEvent(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'isPartitionMarkedForEvent':
+ if len(args) != 4:
+ print('isPartitionMarkedForEvent requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.isPartitionMarkedForEvent(args[0],args[1],eval(args[2]),eval(args[3]),))
+
+elif cmd == 'add_index':
+ if len(args) != 2:
+ print('add_index requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.add_index(eval(args[0]),eval(args[1]),))
+
+elif cmd == 'alter_index':
+ if len(args) != 4:
+ print('alter_index requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.alter_index(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'drop_index_by_name':
+ if len(args) != 4:
+ print('drop_index_by_name requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.drop_index_by_name(args[0],args[1],args[2],eval(args[3]),))
+
+elif cmd == 'get_index_by_name':
+ if len(args) != 3:
+ print('get_index_by_name requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_index_by_name(args[0],args[1],args[2],))
+
+elif cmd == 'get_indexes':
+ if len(args) != 3:
+ print('get_indexes requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_indexes(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_index_names':
+ if len(args) != 3:
+ print('get_index_names requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_index_names(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'update_table_column_statistics':
+ if len(args) != 1:
+ print('update_table_column_statistics requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.update_table_column_statistics(eval(args[0]),))
+
+elif cmd == 'update_partition_column_statistics':
+ if len(args) != 1:
+ print('update_partition_column_statistics requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.update_partition_column_statistics(eval(args[0]),))
+
+elif cmd == 'get_table_column_statistics':
+ if len(args) != 3:
+ print('get_table_column_statistics requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_table_column_statistics(args[0],args[1],args[2],))
+
+elif cmd == 'get_partition_column_statistics':
+ if len(args) != 4:
+ print('get_partition_column_statistics requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.get_partition_column_statistics(args[0],args[1],args[2],args[3],))
+
+elif cmd == 'get_table_statistics_req':
+ if len(args) != 1:
+ print('get_table_statistics_req requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_table_statistics_req(eval(args[0]),))
+
+elif cmd == 'get_partitions_statistics_req':
+ if len(args) != 1:
+ print('get_partitions_statistics_req requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_partitions_statistics_req(eval(args[0]),))
+
+elif cmd == 'get_aggr_stats_for':
+ if len(args) != 1:
+ print('get_aggr_stats_for requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_aggr_stats_for(eval(args[0]),))
+
+elif cmd == 'set_aggr_stats_for':
+ if len(args) != 1:
+ print('set_aggr_stats_for requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.set_aggr_stats_for(eval(args[0]),))
+
+elif cmd == 'delete_partition_column_statistics':
+ if len(args) != 4:
+ print('delete_partition_column_statistics requires 4 args')
+ sys.exit(1)
+ pp.pprint(client.delete_partition_column_statistics(args[0],args[1],args[2],args[3],))
+
+elif cmd == 'delete_table_column_statistics':
+ if len(args) != 3:
+ print('delete_table_column_statistics requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.delete_table_column_statistics(args[0],args[1],args[2],))
+
+elif cmd == 'create_function':
+ if len(args) != 1:
+ print('create_function requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.create_function(eval(args[0]),))
+
+elif cmd == 'drop_function':
+ if len(args) != 2:
+ print('drop_function requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.drop_function(args[0],args[1],))
+
+elif cmd == 'alter_function':
+ if len(args) != 3:
+ print('alter_function requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.alter_function(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'get_functions':
+ if len(args) != 2:
+ print('get_functions requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_functions(args[0],args[1],))
+
+elif cmd == 'get_function':
+ if len(args) != 2:
+ print('get_function requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_function(args[0],args[1],))
+
+elif cmd == 'create_role':
+ if len(args) != 1:
+ print('create_role requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.create_role(eval(args[0]),))
+
+elif cmd == 'drop_role':
+ if len(args) != 1:
+ print('drop_role requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.drop_role(args[0],))
+
+elif cmd == 'get_role_names':
+ if len(args) != 0:
+ print('get_role_names requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.get_role_names())
+
+elif cmd == 'grant_role':
+ if len(args) != 6:
+ print('grant_role requires 6 args')
+ sys.exit(1)
+ pp.pprint(client.grant_role(args[0],args[1],eval(args[2]),args[3],eval(args[4]),eval(args[5]),))
+
+elif cmd == 'revoke_role':
+ if len(args) != 3:
+ print('revoke_role requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.revoke_role(args[0],args[1],eval(args[2]),))
+
+elif cmd == 'list_roles':
+ if len(args) != 2:
+ print('list_roles requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.list_roles(args[0],eval(args[1]),))
+
+elif cmd == 'grant_revoke_role':
+ if len(args) != 1:
+ print('grant_revoke_role requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.grant_revoke_role(eval(args[0]),))
+
+elif cmd == 'get_principals_in_role':
+ if len(args) != 1:
+ print('get_principals_in_role requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_principals_in_role(eval(args[0]),))
+
+elif cmd == 'get_role_grants_for_principal':
+ if len(args) != 1:
+ print('get_role_grants_for_principal requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_role_grants_for_principal(eval(args[0]),))
+
+elif cmd == 'get_privilege_set':
+ if len(args) != 3:
+ print('get_privilege_set requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_privilege_set(eval(args[0]),args[1],eval(args[2]),))
+
+elif cmd == 'list_privileges':
+ if len(args) != 3:
+ print('list_privileges requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.list_privileges(args[0],eval(args[1]),eval(args[2]),))
+
+elif cmd == 'grant_privileges':
+ if len(args) != 1:
+ print('grant_privileges requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.grant_privileges(eval(args[0]),))
+
+elif cmd == 'revoke_privileges':
+ if len(args) != 1:
+ print('revoke_privileges requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.revoke_privileges(eval(args[0]),))
+
+elif cmd == 'grant_revoke_privileges':
+ if len(args) != 1:
+ print('grant_revoke_privileges requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.grant_revoke_privileges(eval(args[0]),))
+
+elif cmd == 'set_ugi':
+ if len(args) != 2:
+ print('set_ugi requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.set_ugi(args[0],eval(args[1]),))
+
+elif cmd == 'get_delegation_token':
+ if len(args) != 2:
+ print('get_delegation_token requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.get_delegation_token(args[0],args[1],))
+
+elif cmd == 'renew_delegation_token':
+ if len(args) != 1:
+ print('renew_delegation_token requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.renew_delegation_token(args[0],))
+
+elif cmd == 'cancel_delegation_token':
+ if len(args) != 1:
+ print('cancel_delegation_token requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.cancel_delegation_token(args[0],))
+
+elif cmd == 'get_open_txns':
+ if len(args) != 0:
+ print('get_open_txns requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.get_open_txns())
+
+elif cmd == 'get_open_txns_info':
+ if len(args) != 0:
+ print('get_open_txns_info requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.get_open_txns_info())
+
+elif cmd == 'open_txns':
+ if len(args) != 1:
+ print('open_txns requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.open_txns(eval(args[0]),))
+
+elif cmd == 'abort_txn':
+ if len(args) != 1:
+ print('abort_txn requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.abort_txn(eval(args[0]),))
+
+elif cmd == 'commit_txn':
+ if len(args) != 1:
+ print('commit_txn requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.commit_txn(eval(args[0]),))
+
+elif cmd == 'lock':
+ if len(args) != 1:
+ print('lock requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.lock(eval(args[0]),))
+
+elif cmd == 'check_lock':
+ if len(args) != 1:
+ print('check_lock requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.check_lock(eval(args[0]),))
+
+elif cmd == 'unlock':
+ if len(args) != 1:
+ print('unlock requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.unlock(eval(args[0]),))
+
+elif cmd == 'show_locks':
+ if len(args) != 1:
+ print('show_locks requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.show_locks(eval(args[0]),))
+
+elif cmd == 'heartbeat':
+ if len(args) != 1:
+ print('heartbeat requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.heartbeat(eval(args[0]),))
+
+elif cmd == 'heartbeat_txn_range':
+ if len(args) != 1:
+ print('heartbeat_txn_range requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.heartbeat_txn_range(eval(args[0]),))
+
+elif cmd == 'compact':
+ if len(args) != 1:
+ print('compact requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.compact(eval(args[0]),))
+
+elif cmd == 'show_compact':
+ if len(args) != 1:
+ print('show_compact requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.show_compact(eval(args[0]),))
+
+elif cmd == 'add_dynamic_partitions':
+ if len(args) != 1:
+ print('add_dynamic_partitions requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.add_dynamic_partitions(eval(args[0]),))
+
+elif cmd == 'get_next_notification':
+ if len(args) != 1:
+ print('get_next_notification requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.get_next_notification(eval(args[0]),))
+
+elif cmd == 'get_current_notificationEventId':
+ if len(args) != 0:
+ print('get_current_notificationEventId requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.get_current_notificationEventId())
+
+elif cmd == 'fire_listener_event':
+ if len(args) != 1:
+ print('fire_listener_event requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.fire_listener_event(eval(args[0]),))
+
+elif cmd == 'getName':
+ if len(args) != 0:
+ print('getName requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getName())
+
+elif cmd == 'getVersion':
+ if len(args) != 0:
+ print('getVersion requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getVersion())
+
+elif cmd == 'getStatus':
+ if len(args) != 0:
+ print('getStatus requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getStatus())
+
+elif cmd == 'getStatusDetails':
+ if len(args) != 0:
+ print('getStatusDetails requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getStatusDetails())
+
+elif cmd == 'getCounters':
+ if len(args) != 0:
+ print('getCounters requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getCounters())
+
+elif cmd == 'getCounter':
+ if len(args) != 1:
+ print('getCounter requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.getCounter(args[0],))
+
+elif cmd == 'setOption':
+ if len(args) != 2:
+ print('setOption requires 2 args')
+ sys.exit(1)
+ pp.pprint(client.setOption(args[0],args[1],))
+
+elif cmd == 'getOption':
+ if len(args) != 1:
+ print('getOption requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.getOption(args[0],))
+
+elif cmd == 'getOptions':
+ if len(args) != 0:
+ print('getOptions requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.getOptions())
+
+elif cmd == 'getCpuProfile':
+ if len(args) != 1:
+ print('getCpuProfile requires 1 args')
+ sys.exit(1)
+ pp.pprint(client.getCpuProfile(eval(args[0]),))
+
+elif cmd == 'aliveSince':
+ if len(args) != 0:
+ print('aliveSince requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.aliveSince())
+
+elif cmd == 'reinitialize':
+ if len(args) != 0:
+ print('reinitialize requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.reinitialize())
+
+elif cmd == 'shutdown':
+ if len(args) != 0:
+ print('shutdown requires 0 args')
+ sys.exit(1)
+ pp.pprint(client.shutdown())
+
  else:
- print 'Unrecognized method %s' % cmd
+ print('Unrecognized method %s' % cmd)
    sys.exit(1)

  transport.close()

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
index 33912f9..177531d 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -26,7 +26,7 @@ class Iface(hive_metastore.ThriftHiveMetastore.Iface):
      """
      pass

- def fetchOne(self, ):
+ def fetchOne(self):
      pass

    def fetchN(self, numRows):
@@ -36,22 +36,22 @@ class Iface(hive_metastore.ThriftHiveMetastore.Iface):
      """
      pass

- def fetchAll(self, ):
+ def fetchAll(self):
      pass

- def getSchema(self, ):
+ def getSchema(self):
      pass

- def getThriftSchema(self, ):
+ def getThriftSchema(self):
      pass

- def getClusterStatus(self, ):
+ def getClusterStatus(self):
      pass

- def getQueryPlan(self, ):
+ def getQueryPlan(self):
      pass

- def clean(self, ):
+ def clean(self):
      pass


@@ -75,41 +75,43 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_execute(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_execute(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = execute_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.ex is not None:
        raise result.ex
      return

- def fetchOne(self, ):
+ def fetchOne(self):
      self.send_fetchOne()
      return self.recv_fetchOne()

- def send_fetchOne(self, ):
+ def send_fetchOne(self):
      self._oprot.writeMessageBegin('fetchOne', TMessageType.CALL, self._seqid)
      args = fetchOne_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_fetchOne(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_fetchOne(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = fetchOne_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
@@ -132,178 +134,185 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_fetchN(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_fetchN(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = fetchN_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result");

- def fetchAll(self, ):
+ def fetchAll(self):
      self.send_fetchAll()
      return self.recv_fetchAll()

- def send_fetchAll(self, ):
+ def send_fetchAll(self):
      self._oprot.writeMessageBegin('fetchAll', TMessageType.CALL, self._seqid)
      args = fetchAll_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_fetchAll(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_fetchAll(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = fetchAll_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result");

- def getSchema(self, ):
+ def getSchema(self):
      self.send_getSchema()
      return self.recv_getSchema()

- def send_getSchema(self, ):
+ def send_getSchema(self):
      self._oprot.writeMessageBegin('getSchema', TMessageType.CALL, self._seqid)
      args = getSchema_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_getSchema(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_getSchema(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = getSchema_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result");

- def getThriftSchema(self, ):
+ def getThriftSchema(self):
      self.send_getThriftSchema()
      return self.recv_getThriftSchema()

- def send_getThriftSchema(self, ):
+ def send_getThriftSchema(self):
      self._oprot.writeMessageBegin('getThriftSchema', TMessageType.CALL, self._seqid)
      args = getThriftSchema_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_getThriftSchema(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_getThriftSchema(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = getThriftSchema_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result");

- def getClusterStatus(self, ):
+ def getClusterStatus(self):
      self.send_getClusterStatus()
      return self.recv_getClusterStatus()

- def send_getClusterStatus(self, ):
+ def send_getClusterStatus(self):
      self._oprot.writeMessageBegin('getClusterStatus', TMessageType.CALL, self._seqid)
      args = getClusterStatus_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_getClusterStatus(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_getClusterStatus(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = getClusterStatus_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result");

- def getQueryPlan(self, ):
+ def getQueryPlan(self):
      self.send_getQueryPlan()
      return self.recv_getQueryPlan()

- def send_getQueryPlan(self, ):
+ def send_getQueryPlan(self):
      self._oprot.writeMessageBegin('getQueryPlan', TMessageType.CALL, self._seqid)
      args = getQueryPlan_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_getQueryPlan(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_getQueryPlan(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = getQueryPlan_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      if result.success is not None:
        return result.success
      if result.ex is not None:
        raise result.ex
      raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result");

- def clean(self, ):
+ def clean(self):
      self.send_clean()
      self.recv_clean()

- def send_clean(self, ):
+ def send_clean(self):
      self._oprot.writeMessageBegin('clean', TMessageType.CALL, self._seqid)
      args = clean_args()
      args.write(self._oprot)
      self._oprot.writeMessageEnd()
      self._oprot.trans.flush()

- def recv_clean(self, ):
- (fname, mtype, rseqid) = self._iprot.readMessageBegin()
+ def recv_clean(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
      if mtype == TMessageType.EXCEPTION:
        x = TApplicationException()
- x.read(self._iprot)
- self._iprot.readMessageEnd()
+ x.read(iprot)
+ iprot.readMessageEnd()
        raise x
      result = clean_result()
- result.read(self._iprot)
- self._iprot.readMessageEnd()
+ result.read(iprot)
+ iprot.readMessageEnd()
      return


@@ -342,7 +351,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = execute_result()
      try:
        self._handler.execute(args.query)
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -356,7 +365,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchOne_result()
      try:
        result.success = self._handler.fetchOne()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -370,7 +379,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchN_result()
      try:
        result.success = self._handler.fetchN(args.numRows)
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -384,7 +393,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchAll_result()
      try:
        result.success = self._handler.fetchAll()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -398,7 +407,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getSchema_result()
      try:
        result.success = self._handler.getSchema()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -412,7 +421,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getThriftSchema_result()
      try:
        result.success = self._handler.getThriftSchema()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -426,7 +435,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getClusterStatus_result()
      try:
        result.success = self._handler.getClusterStatus()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -440,7 +449,7 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getQueryPlan_result()
      try:
        result.success = self._handler.getQueryPlan()
- except HiveServerException as ex:
+ except HiveServerException, ex:
        result.ex = ex
      oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid)
      result.write(oprot)
@@ -510,6 +519,11 @@ class execute_args:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.query)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -571,6 +585,11 @@ class execute_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -613,6 +632,10 @@ class fetchOne_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -685,6 +708,12 @@ class fetchOne_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -745,6 +774,11 @@ class fetchN_args:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.numRows)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -825,6 +859,12 @@ class fetchN_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -867,6 +907,10 @@ class fetchAll_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -947,6 +991,12 @@ class fetchAll_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -989,6 +1039,10 @@ class getSchema_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1062,6 +1116,12 @@ class getSchema_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1104,6 +1164,10 @@ class getThriftSchema_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1177,6 +1241,12 @@ class getThriftSchema_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1219,6 +1289,10 @@ class getClusterStatus_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1292,6 +1366,12 @@ class getClusterStatus_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1334,6 +1414,10 @@ class getQueryPlan_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1407,6 +1491,12 @@ class getQueryPlan_result:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.success)
+ value = (value * 31) ^ hash(self.ex)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1449,6 +1539,10 @@ class clean_args:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -1491,6 +1585,10 @@ class clean_result:
      return


+ def __hash__(self):
+ value = 17
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-py/hive_service/constants.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/constants.py b/service/src/gen/thrift/gen-py/hive_service/constants.py
index a236326..99717a9 100644
--- a/service/src/gen/thrift/gen-py/hive_service/constants.py
+++ b/service/src/gen/thrift/gen-py/hive_service/constants.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-py/hive_service/ttypes.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ttypes.py b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
index e5f4095..29eb916 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ttypes.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -144,6 +144,16 @@ class HiveClusterStatus:
      return


+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.taskTrackers)
+ value = (value * 31) ^ hash(self.mapTasks)
+ value = (value * 31) ^ hash(self.reduceTasks)
+ value = (value * 31) ^ hash(self.maxMapTasks)
+ value = (value * 31) ^ hash(self.maxReduceTasks)
+ value = (value * 31) ^ hash(self.state)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]
@@ -231,6 +241,13 @@ class HiveServerException(TException):
    def __str__(self):
      return repr(self)

+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ value = (value * 31) ^ hash(self.errorCode)
+ value = (value * 31) ^ hash(self.SQLState)
+ return value
+
    def __repr__(self):
      L = ['%s=%r' % (key, value)
        for key, value in self.__dict__.iteritems()]

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/hive_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_constants.rb b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
index 0f908b5..73f4d7b 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/hive_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_types.rb b/service/src/gen/thrift/gen-rb/hive_service_types.rb
index e5913bd..f97a6fb 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_types.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
index fd1ca9a..f754d7d 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
index 4b8ddae..3f72769 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
index b482533..bfb2b69 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-rb/thrift_hive.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/thrift_hive.rb b/service/src/gen/thrift/gen-rb/thrift_hive.rb
index 8da94bb..6859ceb 100644
--- a/service/src/gen/thrift/gen-rb/thrift_hive.rb
+++ b/service/src/gen/thrift/gen-rb/thrift_hive.rb
@@ -1,5 +1,5 @@
  #
-# Autogenerated by Thrift Compiler (0.9.0)
+# Autogenerated by Thrift Compiler (0.9.2)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

Search Discussions

  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    index 3dae460..024ed36 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TStringColumn._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TStringColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TStringColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringColumn");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt
         */
        public TStringColumn(TStringColumn other) {
          if (other.isSetValues()) {
    - List<String> __this__values = new ArrayList<String>();
    - for (String other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<String> __this__values = new ArrayList<String>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TStringColumn other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TStringColumn typedOther = (TStringColumn)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt
                    {
                      org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
                      struct.values = new ArrayList<String>(_list102.size);
    - for (int _i103 = 0; _i103 < _list102.size; ++_i103)
    + String _elem103;
    + for (int _i104 = 0; _i104 < _list102.size; ++_i104)
                      {
    - String _elem104; // optional
    - _elem104 = iprot.readString();
    - struct.values.add(_elem104);
    + _elem103 = iprot.readString();
    + struct.values.add(_elem103);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TSt
            {
              org.apache.thrift.protocol.TList _list107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
              struct.values = new ArrayList<String>(_list107.size);
    - for (int _i108 = 0; _i108 < _list107.size; ++_i108)
    + String _elem108;
    + for (int _i109 = 0; _i109 < _list107.size; ++_i109)
              {
    - String _elem109; // optional
    - _elem109 = iprot.readString();
    - struct.values.add(_elem109);
    + _elem108 = iprot.readString();
    + struct.values.add(_elem108);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    index af7a109..bc7f121 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStringValue._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStringValue._Fields>, java.io.Serializable, Cloneable, Comparable<TStringValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringValue");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -103,7 +107,7 @@ public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStri
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -219,30 +223,30 @@ public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStri

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TStringValue other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TStringValue typedOther = (TStringValue)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    index 20f5fb6..ad95cce 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntry, TStructTypeEntry._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntry, TStructTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TStructTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStructTypeEntry");

        private static final org.apache.thrift.protocol.TField NAME_TO_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("nameToTypePtr", org.apache.thrift.protocol.TType.MAP, (short)1);
    @@ -129,7 +133,7 @@ public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntr
         */
        public TStructTypeEntry(TStructTypeEntry other) {
          if (other.isSetNameToTypePtr()) {
    - Map<String,Integer> __this__nameToTypePtr = new HashMap<String,Integer>();
    + Map<String,Integer> __this__nameToTypePtr = new HashMap<String,Integer>(other.nameToTypePtr.size());
            for (Map.Entry<String, Integer> other_element : other.nameToTypePtr.entrySet()) {

              String other_element_key = other_element.getKey();
    @@ -250,30 +254,30 @@ public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntr

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_nameToTypePtr = true && (isSetNameToTypePtr());
    - builder.append(present_nameToTypePtr);
    + list.add(present_nameToTypePtr);
          if (present_nameToTypePtr)
    - builder.append(nameToTypePtr);
    + list.add(nameToTypePtr);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TStructTypeEntry other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TStructTypeEntry typedOther = (TStructTypeEntry)other;

    - lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(typedOther.isSetNameToTypePtr());
    + lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(other.isSetNameToTypePtr());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNameToTypePtr()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, typedOther.nameToTypePtr);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, other.nameToTypePtr);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -357,13 +361,13 @@ public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntr
                    {
                      org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
                      struct.nameToTypePtr = new HashMap<String,Integer>(2*_map10.size);
    - for (int _i11 = 0; _i11 < _map10.size; ++_i11)
    + String _key11;
    + int _val12;
    + for (int _i13 = 0; _i13 < _map10.size; ++_i13)
                      {
    - String _key12; // required
    - int _val13; // required
    - _key12 = iprot.readString();
    - _val13 = iprot.readI32();
    - struct.nameToTypePtr.put(_key12, _val13);
    + _key11 = iprot.readString();
    + _val12 = iprot.readI32();
    + struct.nameToTypePtr.put(_key11, _val12);
                      }
                      iprot.readMapEnd();
                    }
    @@ -431,13 +435,13 @@ public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntr
            {
              org.apache.thrift.protocol.TMap _map16 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I32, iprot.readI32());
              struct.nameToTypePtr = new HashMap<String,Integer>(2*_map16.size);
    - for (int _i17 = 0; _i17 < _map16.size; ++_i17)
    + String _key17;
    + int _val18;
    + for (int _i19 = 0; _i19 < _map16.size; ++_i19)
              {
    - String _key18; // required
    - int _val19; // required
    - _key18 = iprot.readString();
    - _val19 = iprot.readI32();
    - struct.nameToTypePtr.put(_key18, _val19);
    + _key17 = iprot.readString();
    + _val18 = iprot.readI32();
    + struct.nameToTypePtr.put(_key17, _val18);
              }
            }
            struct.setNameToTypePtrIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    index ff5e54d..4416a07 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTableSchema._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTableSchema._Fields>, java.io.Serializable, Cloneable, Comparable<TTableSchema> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableSchema");

        private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -128,7 +132,7 @@ public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTabl
         */
        public TTableSchema(TTableSchema other) {
          if (other.isSetColumns()) {
    - List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>();
    + List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>(other.columns.size());
            for (TColumnDesc other_element : other.columns) {
              __this__columns.add(new TColumnDesc(other_element));
            }
    @@ -245,30 +249,30 @@ public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTabl

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_columns = true && (isSetColumns());
    - builder.append(present_columns);
    + list.add(present_columns);
          if (present_columns)
    - builder.append(columns);
    + list.add(columns);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TTableSchema other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TTableSchema typedOther = (TTableSchema)other;

    - lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns());
    + lastComparison = Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetColumns()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -352,12 +356,12 @@ public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTabl
                    {
                      org.apache.thrift.protocol.TList _list38 = iprot.readListBegin();
                      struct.columns = new ArrayList<TColumnDesc>(_list38.size);
    - for (int _i39 = 0; _i39 < _list38.size; ++_i39)
    + TColumnDesc _elem39;
    + for (int _i40 = 0; _i40 < _list38.size; ++_i40)
                      {
    - TColumnDesc _elem40; // optional
    - _elem40 = new TColumnDesc();
    - _elem40.read(iprot);
    - struct.columns.add(_elem40);
    + _elem39 = new TColumnDesc();
    + _elem39.read(iprot);
    + struct.columns.add(_elem39);
                      }
                      iprot.readListEnd();
                    }
    @@ -423,12 +427,12 @@ public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTabl
            {
              org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
              struct.columns = new ArrayList<TColumnDesc>(_list43.size);
    - for (int _i44 = 0; _i44 < _list43.size; ++_i44)
    + TColumnDesc _elem44;
    + for (int _i45 = 0; _i45 < _list43.size; ++_i45)
              {
    - TColumnDesc _elem45; // optional
    - _elem45 = new TColumnDesc();
    - _elem45.read(iprot);
    - struct.columns.add(_elem45);
    + _elem44 = new TColumnDesc();
    + _elem44.read(iprot);
    + struct.columns.add(_elem44);
              }
            }
            struct.setColumnsIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    index 251f86a..a97c9aa 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeDesc> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeDesc");

        private static final org.apache.thrift.protocol.TField TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("types", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -128,7 +132,7 @@ public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._
         */
        public TTypeDesc(TTypeDesc other) {
          if (other.isSetTypes()) {
    - List<TTypeEntry> __this__types = new ArrayList<TTypeEntry>();
    + List<TTypeEntry> __this__types = new ArrayList<TTypeEntry>(other.types.size());
            for (TTypeEntry other_element : other.types) {
              __this__types.add(new TTypeEntry(other_element));
            }
    @@ -245,30 +249,30 @@ public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_types = true && (isSetTypes());
    - builder.append(present_types);
    + list.add(present_types);
          if (present_types)
    - builder.append(types);
    + list.add(types);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TTypeDesc other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TTypeDesc typedOther = (TTypeDesc)other;

    - lastComparison = Boolean.valueOf(isSetTypes()).compareTo(typedOther.isSetTypes());
    + lastComparison = Boolean.valueOf(isSetTypes()).compareTo(other.isSetTypes());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTypes()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.types, typedOther.types);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.types, other.types);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -352,12 +356,12 @@ public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._
                    {
                      org.apache.thrift.protocol.TList _list30 = iprot.readListBegin();
                      struct.types = new ArrayList<TTypeEntry>(_list30.size);
    - for (int _i31 = 0; _i31 < _list30.size; ++_i31)
    + TTypeEntry _elem31;
    + for (int _i32 = 0; _i32 < _list30.size; ++_i32)
                      {
    - TTypeEntry _elem32; // optional
    - _elem32 = new TTypeEntry();
    - _elem32.read(iprot);
    - struct.types.add(_elem32);
    + _elem31 = new TTypeEntry();
    + _elem31.read(iprot);
    + struct.types.add(_elem31);
                      }
                      iprot.readListEnd();
                    }
    @@ -423,12 +427,12 @@ public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._
            {
              org.apache.thrift.protocol.TList _list35 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
              struct.types = new ArrayList<TTypeEntry>(_list35.size);
    - for (int _i36 = 0; _i36 < _list35.size; ++_i36)
    + TTypeEntry _elem36;
    + for (int _i37 = 0; _i37 < _list35.size; ++_i37)
              {
    - TTypeEntry _elem37; // optional
    - _elem37 = new TTypeEntry();
    - _elem37.read(iprot);
    - struct.types.add(_elem37);
    + _elem36 = new TTypeEntry();
    + _elem36.read(iprot);
    + struct.types.add(_elem36);
              }
            }
            struct.setTypesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    index af7c0b4..203d3b9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TTypeEntry extends org.apache.thrift.TUnion<TTypeEntry, TTypeEntry._Fields> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeEntry");
        private static final org.apache.thrift.protocol.TField PRIMITIVE_ENTRY_FIELD_DESC = new org.apache.thrift.protocol.TField("primitiveEntry", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -291,6 +294,7 @@ public class TTypeEntry extends org.apache.thrift.TUnion<TTypeEntry, TTypeEntry.
                throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
            }
          } else {
    + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        }
    @@ -575,19 +579,19 @@ public class TTypeEntry extends org.apache.thrift.TUnion<TTypeEntry, TTypeEntry.

        @Override
        public int hashCode() {
    - HashCodeBuilder hcb = new HashCodeBuilder();
    - hcb.append(this.getClass().getName());
    + List<Object> list = new ArrayList<Object>();
    + list.add(this.getClass().getName());
          org.apache.thrift.TFieldIdEnum setField = getSetField();
          if (setField != null) {
    - hcb.append(setField.getThriftFieldId());
    + list.add(setField.getThriftFieldId());
            Object value = getFieldValue();
            if (value instanceof org.apache.thrift.TEnum) {
    - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
    + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
            } else {
    - hcb.append(value);
    + list.add(value);
            }
          }
    - return hcb.toHashCode();
    + return list.hashCode();
        }
        private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
          try {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    index 40f0589..e6f2336 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    index 8c40687..54df6dc 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TTypeQualifierValue extends org.apache.thrift.TUnion<TTypeQualifierValue, TTypeQualifierValue._Fields> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifierValue");
        private static final org.apache.thrift.protocol.TField I32_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("i32Value", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -181,6 +184,7 @@ public class TTypeQualifierValue extends org.apache.thrift.TUnion<TTypeQualifier
                throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
            }
          } else {
    + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        }
    @@ -326,19 +330,19 @@ public class TTypeQualifierValue extends org.apache.thrift.TUnion<TTypeQualifier

        @Override
        public int hashCode() {
    - HashCodeBuilder hcb = new HashCodeBuilder();
    - hcb.append(this.getClass().getName());
    + List<Object> list = new ArrayList<Object>();
    + list.add(this.getClass().getName());
          org.apache.thrift.TFieldIdEnum setField = getSetField();
          if (setField != null) {
    - hcb.append(setField.getThriftFieldId());
    + list.add(setField.getThriftFieldId());
            Object value = getFieldValue();
            if (value instanceof org.apache.thrift.TEnum) {
    - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
    + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
            } else {
    - hcb.append(value);
    + list.add(value);
            }
          }
    - return hcb.toHashCode();
    + return list.hashCode();
        }
        private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
          try {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    index 3935555..7f5b1b3 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers, TTypeQualifiers._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers, TTypeQualifiers._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeQualifiers> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifiers");

        private static final org.apache.thrift.protocol.TField QUALIFIERS_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifiers", org.apache.thrift.protocol.TType.MAP, (short)1);
    @@ -129,7 +133,7 @@ public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers,
         */
        public TTypeQualifiers(TTypeQualifiers other) {
          if (other.isSetQualifiers()) {
    - Map<String,TTypeQualifierValue> __this__qualifiers = new HashMap<String,TTypeQualifierValue>();
    + Map<String,TTypeQualifierValue> __this__qualifiers = new HashMap<String,TTypeQualifierValue>(other.qualifiers.size());
            for (Map.Entry<String, TTypeQualifierValue> other_element : other.qualifiers.entrySet()) {

              String other_element_key = other_element.getKey();
    @@ -250,30 +254,30 @@ public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_qualifiers = true && (isSetQualifiers());
    - builder.append(present_qualifiers);
    + list.add(present_qualifiers);
          if (present_qualifiers)
    - builder.append(qualifiers);
    + list.add(qualifiers);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TTypeQualifiers other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TTypeQualifiers typedOther = (TTypeQualifiers)other;

    - lastComparison = Boolean.valueOf(isSetQualifiers()).compareTo(typedOther.isSetQualifiers());
    + lastComparison = Boolean.valueOf(isSetQualifiers()).compareTo(other.isSetQualifiers());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetQualifiers()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifiers, typedOther.qualifiers);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifiers, other.qualifiers);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -357,14 +361,14 @@ public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers,
                    {
                      org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin();
                      struct.qualifiers = new HashMap<String,TTypeQualifierValue>(2*_map0.size);
    - for (int _i1 = 0; _i1 < _map0.size; ++_i1)
    + String _key1;
    + TTypeQualifierValue _val2;
    + for (int _i3 = 0; _i3 < _map0.size; ++_i3)
                      {
    - String _key2; // required
    - TTypeQualifierValue _val3; // required
    - _key2 = iprot.readString();
    - _val3 = new TTypeQualifierValue();
    - _val3.read(iprot);
    - struct.qualifiers.put(_key2, _val3);
    + _key1 = iprot.readString();
    + _val2 = new TTypeQualifierValue();
    + _val2.read(iprot);
    + struct.qualifiers.put(_key1, _val2);
                      }
                      iprot.readMapEnd();
                    }
    @@ -432,14 +436,14 @@ public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers,
            {
              org.apache.thrift.protocol.TMap _map6 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
              struct.qualifiers = new HashMap<String,TTypeQualifierValue>(2*_map6.size);
    - for (int _i7 = 0; _i7 < _map6.size; ++_i7)
    + String _key7;
    + TTypeQualifierValue _val8;
    + for (int _i9 = 0; _i9 < _map6.size; ++_i9)
              {
    - String _key8; // required
    - TTypeQualifierValue _val9; // required
    - _key8 = iprot.readString();
    - _val9 = new TTypeQualifierValue();
    - _val9.read(iprot);
    - struct.qualifiers.put(_key8, _val9);
    + _key7 = iprot.readString();
    + _val8 = new TTypeQualifierValue();
    + _val8.read(iprot);
    + struct.qualifiers.put(_key7, _val8);
              }
            }
            struct.setQualifiersIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    index 73dd45d..243b307 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry, TUnionTypeEntry._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry, TUnionTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUnionTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUnionTypeEntry");

        private static final org.apache.thrift.protocol.TField NAME_TO_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("nameToTypePtr", org.apache.thrift.protocol.TType.MAP, (short)1);
    @@ -129,7 +133,7 @@ public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry,
         */
        public TUnionTypeEntry(TUnionTypeEntry other) {
          if (other.isSetNameToTypePtr()) {
    - Map<String,Integer> __this__nameToTypePtr = new HashMap<String,Integer>();
    + Map<String,Integer> __this__nameToTypePtr = new HashMap<String,Integer>(other.nameToTypePtr.size());
            for (Map.Entry<String, Integer> other_element : other.nameToTypePtr.entrySet()) {

              String other_element_key = other_element.getKey();
    @@ -250,30 +254,30 @@ public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_nameToTypePtr = true && (isSetNameToTypePtr());
    - builder.append(present_nameToTypePtr);
    + list.add(present_nameToTypePtr);
          if (present_nameToTypePtr)
    - builder.append(nameToTypePtr);
    + list.add(nameToTypePtr);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TUnionTypeEntry other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TUnionTypeEntry typedOther = (TUnionTypeEntry)other;

    - lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(typedOther.isSetNameToTypePtr());
    + lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(other.isSetNameToTypePtr());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNameToTypePtr()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, typedOther.nameToTypePtr);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, other.nameToTypePtr);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -357,13 +361,13 @@ public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry,
                    {
                      org.apache.thrift.protocol.TMap _map20 = iprot.readMapBegin();
                      struct.nameToTypePtr = new HashMap<String,Integer>(2*_map20.size);
    - for (int _i21 = 0; _i21 < _map20.size; ++_i21)
    + String _key21;
    + int _val22;
    + for (int _i23 = 0; _i23 < _map20.size; ++_i23)
                      {
    - String _key22; // required
    - int _val23; // required
    - _key22 = iprot.readString();
    - _val23 = iprot.readI32();
    - struct.nameToTypePtr.put(_key22, _val23);
    + _key21 = iprot.readString();
    + _val22 = iprot.readI32();
    + struct.nameToTypePtr.put(_key21, _val22);
                      }
                      iprot.readMapEnd();
                    }
    @@ -431,13 +435,13 @@ public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry,
            {
              org.apache.thrift.protocol.TMap _map26 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I32, iprot.readI32());
              struct.nameToTypePtr = new HashMap<String,Integer>(2*_map26.size);
    - for (int _i27 = 0; _i27 < _map26.size; ++_i27)
    + String _key27;
    + int _val28;
    + for (int _i29 = 0; _i29 < _map26.size; ++_i29)
              {
    - String _key28; // required
    - int _val29; // required
    - _key28 = iprot.readString();
    - _val29 = iprot.readI32();
    - struct.nameToTypePtr.put(_key28, _val29);
    + _key27 = iprot.readString();
    + _val28 = iprot.readI32();
    + struct.nameToTypePtr.put(_key27, _val28);
              }
            }
            struct.setNameToTypePtrIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    index 3a111a2..107962e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TUserDefinedTypeEntry implements org.apache.thrift.TBase<TUserDefinedTypeEntry, TUserDefinedTypeEntry._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TUserDefinedTypeEntry implements org.apache.thrift.TBase<TUserDefinedTypeEntry, TUserDefinedTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUserDefinedTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUserDefinedTypeEntry");

        private static final org.apache.thrift.protocol.TField TYPE_CLASS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("typeClassName", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -225,30 +229,30 @@ public class TUserDefinedTypeEntry implements org.apache.thrift.TBase<TUserDefin

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_typeClassName = true && (isSetTypeClassName());
    - builder.append(present_typeClassName);
    + list.add(present_typeClassName);
          if (present_typeClassName)
    - builder.append(typeClassName);
    + list.add(typeClassName);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TUserDefinedTypeEntry other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TUserDefinedTypeEntry typedOther = (TUserDefinedTypeEntry)other;

    - lastComparison = Boolean.valueOf(isSetTypeClassName()).compareTo(typedOther.isSetTypeClassName());
    + lastComparison = Boolean.valueOf(isSetTypeClassName()).compareTo(other.isSetTypeClassName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTypeClassName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeClassName, typedOther.typeClassName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeClassName, other.typeClassName);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-php/TCLIService.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/TCLIService.php b/service/src/gen/thrift/gen-php/TCLIService.php
    index d246296..f5dd904 100644
    --- a/service/src/gen/thrift/gen-php/TCLIService.php
    +++ b/service/src/gen/thrift/gen-php/TCLIService.php
    @@ -1,7 +1,7 @@
      <?php
      namespace ;
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -12,28 +12,105 @@ use Thrift\Type\TMessageType;
      use Thrift\Exception\TException;
      use Thrift\Exception\TProtocolException;
      use Thrift\Protocol\TProtocol;
    +use Thrift\Protocol\TBinaryProtocolAccelerated;
      use Thrift\Exception\TApplicationException;


      interface TCLIServiceIf {
    + /**
    + * @param \TOpenSessionReq $req
    + * @return \TOpenSessionResp
    + */
        public function OpenSession(\TOpenSessionReq $req);
    + /**
    + * @param \TCloseSessionReq $req
    + * @return \TCloseSessionResp
    + */
        public function CloseSession(\TCloseSessionReq $req);
    + /**
    + * @param \TGetInfoReq $req
    + * @return \TGetInfoResp
    + */
        public function GetInfo(\TGetInfoReq $req);
    + /**
    + * @param \TExecuteStatementReq $req
    + * @return \TExecuteStatementResp
    + */
        public function ExecuteStatement(\TExecuteStatementReq $req);
    + /**
    + * @param \TGetTypeInfoReq $req
    + * @return \TGetTypeInfoResp
    + */
        public function GetTypeInfo(\TGetTypeInfoReq $req);
    + /**
    + * @param \TGetCatalogsReq $req
    + * @return \TGetCatalogsResp
    + */
        public function GetCatalogs(\TGetCatalogsReq $req);
    + /**
    + * @param \TGetSchemasReq $req
    + * @return \TGetSchemasResp
    + */
        public function GetSchemas(\TGetSchemasReq $req);
    + /**
    + * @param \TGetTablesReq $req
    + * @return \TGetTablesResp
    + */
        public function GetTables(\TGetTablesReq $req);
    + /**
    + * @param \TGetTableTypesReq $req
    + * @return \TGetTableTypesResp
    + */
        public function GetTableTypes(\TGetTableTypesReq $req);
    + /**
    + * @param \TGetColumnsReq $req
    + * @return \TGetColumnsResp
    + */
        public function GetColumns(\TGetColumnsReq $req);
    + /**
    + * @param \TGetFunctionsReq $req
    + * @return \TGetFunctionsResp
    + */
        public function GetFunctions(\TGetFunctionsReq $req);
    + /**
    + * @param \TGetOperationStatusReq $req
    + * @return \TGetOperationStatusResp
    + */
        public function GetOperationStatus(\TGetOperationStatusReq $req);
    + /**
    + * @param \TCancelOperationReq $req
    + * @return \TCancelOperationResp
    + */
        public function CancelOperation(\TCancelOperationReq $req);
    + /**
    + * @param \TCloseOperationReq $req
    + * @return \TCloseOperationResp
    + */
        public function CloseOperation(\TCloseOperationReq $req);
    + /**
    + * @param \TGetResultSetMetadataReq $req
    + * @return \TGetResultSetMetadataResp
    + */
        public function GetResultSetMetadata(\TGetResultSetMetadataReq $req);
    + /**
    + * @param \TFetchResultsReq $req
    + * @return \TFetchResultsResp
    + */
        public function FetchResults(\TFetchResultsReq $req);
    + /**
    + * @param \TGetDelegationTokenReq $req
    + * @return \TGetDelegationTokenResp
    + */
        public function GetDelegationToken(\TGetDelegationTokenReq $req);
    + /**
    + * @param \TCancelDelegationTokenReq $req
    + * @return \TCancelDelegationTokenResp
    + */
        public function CancelDelegationToken(\TCancelDelegationTokenReq $req);
    + /**
    + * @param \TRenewDelegationTokenReq $req
    + * @return \TRenewDelegationTokenResp
    + */
        public function RenewDelegationToken(\TRenewDelegationTokenReq $req);
      }

    @@ -58,7 +135,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_OpenSession_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'OpenSession', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -74,7 +151,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_OpenSession()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_OpenSession_result', $this->input_->isStrictRead());
          else
          {
    @@ -109,7 +186,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_CloseSession_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'CloseSession', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -125,7 +202,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_CloseSession()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CloseSession_result', $this->input_->isStrictRead());
          else
          {
    @@ -160,7 +237,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetInfo_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetInfo', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -176,7 +253,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetInfo()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetInfo_result', $this->input_->isStrictRead());
          else
          {
    @@ -211,7 +288,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_ExecuteStatement_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'ExecuteStatement', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -227,7 +304,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_ExecuteStatement()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_ExecuteStatement_result', $this->input_->isStrictRead());
          else
          {
    @@ -262,7 +339,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetTypeInfo_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetTypeInfo', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -278,7 +355,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetTypeInfo()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTypeInfo_result', $this->input_->isStrictRead());
          else
          {
    @@ -313,7 +390,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetCatalogs_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetCatalogs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -329,7 +406,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetCatalogs()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetCatalogs_result', $this->input_->isStrictRead());
          else
          {
    @@ -364,7 +441,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetSchemas_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetSchemas', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -380,7 +457,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetSchemas()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetSchemas_result', $this->input_->isStrictRead());
          else
          {
    @@ -415,7 +492,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetTables_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetTables', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -431,7 +508,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetTables()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTables_result', $this->input_->isStrictRead());
          else
          {
    @@ -466,7 +543,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetTableTypes_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetTableTypes', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -482,7 +559,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetTableTypes()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTableTypes_result', $this->input_->isStrictRead());
          else
          {
    @@ -517,7 +594,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetColumns_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetColumns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -533,7 +610,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetColumns()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetColumns_result', $this->input_->isStrictRead());
          else
          {
    @@ -568,7 +645,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetFunctions_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetFunctions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -584,7 +661,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetFunctions()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetFunctions_result', $this->input_->isStrictRead());
          else
          {
    @@ -619,7 +696,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetOperationStatus_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetOperationStatus', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -635,7 +712,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetOperationStatus()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetOperationStatus_result', $this->input_->isStrictRead());
          else
          {
    @@ -670,7 +747,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_CancelOperation_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'CancelOperation', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -686,7 +763,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_CancelOperation()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CancelOperation_result', $this->input_->isStrictRead());
          else
          {
    @@ -721,7 +798,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_CloseOperation_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'CloseOperation', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -737,7 +814,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_CloseOperation()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CloseOperation_result', $this->input_->isStrictRead());
          else
          {
    @@ -772,7 +849,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetResultSetMetadata_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetResultSetMetadata', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -788,7 +865,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetResultSetMetadata()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetResultSetMetadata_result', $this->input_->isStrictRead());
          else
          {
    @@ -823,7 +900,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_FetchResults_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'FetchResults', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -839,7 +916,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_FetchResults()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_FetchResults_result', $this->input_->isStrictRead());
          else
          {
    @@ -874,7 +951,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_GetDelegationToken_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'GetDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -890,7 +967,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_GetDelegationToken()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetDelegationToken_result', $this->input_->isStrictRead());
          else
          {
    @@ -925,7 +1002,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_CancelDelegationToken_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'CancelDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -941,7 +1018,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_CancelDelegationToken()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CancelDelegationToken_result', $this->input_->isStrictRead());
          else
          {
    @@ -976,7 +1053,7 @@ class TCLIServiceClient implements \TCLIServiceIf {
        {
          $args = new \TCLIService_RenewDelegationToken_args();
          $args->req = $req;
    - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary');
    + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
          if ($bin_accel)
          {
            thrift_protocol_write_binary($this->output_, 'RenewDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    @@ -992,7 +1069,7 @@ class TCLIServiceClient implements \TCLIServiceIf {

        public function recv_RenewDelegationToken()
        {
    - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary');
    + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
          if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_RenewDelegationToken_result', $this->input_->isStrictRead());
          else
          {
    @@ -1024,6 +1101,9 @@ class TCLIServiceClient implements \TCLIServiceIf {
      class TCLIService_OpenSession_args {
        static $_TSPEC;

    + /**
    + * @var \TOpenSessionReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1101,6 +1181,9 @@ class TCLIService_OpenSession_args {
      class TCLIService_OpenSession_result {
        static $_TSPEC;

    + /**
    + * @var \TOpenSessionResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1178,6 +1261,9 @@ class TCLIService_OpenSession_result {
      class TCLIService_CloseSession_args {
        static $_TSPEC;

    + /**
    + * @var \TCloseSessionReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1255,6 +1341,9 @@ class TCLIService_CloseSession_args {
      class TCLIService_CloseSession_result {
        static $_TSPEC;

    + /**
    + * @var \TCloseSessionResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1332,6 +1421,9 @@ class TCLIService_CloseSession_result {
      class TCLIService_GetInfo_args {
        static $_TSPEC;

    + /**
    + * @var \TGetInfoReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1409,6 +1501,9 @@ class TCLIService_GetInfo_args {
      class TCLIService_GetInfo_result {
        static $_TSPEC;

    + /**
    + * @var \TGetInfoResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1486,6 +1581,9 @@ class TCLIService_GetInfo_result {
      class TCLIService_ExecuteStatement_args {
        static $_TSPEC;

    + /**
    + * @var \TExecuteStatementReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1563,6 +1661,9 @@ class TCLIService_ExecuteStatement_args {
      class TCLIService_ExecuteStatement_result {
        static $_TSPEC;

    + /**
    + * @var \TExecuteStatementResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1640,6 +1741,9 @@ class TCLIService_ExecuteStatement_result {
      class TCLIService_GetTypeInfo_args {
        static $_TSPEC;

    + /**
    + * @var \TGetTypeInfoReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1717,6 +1821,9 @@ class TCLIService_GetTypeInfo_args {
      class TCLIService_GetTypeInfo_result {
        static $_TSPEC;

    + /**
    + * @var \TGetTypeInfoResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1794,6 +1901,9 @@ class TCLIService_GetTypeInfo_result {
      class TCLIService_GetCatalogs_args {
        static $_TSPEC;

    + /**
    + * @var \TGetCatalogsReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -1871,6 +1981,9 @@ class TCLIService_GetCatalogs_args {
      class TCLIService_GetCatalogs_result {
        static $_TSPEC;

    + /**
    + * @var \TGetCatalogsResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -1948,6 +2061,9 @@ class TCLIService_GetCatalogs_result {
      class TCLIService_GetSchemas_args {
        static $_TSPEC;

    + /**
    + * @var \TGetSchemasReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2025,6 +2141,9 @@ class TCLIService_GetSchemas_args {
      class TCLIService_GetSchemas_result {
        static $_TSPEC;

    + /**
    + * @var \TGetSchemasResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2102,6 +2221,9 @@ class TCLIService_GetSchemas_result {
      class TCLIService_GetTables_args {
        static $_TSPEC;

    + /**
    + * @var \TGetTablesReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2179,6 +2301,9 @@ class TCLIService_GetTables_args {
      class TCLIService_GetTables_result {
        static $_TSPEC;

    + /**
    + * @var \TGetTablesResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2256,6 +2381,9 @@ class TCLIService_GetTables_result {
      class TCLIService_GetTableTypes_args {
        static $_TSPEC;

    + /**
    + * @var \TGetTableTypesReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2333,6 +2461,9 @@ class TCLIService_GetTableTypes_args {
      class TCLIService_GetTableTypes_result {
        static $_TSPEC;

    + /**
    + * @var \TGetTableTypesResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2410,6 +2541,9 @@ class TCLIService_GetTableTypes_result {
      class TCLIService_GetColumns_args {
        static $_TSPEC;

    + /**
    + * @var \TGetColumnsReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2487,6 +2621,9 @@ class TCLIService_GetColumns_args {
      class TCLIService_GetColumns_result {
        static $_TSPEC;

    + /**
    + * @var \TGetColumnsResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2564,6 +2701,9 @@ class TCLIService_GetColumns_result {
      class TCLIService_GetFunctions_args {
        static $_TSPEC;

    + /**
    + * @var \TGetFunctionsReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2641,6 +2781,9 @@ class TCLIService_GetFunctions_args {
      class TCLIService_GetFunctions_result {
        static $_TSPEC;

    + /**
    + * @var \TGetFunctionsResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2718,6 +2861,9 @@ class TCLIService_GetFunctions_result {
      class TCLIService_GetOperationStatus_args {
        static $_TSPEC;

    + /**
    + * @var \TGetOperationStatusReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2795,6 +2941,9 @@ class TCLIService_GetOperationStatus_args {
      class TCLIService_GetOperationStatus_result {
        static $_TSPEC;

    + /**
    + * @var \TGetOperationStatusResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -2872,6 +3021,9 @@ class TCLIService_GetOperationStatus_result {
      class TCLIService_CancelOperation_args {
        static $_TSPEC;

    + /**
    + * @var \TCancelOperationReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -2949,6 +3101,9 @@ class TCLIService_CancelOperation_args {
      class TCLIService_CancelOperation_result {
        static $_TSPEC;

    + /**
    + * @var \TCancelOperationResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3026,6 +3181,9 @@ class TCLIService_CancelOperation_result {
      class TCLIService_CloseOperation_args {
        static $_TSPEC;

    + /**
    + * @var \TCloseOperationReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3103,6 +3261,9 @@ class TCLIService_CloseOperation_args {
      class TCLIService_CloseOperation_result {
        static $_TSPEC;

    + /**
    + * @var \TCloseOperationResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3180,6 +3341,9 @@ class TCLIService_CloseOperation_result {
      class TCLIService_GetResultSetMetadata_args {
        static $_TSPEC;

    + /**
    + * @var \TGetResultSetMetadataReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3257,6 +3421,9 @@ class TCLIService_GetResultSetMetadata_args {
      class TCLIService_GetResultSetMetadata_result {
        static $_TSPEC;

    + /**
    + * @var \TGetResultSetMetadataResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3334,6 +3501,9 @@ class TCLIService_GetResultSetMetadata_result {
      class TCLIService_FetchResults_args {
        static $_TSPEC;

    + /**
    + * @var \TFetchResultsReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3411,6 +3581,9 @@ class TCLIService_FetchResults_args {
      class TCLIService_FetchResults_result {
        static $_TSPEC;

    + /**
    + * @var \TFetchResultsResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3488,6 +3661,9 @@ class TCLIService_FetchResults_result {
      class TCLIService_GetDelegationToken_args {
        static $_TSPEC;

    + /**
    + * @var \TGetDelegationTokenReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3565,6 +3741,9 @@ class TCLIService_GetDelegationToken_args {
      class TCLIService_GetDelegationToken_result {
        static $_TSPEC;

    + /**
    + * @var \TGetDelegationTokenResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3642,6 +3821,9 @@ class TCLIService_GetDelegationToken_result {
      class TCLIService_CancelDelegationToken_args {
        static $_TSPEC;

    + /**
    + * @var \TCancelDelegationTokenReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3719,6 +3901,9 @@ class TCLIService_CancelDelegationToken_args {
      class TCLIService_CancelDelegationToken_result {
        static $_TSPEC;

    + /**
    + * @var \TCancelDelegationTokenResp
    + */
        public $success = null;

        public function __construct($vals=null) {
    @@ -3796,6 +3981,9 @@ class TCLIService_CancelDelegationToken_result {
      class TCLIService_RenewDelegationToken_args {
        static $_TSPEC;

    + /**
    + * @var \TRenewDelegationTokenReq
    + */
        public $req = null;

        public function __construct($vals=null) {
    @@ -3873,6 +4061,9 @@ class TCLIService_RenewDelegationToken_args {
      class TCLIService_RenewDelegationToken_result {
        static $_TSPEC;

    + /**
    + * @var \TRenewDelegationTokenResp
    + */
        public $success = null;

        public function __construct($vals=null) {
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    index c2aadaa..babe3cd 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, TGetSchemasReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, TGetSchemasReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -113,7 +117,7 @@ public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, T
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME};
    + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -338,60 +342,60 @@ public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, T

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_catalogName = true && (isSetCatalogName());
    - builder.append(present_catalogName);
    + list.add(present_catalogName);
          if (present_catalogName)
    - builder.append(catalogName);
    + list.add(catalogName);

          boolean present_schemaName = true && (isSetSchemaName());
    - builder.append(present_schemaName);
    + list.add(present_schemaName);
          if (present_schemaName)
    - builder.append(schemaName);
    + list.add(schemaName);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetSchemasReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetSchemasReq typedOther = (TGetSchemasReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName());
    + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetCatalogName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName());
    + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSchemaName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    index ac1ea3e..68b5d78 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp, TGetSchemasResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp, TGetSchemasResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp,
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetSchemasResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetSchemasResp typedOther = (TGetSchemasResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    index 6f2c713..57ed257 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTableTypesReq implements org.apache.thrift.TBase<TGetTableTypesReq, TGetTableTypesReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTableTypesReq implements org.apache.thrift.TBase<TGetTableTypesReq, TGetTableTypesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TGetTableTypesReq implements org.apache.thrift.TBase<TGetTableTypes

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTableTypesReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTableTypesReq typedOther = (TGetTableTypesReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    index 6f33fbc..0baeb80 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableTypesResp, TGetTableTypesResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableTypesResp, TGetTableTypesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableType
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableType

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTableTypesResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTableTypesResp typedOther = (TGetTableTypesResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    index c973fcc..ed8cf35 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGetTablesReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGetTablesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -123,7 +127,7 @@ public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGe
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.TABLE_TYPES};
    + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.TABLE_TYPES};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -169,10 +173,7 @@ public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGe
            this.tableName = other.tableName;
          }
          if (other.isSetTableTypes()) {
    - List<String> __this__tableTypes = new ArrayList<String>();
    - for (String other_element : other.tableTypes) {
    - __this__tableTypes.add(other_element);
    - }
    + List<String> __this__tableTypes = new ArrayList<String>(other.tableTypes);
            this.tableTypes = __this__tableTypes;
          }
        }
    @@ -470,90 +471,90 @@ public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGe

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_catalogName = true && (isSetCatalogName());
    - builder.append(present_catalogName);
    + list.add(present_catalogName);
          if (present_catalogName)
    - builder.append(catalogName);
    + list.add(catalogName);

          boolean present_schemaName = true && (isSetSchemaName());
    - builder.append(present_schemaName);
    + list.add(present_schemaName);
          if (present_schemaName)
    - builder.append(schemaName);
    + list.add(schemaName);

          boolean present_tableName = true && (isSetTableName());
    - builder.append(present_tableName);
    + list.add(present_tableName);
          if (present_tableName)
    - builder.append(tableName);
    + list.add(tableName);

          boolean present_tableTypes = true && (isSetTableTypes());
    - builder.append(present_tableTypes);
    + list.add(present_tableTypes);
          if (present_tableTypes)
    - builder.append(tableTypes);
    + list.add(tableTypes);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTablesReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTablesReq typedOther = (TGetTablesReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName());
    + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetCatalogName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName());
    + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSchemaName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
    + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTableName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetTableTypes()).compareTo(typedOther.isSetTableTypes());
    + lastComparison = Boolean.valueOf(isSetTableTypes()).compareTo(other.isSetTableTypes());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTableTypes()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableTypes, typedOther.tableTypes);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableTypes, other.tableTypes);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -713,11 +714,11 @@ public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGe
                    {
                      org.apache.thrift.protocol.TList _list172 = iprot.readListBegin();
                      struct.tableTypes = new ArrayList<String>(_list172.size);
    - for (int _i173 = 0; _i173 < _list172.size; ++_i173)
    + String _elem173;
    + for (int _i174 = 0; _i174 < _list172.size; ++_i174)
                      {
    - String _elem174; // optional
    - _elem174 = iprot.readString();
    - struct.tableTypes.add(_elem174);
    + _elem173 = iprot.readString();
    + struct.tableTypes.add(_elem173);
                      }
                      iprot.readListEnd();
                    }
    @@ -854,11 +855,11 @@ public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGe
              {
                org.apache.thrift.protocol.TList _list177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                struct.tableTypes = new ArrayList<String>(_list177.size);
    - for (int _i178 = 0; _i178 < _list177.size; ++_i178)
    + String _elem178;
    + for (int _i179 = 0; _i179 < _list177.size; ++_i179)
                {
    - String _elem179; // optional
    - _elem179 = iprot.readString();
    - struct.tableTypes.add(_elem179);
    + _elem178 = iprot.readString();
    + struct.tableTypes.add(_elem178);
                }
              }
              struct.setTableTypesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    index d526f44..c61bfb1 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, TGetTablesResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, TGetTablesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, T
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, T

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTablesResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTablesResp typedOther = (TGetTablesResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    index d40115e..aef8909 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTypeInfoReq implements org.apache.thrift.TBase<TGetTypeInfoReq, TGetTypeInfoReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTypeInfoReq implements org.apache.thrift.TBase<TGetTypeInfoReq, TGetTypeInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TGetTypeInfoReq implements org.apache.thrift.TBase<TGetTypeInfoReq,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTypeInfoReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTypeInfoReq typedOther = (TGetTypeInfoReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    index 59be1a3..2221002 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoResp, TGetTypeInfoResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoResp, TGetTypeInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoRes
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoRes

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetTypeInfoResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetTypeInfoResp typedOther = (TGetTypeInfoResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    index 368273c..f6a81f9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentifier, THandleIdentifier._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentifier, THandleIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<THandleIdentifier> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THandleIdentifier");

        private static final org.apache.thrift.protocol.TField GUID_FIELD_DESC = new org.apache.thrift.protocol.TField("guid", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -127,8 +131,8 @@ public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentif
          ByteBuffer secret)
        {
          this();
    - this.guid = guid;
    - this.secret = secret;
    + this.guid = org.apache.thrift.TBaseHelper.copyBinary(guid);
    + this.secret = org.apache.thrift.TBaseHelper.copyBinary(secret);
        }

        /**
    @@ -137,11 +141,9 @@ public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentif
        public THandleIdentifier(THandleIdentifier other) {
          if (other.isSetGuid()) {
            this.guid = org.apache.thrift.TBaseHelper.copyBinary(other.guid);
    -;
          }
          if (other.isSetSecret()) {
            this.secret = org.apache.thrift.TBaseHelper.copyBinary(other.secret);
    -;
          }
        }

    @@ -161,15 +163,15 @@ public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentif
        }

        public ByteBuffer bufferForGuid() {
    - return guid;
    + return org.apache.thrift.TBaseHelper.copyBinary(guid);
        }

        public void setGuid(byte[] guid) {
    - setGuid(guid == null ? (ByteBuffer)null : ByteBuffer.wrap(guid));
    + this.guid = guid == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(guid, guid.length));
        }

        public void setGuid(ByteBuffer guid) {
    - this.guid = guid;
    + this.guid = org.apache.thrift.TBaseHelper.copyBinary(guid);
        }

        public void unsetGuid() {
    @@ -193,15 +195,15 @@ public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentif
        }

        public ByteBuffer bufferForSecret() {
    - return secret;
    + return org.apache.thrift.TBaseHelper.copyBinary(secret);
        }

        public void setSecret(byte[] secret) {
    - setSecret(secret == null ? (ByteBuffer)null : ByteBuffer.wrap(secret));
    + this.secret = secret == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(secret, secret.length));
        }

        public void setSecret(ByteBuffer secret) {
    - this.secret = secret;
    + this.secret = org.apache.thrift.TBaseHelper.copyBinary(secret);
        }

        public void unsetSecret() {
    @@ -303,45 +305,45 @@ public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentif

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_guid = true && (isSetGuid());
    - builder.append(present_guid);
    + list.add(present_guid);
          if (present_guid)
    - builder.append(guid);
    + list.add(guid);

          boolean present_secret = true && (isSetSecret());
    - builder.append(present_secret);
    + list.add(present_secret);
          if (present_secret)
    - builder.append(secret);
    + list.add(secret);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(THandleIdentifier other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - THandleIdentifier typedOther = (THandleIdentifier)other;

    - lastComparison = Boolean.valueOf(isSetGuid()).compareTo(typedOther.isSetGuid());
    + lastComparison = Boolean.valueOf(isSetGuid()).compareTo(other.isSetGuid());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetGuid()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.guid, typedOther.guid);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.guid, other.guid);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSecret()).compareTo(typedOther.isSetSecret());
    + lastComparison = Boolean.valueOf(isSetSecret()).compareTo(other.isSetSecret());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSecret()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secret, typedOther.secret);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secret, other.secret);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    index c836630..c23a619 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Column._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Column");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum
         */
        public TI16Column(TI16Column other) {
          if (other.isSetValues()) {
    - List<Short> __this__values = new ArrayList<Short>();
    - for (Short other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Short> __this__values = new ArrayList<Short>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI16Column other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI16Column typedOther = (TI16Column)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum
                    {
                      org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
                      struct.values = new ArrayList<Short>(_list70.size);
    - for (int _i71 = 0; _i71 < _list70.size; ++_i71)
    + short _elem71;
    + for (int _i72 = 0; _i72 < _list70.size; ++_i72)
                      {
    - short _elem72; // optional
    - _elem72 = iprot.readI16();
    - struct.values.add(_elem72);
    + _elem71 = iprot.readI16();
    + struct.values.add(_elem71);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Colum
            {
              org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I16, iprot.readI32());
              struct.values = new ArrayList<Short>(_list75.size);
    - for (int _i76 = 0; _i76 < _list75.size; ++_i76)
    + short _elem76;
    + for (int _i77 = 0; _i77 < _list75.size; ++_i77)
              {
    - short _elem77; // optional
    - _elem77 = iprot.readI16();
    - struct.values.add(_elem77);
    + _elem76 = iprot.readI16();
    + struct.values.add(_elem76);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    index bb5ae96..c8c262f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Value");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I16, (short)1);
    @@ -105,7 +109,7 @@ public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI16Value other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI16Value typedOther = (TI16Value)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    index 6c6c5f3..90e2136 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Column._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Column");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum
         */
        public TI32Column(TI32Column other) {
          if (other.isSetValues()) {
    - List<Integer> __this__values = new ArrayList<Integer>();
    - for (Integer other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Integer> __this__values = new ArrayList<Integer>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI32Column other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI32Column typedOther = (TI32Column)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum
                    {
                      org.apache.thrift.protocol.TList _list78 = iprot.readListBegin();
                      struct.values = new ArrayList<Integer>(_list78.size);
    - for (int _i79 = 0; _i79 < _list78.size; ++_i79)
    + int _elem79;
    + for (int _i80 = 0; _i80 < _list78.size; ++_i80)
                      {
    - int _elem80; // optional
    - _elem80 = iprot.readI32();
    - struct.values.add(_elem80);
    + _elem79 = iprot.readI32();
    + struct.values.add(_elem79);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Colum
            {
              org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
              struct.values = new ArrayList<Integer>(_list83.size);
    - for (int _i84 = 0; _i84 < _list83.size; ++_i84)
    + int _elem84;
    + for (int _i85 = 0; _i85 < _list83.size; ++_i85)
              {
    - int _elem85; // optional
    - _elem85 = iprot.readI32();
    - struct.values.add(_elem85);
    + _elem84 = iprot.readI32();
    + struct.values.add(_elem84);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    index 059408b..02ffc1b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Value");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -105,7 +109,7 @@ public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI32Value other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI32Value typedOther = (TI32Value)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    index cc383ed..7628942 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Column._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Column> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Column");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum
         */
        public TI64Column(TI64Column other) {
          if (other.isSetValues()) {
    - List<Long> __this__values = new ArrayList<Long>();
    - for (Long other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Long> __this__values = new ArrayList<Long>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI64Column other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI64Column typedOther = (TI64Column)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum
                    {
                      org.apache.thrift.protocol.TList _list86 = iprot.readListBegin();
                      struct.values = new ArrayList<Long>(_list86.size);
    - for (int _i87 = 0; _i87 < _list86.size; ++_i87)
    + long _elem87;
    + for (int _i88 = 0; _i88 < _list86.size; ++_i88)
                      {
    - long _elem88; // optional
    - _elem88 = iprot.readI64();
    - struct.values.add(_elem88);
    + _elem87 = iprot.readI64();
    + struct.values.add(_elem87);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Colum
            {
              org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
              struct.values = new ArrayList<Long>(_list91.size);
    - for (int _i92 = 0; _i92 < _list91.size; ++_i92)
    + long _elem92;
    + for (int _i93 = 0; _i93 < _list91.size; ++_i93)
              {
    - long _elem93; // optional
    - _elem93 = iprot.readI64();
    - struct.values.add(_elem93);
    + _elem92 = iprot.readI64();
    + struct.values.add(_elem92);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    index 9a941cc..7fd8c23 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Value> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Value");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I64, (short)1);
    @@ -105,7 +109,7 @@ public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TI64Value other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TI64Value typedOther = (TI64Value)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    index 425603c..3361982 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMapTypeEntry._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMapTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TMapTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMapTypeEntry");

        private static final org.apache.thrift.protocol.TField KEY_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("keyTypePtr", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -285,45 +289,45 @@ public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMa

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_keyTypePtr = true;
    - builder.append(present_keyTypePtr);
    + list.add(present_keyTypePtr);
          if (present_keyTypePtr)
    - builder.append(keyTypePtr);
    + list.add(keyTypePtr);

          boolean present_valueTypePtr = true;
    - builder.append(present_valueTypePtr);
    + list.add(present_valueTypePtr);
          if (present_valueTypePtr)
    - builder.append(valueTypePtr);
    + list.add(valueTypePtr);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TMapTypeEntry other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TMapTypeEntry typedOther = (TMapTypeEntry)other;

    - lastComparison = Boolean.valueOf(isSetKeyTypePtr()).compareTo(typedOther.isSetKeyTypePtr());
    + lastComparison = Boolean.valueOf(isSetKeyTypePtr()).compareTo(other.isSetKeyTypePtr());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetKeyTypePtr()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyTypePtr, typedOther.keyTypePtr);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyTypePtr, other.keyTypePtr);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetValueTypePtr()).compareTo(typedOther.isSetValueTypePtr());
    + lastComparison = Boolean.valueOf(isSetValueTypePtr()).compareTo(other.isSetValueTypePtr());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValueTypePtr()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.valueTypePtr, typedOther.valueTypePtr);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.valueTypePtr, other.valueTypePtr);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    index c048161..ff5d48b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq, TOpenSessionReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq, TOpenSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionReq");

        private static final org.apache.thrift.protocol.TField CLIENT_PROTOCOL_FIELD_DESC = new org.apache.thrift.protocol.TField("client_protocol", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -122,7 +126,7 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.USERNAME,_Fields.PASSWORD,_Fields.CONFIGURATION};
    + private static final _Fields optionals[] = {_Fields.USERNAME,_Fields.PASSWORD,_Fields.CONFIGURATION};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -166,18 +170,7 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
            this.password = other.password;
          }
          if (other.isSetConfiguration()) {
    - Map<String,String> __this__configuration = new HashMap<String,String>();
    - for (Map.Entry<String, String> other_element : other.configuration.entrySet()) {
    -
    - String other_element_key = other_element.getKey();
    - String other_element_value = other_element.getValue();
    -
    - String __this__configuration_copy_key = other_element_key;
    -
    - String __this__configuration_copy_value = other_element_value;
    -
    - __this__configuration.put(__this__configuration_copy_key, __this__configuration_copy_value);
    - }
    + Map<String,String> __this__configuration = new HashMap<String,String>(other.configuration);
            this.configuration = __this__configuration;
          }
        }
    @@ -434,75 +427,75 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_client_protocol = true && (isSetClient_protocol());
    - builder.append(present_client_protocol);
    + list.add(present_client_protocol);
          if (present_client_protocol)
    - builder.append(client_protocol.getValue());
    + list.add(client_protocol.getValue());

          boolean present_username = true && (isSetUsername());
    - builder.append(present_username);
    + list.add(present_username);
          if (present_username)
    - builder.append(username);
    + list.add(username);

          boolean present_password = true && (isSetPassword());
    - builder.append(present_password);
    + list.add(present_password);
          if (present_password)
    - builder.append(password);
    + list.add(password);

          boolean present_configuration = true && (isSetConfiguration());
    - builder.append(present_configuration);
    + list.add(present_configuration);
          if (present_configuration)
    - builder.append(configuration);
    + list.add(configuration);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TOpenSessionReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TOpenSessionReq typedOther = (TOpenSessionReq)other;

    - lastComparison = Boolean.valueOf(isSetClient_protocol()).compareTo(typedOther.isSetClient_protocol());
    + lastComparison = Boolean.valueOf(isSetClient_protocol()).compareTo(other.isSetClient_protocol());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetClient_protocol()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.client_protocol, typedOther.client_protocol);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.client_protocol, other.client_protocol);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetUsername()).compareTo(typedOther.isSetUsername());
    + lastComparison = Boolean.valueOf(isSetUsername()).compareTo(other.isSetUsername());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetUsername()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, typedOther.username);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, other.username);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetPassword()).compareTo(typedOther.isSetPassword());
    + lastComparison = Boolean.valueOf(isSetPassword()).compareTo(other.isSetPassword());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetPassword()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, typedOther.password);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, other.password);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(typedOther.isSetConfiguration());
    + lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetConfiguration()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, typedOther.configuration);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -613,7 +606,7 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
              switch (schemeField.id) {
                case 1: // CLIENT_PROTOCOL
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.client_protocol = TProtocolVersion.findByValue(iprot.readI32());
    + struct.client_protocol = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32());
                    struct.setClient_protocolIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -640,13 +633,13 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
                    {
                      org.apache.thrift.protocol.TMap _map142 = iprot.readMapBegin();
                      struct.configuration = new HashMap<String,String>(2*_map142.size);
    - for (int _i143 = 0; _i143 < _map142.size; ++_i143)
    + String _key143;
    + String _val144;
    + for (int _i145 = 0; _i145 < _map142.size; ++_i145)
                      {
    - String _key144; // required
    - String _val145; // required
    - _key144 = iprot.readString();
    - _val145 = iprot.readString();
    - struct.configuration.put(_key144, _val145);
    + _key143 = iprot.readString();
    + _val144 = iprot.readString();
    + struct.configuration.put(_key143, _val144);
                      }
                      iprot.readMapEnd();
                    }
    @@ -752,7 +745,7 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
          @Override
          public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq struct) throws org.apache.thrift.TException {
            TTupleProtocol iprot = (TTupleProtocol) prot;
    - struct.client_protocol = TProtocolVersion.findByValue(iprot.readI32());
    + struct.client_protocol = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32());
            struct.setClient_protocolIsSet(true);
            BitSet incoming = iprot.readBitSet(3);
            if (incoming.get(0)) {
    @@ -767,13 +760,13 @@ public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq,
              {
                org.apache.thrift.protocol.TMap _map148 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                struct.configuration = new HashMap<String,String>(2*_map148.size);
    - for (int _i149 = 0; _i149 < _map148.size; ++_i149)
    + String _key149;
    + String _val150;
    + for (int _i151 = 0; _i151 < _map148.size; ++_i151)
                {
    - String _key150; // required
    - String _val151; // required
    - _key150 = iprot.readString();
    - _val151 = iprot.readString();
    - struct.configuration.put(_key150, _val151);
    + _key149 = iprot.readString();
    + _val150 = iprot.readString();
    + struct.configuration.put(_key149, _val150);
                }
              }
              struct.setConfigurationIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    index 351f78b..6753b63 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionResp, TOpenSessionResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionResp, TOpenSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -122,7 +126,7 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.SESSION_HANDLE,_Fields.CONFIGURATION};
    + private static final _Fields optionals[] = {_Fields.SESSION_HANDLE,_Fields.CONFIGURATION};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -168,18 +172,7 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
            this.sessionHandle = new TSessionHandle(other.sessionHandle);
          }
          if (other.isSetConfiguration()) {
    - Map<String,String> __this__configuration = new HashMap<String,String>();
    - for (Map.Entry<String, String> other_element : other.configuration.entrySet()) {
    -
    - String other_element_key = other_element.getKey();
    - String other_element_value = other_element.getValue();
    -
    - String __this__configuration_copy_key = other_element_key;
    -
    - String __this__configuration_copy_value = other_element_value;
    -
    - __this__configuration.put(__this__configuration_copy_key, __this__configuration_copy_value);
    - }
    + Map<String,String> __this__configuration = new HashMap<String,String>(other.configuration);
            this.configuration = __this__configuration;
          }
        }
    @@ -436,75 +429,75 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_serverProtocolVersion = true && (isSetServerProtocolVersion());
    - builder.append(present_serverProtocolVersion);
    + list.add(present_serverProtocolVersion);
          if (present_serverProtocolVersion)
    - builder.append(serverProtocolVersion.getValue());
    + list.add(serverProtocolVersion.getValue());

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_configuration = true && (isSetConfiguration());
    - builder.append(present_configuration);
    + list.add(present_configuration);
          if (present_configuration)
    - builder.append(configuration);
    + list.add(configuration);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TOpenSessionResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TOpenSessionResp typedOther = (TOpenSessionResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetServerProtocolVersion()).compareTo(typedOther.isSetServerProtocolVersion());
    + lastComparison = Boolean.valueOf(isSetServerProtocolVersion()).compareTo(other.isSetServerProtocolVersion());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetServerProtocolVersion()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverProtocolVersion, typedOther.serverProtocolVersion);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverProtocolVersion, other.serverProtocolVersion);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(typedOther.isSetConfiguration());
    + lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetConfiguration()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, typedOther.configuration);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -632,7 +625,7 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
                  break;
                case 2: // SERVER_PROTOCOL_VERSION
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.serverProtocolVersion = TProtocolVersion.findByValue(iprot.readI32());
    + struct.serverProtocolVersion = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32());
                    struct.setServerProtocolVersionIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -652,13 +645,13 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
                    {
                      org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin();
                      struct.configuration = new HashMap<String,String>(2*_map152.size);
    - for (int _i153 = 0; _i153 < _map152.size; ++_i153)
    + String _key153;
    + String _val154;
    + for (int _i155 = 0; _i155 < _map152.size; ++_i155)
                      {
    - String _key154; // required
    - String _val155; // required
    - _key154 = iprot.readString();
    - _val155 = iprot.readString();
    - struct.configuration.put(_key154, _val155);
    + _key153 = iprot.readString();
    + _val154 = iprot.readString();
    + struct.configuration.put(_key153, _val154);
                      }
                      iprot.readMapEnd();
                    }
    @@ -760,7 +753,7 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
            struct.status = new TStatus();
            struct.status.read(iprot);
            struct.setStatusIsSet(true);
    - struct.serverProtocolVersion = TProtocolVersion.findByValue(iprot.readI32());
    + struct.serverProtocolVersion = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32());
            struct.setServerProtocolVersionIsSet(true);
            BitSet incoming = iprot.readBitSet(2);
            if (incoming.get(0)) {
    @@ -772,13 +765,13 @@ public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionRes
              {
                org.apache.thrift.protocol.TMap _map158 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                struct.configuration = new HashMap<String,String>(2*_map158.size);
    - for (int _i159 = 0; _i159 < _map158.size; ++_i159)
    + String _key159;
    + String _val160;
    + for (int _i161 = 0; _i161 < _map158.size; ++_i161)
                {
    - String _key160; // required
    - String _val161; // required
    - _key160 = iprot.readString();
    - _val161 = iprot.readString();
    - struct.configuration.put(_key160, _val161);
    + _key159 = iprot.readString();
    + _val160 = iprot.readString();
    + struct.configuration.put(_key159, _val160);
                }
              }
              struct.setConfigurationIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    index 8fbd875..effc801 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandle, TOperationHandle._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandle, TOperationHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TOperationHandle> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOperationHandle");

        private static final org.apache.thrift.protocol.TField OPERATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operationId", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -125,7 +129,7 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
        private static final int __HASRESULTSET_ISSET_ID = 0;
        private static final int __MODIFIEDROWCOUNT_ISSET_ID = 1;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.MODIFIED_ROW_COUNT};
    + private static final _Fields optionals[] = {_Fields.MODIFIED_ROW_COUNT};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -411,75 +415,75 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationId = true && (isSetOperationId());
    - builder.append(present_operationId);
    + list.add(present_operationId);
          if (present_operationId)
    - builder.append(operationId);
    + list.add(operationId);

          boolean present_operationType = true && (isSetOperationType());
    - builder.append(present_operationType);
    + list.add(present_operationType);
          if (present_operationType)
    - builder.append(operationType.getValue());
    + list.add(operationType.getValue());

          boolean present_hasResultSet = true;
    - builder.append(present_hasResultSet);
    + list.add(present_hasResultSet);
          if (present_hasResultSet)
    - builder.append(hasResultSet);
    + list.add(hasResultSet);

          boolean present_modifiedRowCount = true && (isSetModifiedRowCount());
    - builder.append(present_modifiedRowCount);
    + list.add(present_modifiedRowCount);
          if (present_modifiedRowCount)
    - builder.append(modifiedRowCount);
    + list.add(modifiedRowCount);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TOperationHandle other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TOperationHandle typedOther = (TOperationHandle)other;

    - lastComparison = Boolean.valueOf(isSetOperationId()).compareTo(typedOther.isSetOperationId());
    + lastComparison = Boolean.valueOf(isSetOperationId()).compareTo(other.isSetOperationId());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationId()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationId, typedOther.operationId);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationId, other.operationId);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationType()).compareTo(typedOther.isSetOperationType());
    + lastComparison = Boolean.valueOf(isSetOperationType()).compareTo(other.isSetOperationType());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationType()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationType, typedOther.operationType);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationType, other.operationType);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetHasResultSet()).compareTo(typedOther.isSetHasResultSet());
    + lastComparison = Boolean.valueOf(isSetHasResultSet()).compareTo(other.isSetHasResultSet());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetHasResultSet()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasResultSet, typedOther.hasResultSet);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasResultSet, other.hasResultSet);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetModifiedRowCount()).compareTo(typedOther.isSetModifiedRowCount());
    + lastComparison = Boolean.valueOf(isSetModifiedRowCount()).compareTo(other.isSetModifiedRowCount());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetModifiedRowCount()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modifiedRowCount, typedOther.modifiedRowCount);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modifiedRowCount, other.modifiedRowCount);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -600,7 +604,7 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
                  break;
                case 2: // OPERATION_TYPE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.operationType = TOperationType.findByValue(iprot.readI32());
    + struct.operationType = org.apache.hive.service.cli.thrift.TOperationType.findByValue(iprot.readI32());
                    struct.setOperationTypeIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -689,7 +693,7 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
            struct.operationId = new THandleIdentifier();
            struct.operationId.read(iprot);
            struct.setOperationIdIsSet(true);
    - struct.operationType = TOperationType.findByValue(iprot.readI32());
    + struct.operationType = org.apache.hive.service.cli.thrift.TOperationType.findByValue(iprot.readI32());
            struct.setOperationTypeIsSet(true);
            struct.hasResultSet = iprot.readBool();
            struct.setHasResultSetIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    index 2198662..2dfde1c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    index b6d4b2f..6927740 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    index 9d2abf2..d40d9ee 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTypeEntry, TPrimitiveTypeEntry._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTypeEntry, TPrimitiveTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TPrimitiveTypeEntry> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPrimitiveTypeEntry");

        private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -112,7 +116,7 @@ public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTy
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.TYPE_QUALIFIERS};
    + private static final _Fields optionals[] = {_Fields.TYPE_QUALIFIERS};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -294,45 +298,45 @@ public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTy

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_type = true && (isSetType());
    - builder.append(present_type);
    + list.add(present_type);
          if (present_type)
    - builder.append(type.getValue());
    + list.add(type.getValue());

          boolean present_typeQualifiers = true && (isSetTypeQualifiers());
    - builder.append(present_typeQualifiers);
    + list.add(present_typeQualifiers);
          if (present_typeQualifiers)
    - builder.append(typeQualifiers);
    + list.add(typeQualifiers);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TPrimitiveTypeEntry other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TPrimitiveTypeEntry typedOther = (TPrimitiveTypeEntry)other;

    - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
    + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetType()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetTypeQualifiers()).compareTo(typedOther.isSetTypeQualifiers());
    + lastComparison = Boolean.valueOf(isSetTypeQualifiers()).compareTo(other.isSetTypeQualifiers());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTypeQualifiers()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeQualifiers, typedOther.typeQualifiers);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeQualifiers, other.typeQualifiers);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -426,7 +430,7 @@ public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTy
              switch (schemeField.id) {
                case 1: // TYPE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.type = TTypeId.findByValue(iprot.readI32());
    + struct.type = org.apache.hive.service.cli.thrift.TTypeId.findByValue(iprot.readI32());
                    struct.setTypeIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -497,7 +501,7 @@ public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTy
          @Override
          public void read(org.apache.thrift.protocol.TProtocol prot, TPrimitiveTypeEntry struct) throws org.apache.thrift.TException {
            TTupleProtocol iprot = (TTupleProtocol) prot;
    - struct.type = TTypeId.findByValue(iprot.readI32());
    + struct.type = org.apache.hive.service.cli.thrift.TTypeId.findByValue(iprot.readI32());
            struct.setTypeIsSet(true);
            BitSet incoming = iprot.readBitSet(1);
            if (incoming.get(0)) {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    index a4279d2..6e714c6 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    index a3e39c8..70b1cbe 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TRenewDelegationTokenReq implements org.apache.thrift.TBase<TRenewDelegationTokenReq, TRenewDelegationTokenReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TRenewDelegationTokenReq implements org.apache.thrift.TBase<TRenewDelegationTokenReq, TRenewDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -283,45 +287,45 @@ public class TRenewDelegationTokenReq implements org.apache.thrift.TBase<TRenewD

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_delegationToken = true && (isSetDelegationToken());
    - builder.append(present_delegationToken);
    + list.add(present_delegationToken);
          if (present_delegationToken)
    - builder.append(delegationToken);
    + list.add(delegationToken);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TRenewDelegationTokenReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TRenewDelegationTokenReq typedOther = (TRenewDelegationTokenReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken());
    + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetDelegationToken()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    index 5f3eb6c..1bd76c9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TRenewDelegationTokenResp implements org.apache.thrift.TBase<TRenewDelegationTokenResp, TRenewDelegationTokenResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TRenewDelegationTokenResp implements org.apache.thrift.TBase<TRenewDelegationTokenResp, TRenewDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TRenewDelegationTokenResp implements org.apache.thrift.TBase<TRenew

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TRenewDelegationTokenResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TRenewDelegationTokenResp typedOther = (TRenewDelegationTokenResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    index a44cfb0..a1ba634 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.io.Serializable, Cloneable, Comparable<TRow> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRow");

        private static final org.apache.thrift.protocol.TField COL_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("colVals", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -128,7 +132,7 @@ public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.i
         */
        public TRow(TRow other) {
          if (other.isSetColVals()) {
    - List<TColumnValue> __this__colVals = new ArrayList<TColumnValue>();
    + List<TColumnValue> __this__colVals = new ArrayList<TColumnValue>(other.colVals.size());
            for (TColumnValue other_element : other.colVals) {
              __this__colVals.add(new TColumnValue(other_element));
            }
    @@ -245,30 +249,30 @@ public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.i

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_colVals = true && (isSetColVals());
    - builder.append(present_colVals);
    + list.add(present_colVals);
          if (present_colVals)
    - builder.append(colVals);
    + list.add(colVals);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TRow other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TRow typedOther = (TRow)other;

    - lastComparison = Boolean.valueOf(isSetColVals()).compareTo(typedOther.isSetColVals());
    + lastComparison = Boolean.valueOf(isSetColVals()).compareTo(other.isSetColVals());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetColVals()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colVals, typedOther.colVals);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colVals, other.colVals);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -352,12 +356,12 @@ public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.i
                    {
                      org.apache.thrift.protocol.TList _list46 = iprot.readListBegin();
                      struct.colVals = new ArrayList<TColumnValue>(_list46.size);
    - for (int _i47 = 0; _i47 < _list46.size; ++_i47)
    + TColumnValue _elem47;
    + for (int _i48 = 0; _i48 < _list46.size; ++_i48)
                      {
    - TColumnValue _elem48; // optional
    - _elem48 = new TColumnValue();
    - _elem48.read(iprot);
    - struct.colVals.add(_elem48);
    + _elem47 = new TColumnValue();
    + _elem47.read(iprot);
    + struct.colVals.add(_elem47);
                      }
                      iprot.readListEnd();
                    }
    @@ -423,12 +427,12 @@ public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.i
            {
              org.apache.thrift.protocol.TList _list51 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
              struct.colVals = new ArrayList<TColumnValue>(_list51.size);
    - for (int _i52 = 0; _i52 < _list51.size; ++_i52)
    + TColumnValue _elem52;
    + for (int _i53 = 0; _i53 < _list51.size; ++_i53)
              {
    - TColumnValue _elem53; // optional
    - _elem53 = new TColumnValue();
    - _elem53.read(iprot);
    - struct.colVals.add(_elem53);
    + _elem52 = new TColumnValue();
    + _elem52.read(iprot);
    + struct.colVals.add(_elem52);
              }
            }
            struct.setColValsIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    index d16c8a4..2124862 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields>, java.io.Serializable, Cloneable, Comparable<TRowSet> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowSet");

        private static final org.apache.thrift.protocol.TField START_ROW_OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("startRowOffset", org.apache.thrift.protocol.TType.I64, (short)1);
    @@ -115,7 +119,7 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
        // isset id assignments
        private static final int __STARTROWOFFSET_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.COLUMNS};
    + private static final _Fields optionals[] = {_Fields.COLUMNS};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -151,14 +155,14 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
          __isset_bitfield = other.__isset_bitfield;
          this.startRowOffset = other.startRowOffset;
          if (other.isSetRows()) {
    - List<TRow> __this__rows = new ArrayList<TRow>();
    + List<TRow> __this__rows = new ArrayList<TRow>(other.rows.size());
            for (TRow other_element : other.rows) {
              __this__rows.add(new TRow(other_element));
            }
            this.rows = __this__rows;
          }
          if (other.isSetColumns()) {
    - List<TColumn> __this__columns = new ArrayList<TColumn>();
    + List<TColumn> __this__columns = new ArrayList<TColumn>(other.columns.size());
            for (TColumn other_element : other.columns) {
              __this__columns.add(new TColumn(other_element));
            }
    @@ -382,60 +386,60 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_startRowOffset = true;
    - builder.append(present_startRowOffset);
    + list.add(present_startRowOffset);
          if (present_startRowOffset)
    - builder.append(startRowOffset);
    + list.add(startRowOffset);

          boolean present_rows = true && (isSetRows());
    - builder.append(present_rows);
    + list.add(present_rows);
          if (present_rows)
    - builder.append(rows);
    + list.add(rows);

          boolean present_columns = true && (isSetColumns());
    - builder.append(present_columns);
    + list.add(present_columns);
          if (present_columns)
    - builder.append(columns);
    + list.add(columns);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TRowSet other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TRowSet typedOther = (TRowSet)other;

    - lastComparison = Boolean.valueOf(isSetStartRowOffset()).compareTo(typedOther.isSetStartRowOffset());
    + lastComparison = Boolean.valueOf(isSetStartRowOffset()).compareTo(other.isSetStartRowOffset());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStartRowOffset()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRowOffset, typedOther.startRowOffset);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRowOffset, other.startRowOffset);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetRows()).compareTo(typedOther.isSetRows());
    + lastComparison = Boolean.valueOf(isSetRows()).compareTo(other.isSetRows());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetRows()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, typedOther.rows);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns());
    + lastComparison = Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetColumns()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -547,12 +551,12 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
                    {
                      org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
                      struct.rows = new ArrayList<TRow>(_list118.size);
    - for (int _i119 = 0; _i119 < _list118.size; ++_i119)
    + TRow _elem119;
    + for (int _i120 = 0; _i120 < _list118.size; ++_i120)
                      {
    - TRow _elem120; // optional
    - _elem120 = new TRow();
    - _elem120.read(iprot);
    - struct.rows.add(_elem120);
    + _elem119 = new TRow();
    + _elem119.read(iprot);
    + struct.rows.add(_elem119);
                      }
                      iprot.readListEnd();
                    }
    @@ -566,12 +570,12 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
                    {
                      org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
                      struct.columns = new ArrayList<TColumn>(_list121.size);
    - for (int _i122 = 0; _i122 < _list121.size; ++_i122)
    + TColumn _elem122;
    + for (int _i123 = 0; _i123 < _list121.size; ++_i123)
                      {
    - TColumn _elem123; // optional
    - _elem123 = new TColumn();
    - _elem123.read(iprot);
    - struct.columns.add(_elem123);
    + _elem122 = new TColumn();
    + _elem122.read(iprot);
    + struct.columns.add(_elem122);
                      }
                      iprot.readListEnd();
                    }
    @@ -671,12 +675,12 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
            {
              org.apache.thrift.protocol.TList _list128 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
              struct.rows = new ArrayList<TRow>(_list128.size);
    - for (int _i129 = 0; _i129 < _list128.size; ++_i129)
    + TRow _elem129;
    + for (int _i130 = 0; _i130 < _list128.size; ++_i130)
              {
    - TRow _elem130; // optional
    - _elem130 = new TRow();
    - _elem130.read(iprot);
    - struct.rows.add(_elem130);
    + _elem129 = new TRow();
    + _elem129.read(iprot);
    + struct.rows.add(_elem129);
              }
            }
            struct.setRowsIsSet(true);
    @@ -685,12 +689,12 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
              {
                org.apache.thrift.protocol.TList _list131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
                struct.columns = new ArrayList<TColumn>(_list131.size);
    - for (int _i132 = 0; _i132 < _list131.size; ++_i132)
    + TColumn _elem132;
    + for (int _i133 = 0; _i133 < _list131.size; ++_i133)
                {
    - TColumn _elem133; // optional
    - _elem133 = new TColumn();
    - _elem133.read(iprot);
    - struct.columns.add(_elem133);
    + _elem132 = new TColumn();
    + _elem132.read(iprot);
    + struct.columns.add(_elem132);
                }
              }
              struct.setColumnsIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    index 82c00dd..2ce1286 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TSessionHandle implements org.apache.thrift.TBase<TSessionHandle, TSessionHandle._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TSessionHandle implements org.apache.thrift.TBase<TSessionHandle, TSessionHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TSessionHandle> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TSessionHandle");

        private static final org.apache.thrift.protocol.TField SESSION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionId", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TSessionHandle implements org.apache.thrift.TBase<TSessionHandle, T

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionId = true && (isSetSessionId());
    - builder.append(present_sessionId);
    + list.add(present_sessionId);
          if (present_sessionId)
    - builder.append(sessionId);
    + list.add(sessionId);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TSessionHandle other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TSessionHandle typedOther = (TSessionHandle)other;

    - lastComparison = Boolean.valueOf(isSetSessionId()).compareTo(typedOther.isSetSessionId());
    + lastComparison = Boolean.valueOf(isSetSessionId()).compareTo(other.isSetSessionId());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionId()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionId, typedOther.sessionId);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionId, other.sessionId);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    index 24a746e..0e37511 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TStatus> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStatus");

        private static final org.apache.thrift.protocol.TField STATUS_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("statusCode", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -129,7 +133,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
        // isset id assignments
        private static final int __ERRORCODE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.INFO_MESSAGES,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE};
    + private static final _Fields optionals[] = {_Fields.INFO_MESSAGES,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -167,10 +171,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
            this.statusCode = other.statusCode;
          }
          if (other.isSetInfoMessages()) {
    - List<String> __this__infoMessages = new ArrayList<String>();
    - for (String other_element : other.infoMessages) {
    - __this__infoMessages.add(other_element);
    - }
    + List<String> __this__infoMessages = new ArrayList<String>(other.infoMessages);
            this.infoMessages = __this__infoMessages;
          }
          if (other.isSetSqlState()) {
    @@ -483,90 +484,90 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_statusCode = true && (isSetStatusCode());
    - builder.append(present_statusCode);
    + list.add(present_statusCode);
          if (present_statusCode)
    - builder.append(statusCode.getValue());
    + list.add(statusCode.getValue());

          boolean present_infoMessages = true && (isSetInfoMessages());
    - builder.append(present_infoMessages);
    + list.add(present_infoMessages);
          if (present_infoMessages)
    - builder.append(infoMessages);
    + list.add(infoMessages);

          boolean present_sqlState = true && (isSetSqlState());
    - builder.append(present_sqlState);
    + list.add(present_sqlState);
          if (present_sqlState)
    - builder.append(sqlState);
    + list.add(sqlState);

          boolean present_errorCode = true && (isSetErrorCode());
    - builder.append(present_errorCode);
    + list.add(present_errorCode);
          if (present_errorCode)
    - builder.append(errorCode);
    + list.add(errorCode);

          boolean present_errorMessage = true && (isSetErrorMessage());
    - builder.append(present_errorMessage);
    + list.add(present_errorMessage);
          if (present_errorMessage)
    - builder.append(errorMessage);
    + list.add(errorMessage);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TStatus other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TStatus typedOther = (TStatus)other;

    - lastComparison = Boolean.valueOf(isSetStatusCode()).compareTo(typedOther.isSetStatusCode());
    + lastComparison = Boolean.valueOf(isSetStatusCode()).compareTo(other.isSetStatusCode());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatusCode()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusCode, typedOther.statusCode);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusCode, other.statusCode);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetInfoMessages()).compareTo(typedOther.isSetInfoMessages());
    + lastComparison = Boolean.valueOf(isSetInfoMessages()).compareTo(other.isSetInfoMessages());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetInfoMessages()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoMessages, typedOther.infoMessages);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoMessages, other.infoMessages);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(typedOther.isSetSqlState());
    + lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(other.isSetSqlState());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSqlState()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, typedOther.sqlState);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, other.sqlState);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode());
    + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetErrorCode()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(typedOther.isSetErrorMessage());
    + lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetErrorMessage()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, typedOther.errorMessage);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -685,7 +686,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
              switch (schemeField.id) {
                case 1: // STATUS_CODE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.statusCode = TStatusCode.findByValue(iprot.readI32());
    + struct.statusCode = org.apache.hive.service.cli.thrift.TStatusCode.findByValue(iprot.readI32());
                    struct.setStatusCodeIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -696,11 +697,11 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
                    {
                      org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
                      struct.infoMessages = new ArrayList<String>(_list134.size);
    - for (int _i135 = 0; _i135 < _list134.size; ++_i135)
    + String _elem135;
    + for (int _i136 = 0; _i136 < _list134.size; ++_i136)
                      {
    - String _elem136; // optional
    - _elem136 = iprot.readString();
    - struct.infoMessages.add(_elem136);
    + _elem135 = iprot.readString();
    + struct.infoMessages.add(_elem135);
                      }
                      iprot.readListEnd();
                    }
    @@ -839,18 +840,18 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
          @Override
          public void read(org.apache.thrift.protocol.TProtocol prot, TStatus struct) throws org.apache.thrift.TException {
            TTupleProtocol iprot = (TTupleProtocol) prot;
    - struct.statusCode = TStatusCode.findByValue(iprot.readI32());
    + struct.statusCode = org.apache.hive.service.cli.thrift.TStatusCode.findByValue(iprot.readI32());
            struct.setStatusCodeIsSet(true);
            BitSet incoming = iprot.readBitSet(4);
            if (incoming.get(0)) {
              {
                org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                struct.infoMessages = new ArrayList<String>(_list139.size);
    - for (int _i140 = 0; _i140 < _list139.size; ++_i140)
    + String _elem140;
    + for (int _i141 = 0; _i141 < _list139.size; ++_i141)
                {
    - String _elem141; // optional
    - _elem141 = iprot.readString();
    - struct.infoMessages.add(_elem141);
    + _elem140 = iprot.readString();
    + struct.infoMessages.add(_elem140);
                }
              }
              struct.setInfoMessagesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    index e7fde45..91d1a97 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    index 865db69..8935c04 100644
    --- a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -8,6 +8,11 @@

      namespace Apache { namespace Hadoop { namespace Hive {

    +
    +ThriftHive_execute_args::~ThriftHive_execute_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -50,6 +55,7 @@ uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* ip

      uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_execute_args");

        xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
    @@ -58,11 +64,18 @@ uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* o

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_execute_pargs::~ThriftHive_execute_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_execute_pargs");

        xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
    @@ -71,9 +84,15 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol*

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_execute_result::~ThriftHive_execute_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_execute_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -130,6 +149,11 @@ uint32_t ThriftHive_execute_result::write(::apache::thrift::protocol::TProtocol*
        return xfer;
      }

    +
    +ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -170,6 +194,11 @@ uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol*
        return xfer;
      }

    +
    +ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -199,22 +228,36 @@ uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* i

      uint32_t ThriftHive_fetchOne_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchOne_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -283,6 +326,11 @@ uint32_t ThriftHive_fetchOne_result::write(::apache::thrift::protocol::TProtocol
        return xfer;
      }

    +
    +ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -331,6 +379,11 @@ uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol
        return xfer;
      }

    +
    +ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -373,6 +426,7 @@ uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* ipr

      uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_args");

        xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
    @@ -381,11 +435,18 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs");

        xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
    @@ -394,9 +455,15 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -421,14 +488,14 @@ uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* i
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->success.clear();
    - uint32_t _size1;
    - ::apache::thrift::protocol::TType _etype4;
    - xfer += iprot->readListBegin(_etype4, _size1);
    - this->success.resize(_size1);
    - uint32_t _i5;
    - for (_i5 = 0; _i5 < _size1; ++_i5)
    + uint32_t _size5;
    + ::apache::thrift::protocol::TType _etype8;
    + xfer += iprot->readListBegin(_etype8, _size5);
    + this->success.resize(_size5);
    + uint32_t _i9;
    + for (_i9 = 0; _i9 < _size5; ++_i9)
                  {
    - xfer += iprot->readString(this->success[_i5]);
    + xfer += iprot->readString(this->success[_i9]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -467,10 +534,10 @@ uint32_t ThriftHive_fetchN_result::write(::apache::thrift::protocol::TProtocol*
          xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
          {
            xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
    - std::vector<std::string> ::const_iterator _iter6;
    - for (_iter6 = this->success.begin(); _iter6 != this->success.end(); ++_iter6)
    + std::vector<std::string> ::const_iterator _iter10;
    + for (_iter10 = this->success.begin(); _iter10 != this->success.end(); ++_iter10)
            {
    - xfer += oprot->writeString((*_iter6));
    + xfer += oprot->writeString((*_iter10));
            }
            xfer += oprot->writeListEnd();
          }
    @@ -485,6 +552,11 @@ uint32_t ThriftHive_fetchN_result::write(::apache::thrift::protocol::TProtocol*
        return xfer;
      }

    +
    +ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -509,14 +581,14 @@ uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol*
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  (*(this->success)).clear();
    - uint32_t _size7;
    - ::apache::thrift::protocol::TType _etype10;
    - xfer += iprot->readListBegin(_etype10, _size7);
    - (*(this->success)).resize(_size7);
    - uint32_t _i11;
    - for (_i11 = 0; _i11 < _size7; ++_i11)
    + uint32_t _size11;
    + ::apache::thrift::protocol::TType _etype14;
    + xfer += iprot->readListBegin(_etype14, _size11);
    + (*(this->success)).resize(_size11);
    + uint32_t _i15;
    + for (_i15 = 0; _i15 < _size11; ++_i15)
                  {
    - xfer += iprot->readString((*(this->success))[_i11]);
    + xfer += iprot->readString((*(this->success))[_i15]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -545,6 +617,11 @@ uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol*
        return xfer;
      }

    +
    +ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -574,22 +651,36 @@ uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* i

      uint32_t ThriftHive_fetchAll_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -614,14 +705,14 @@ uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol*
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->success.clear();
    - uint32_t _size12;
    - ::apache::thrift::protocol::TType _etype15;
    - xfer += iprot->readListBegin(_etype15, _size12);
    - this->success.resize(_size12);
    - uint32_t _i16;
    - for (_i16 = 0; _i16 < _size12; ++_i16)
    + uint32_t _size16;
    + ::apache::thrift::protocol::TType _etype19;
    + xfer += iprot->readListBegin(_etype19, _size16);
    + this->success.resize(_size16);
    + uint32_t _i20;
    + for (_i20 = 0; _i20 < _size16; ++_i20)
                  {
    - xfer += iprot->readString(this->success[_i16]);
    + xfer += iprot->readString(this->success[_i20]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -660,10 +751,10 @@ uint32_t ThriftHive_fetchAll_result::write(::apache::thrift::protocol::TProtocol
          xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
          {
            xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
    - std::vector<std::string> ::const_iterator _iter17;
    - for (_iter17 = this->success.begin(); _iter17 != this->success.end(); ++_iter17)
    + std::vector<std::string> ::const_iterator _iter21;
    + for (_iter21 = this->success.begin(); _iter21 != this->success.end(); ++_iter21)
            {
    - xfer += oprot->writeString((*_iter17));
    + xfer += oprot->writeString((*_iter21));
            }
            xfer += oprot->writeListEnd();
          }
    @@ -678,6 +769,11 @@ uint32_t ThriftHive_fetchAll_result::write(::apache::thrift::protocol::TProtocol
        return xfer;
      }

    +
    +ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -702,14 +798,14 @@ uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  (*(this->success)).clear();
    - uint32_t _size18;
    - ::apache::thrift::protocol::TType _etype21;
    - xfer += iprot->readListBegin(_etype21, _size18);
    - (*(this->success)).resize(_size18);
    - uint32_t _i22;
    - for (_i22 = 0; _i22 < _size18; ++_i22)
    + uint32_t _size22;
    + ::apache::thrift::protocol::TType _etype25;
    + xfer += iprot->readListBegin(_etype25, _size22);
    + (*(this->success)).resize(_size22);
    + uint32_t _i26;
    + for (_i26 = 0; _i26 < _size22; ++_i26)
                  {
    - xfer += iprot->readString((*(this->success))[_i22]);
    + xfer += iprot->readString((*(this->success))[_i26]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -738,6 +834,11 @@ uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol
        return xfer;
      }

    +
    +ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -767,22 +868,36 @@ uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol*

      uint32_t ThriftHive_getSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -851,6 +966,11 @@ uint32_t ThriftHive_getSchema_result::write(::apache::thrift::protocol::TProtoco
        return xfer;
      }

    +
    +ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -899,6 +1019,11 @@ uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtoco
        return xfer;
      }

    +
    +ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -928,22 +1053,36 @@ uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProt

      uint32_t ThriftHive_getThriftSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getThriftSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1012,6 +1151,11 @@ uint32_t ThriftHive_getThriftSchema_result::write(::apache::thrift::protocol::TP
        return xfer;
      }

    +
    +ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1060,6 +1204,11 @@ uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TP
        return xfer;
      }

    +
    +ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1089,22 +1238,36 @@ uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TPro

      uint32_t ThriftHive_getClusterStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getClusterStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1173,6 +1336,11 @@ uint32_t ThriftHive_getClusterStatus_result::write(::apache::thrift::protocol::T
        return xfer;
      }

    +
    +ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1221,6 +1389,11 @@ uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::T
        return xfer;
      }

    +
    +ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1250,22 +1423,36 @@ uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtoco

      uint32_t ThriftHive_getQueryPlan_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getQueryPlan_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1334,6 +1521,11 @@ uint32_t ThriftHive_getQueryPlan_result::write(::apache::thrift::protocol::TProt
        return xfer;
      }

    +
    +ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1382,6 +1574,11 @@ uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProt
        return xfer;
      }

    +
    +ThriftHive_clean_args::~ThriftHive_clean_args() throw() {
    +}
    +
    +
      uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1411,22 +1608,36 @@ uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* ipro

      uint32_t ThriftHive_clean_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_clean_args");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() {
    +}
    +
    +
      uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("ThriftHive_clean_pargs");

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    +
    +ThriftHive_clean_result::~ThriftHive_clean_result() throw() {
    +}
    +
    +
      uint32_t ThriftHive_clean_result::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;
    @@ -1465,6 +1676,11 @@ uint32_t ThriftHive_clean_result::write(::apache::thrift::protocol::TProtocol* o
        return xfer;
      }

    +
    +ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() {
    +}
    +
    +
      uint32_t ThriftHive_clean_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

        uint32_t xfer = 0;

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/ThriftHive.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.h b/service/src/gen/thrift/gen-cpp/ThriftHive.h
    index b84362b..e610e50 100644
    --- a/service/src/gen/thrift/gen-cpp/ThriftHive.h
    +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -85,24 +85,26 @@ class ThriftHiveNull : virtual public ThriftHiveIf , virtual public ::Apache::H

      typedef struct _ThriftHive_execute_args__isset {
        _ThriftHive_execute_args__isset() : query(false) {}
    - bool query;
    + bool query :1;
      } _ThriftHive_execute_args__isset;

      class ThriftHive_execute_args {
       public:

    + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
    + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
    +
    + ThriftHive_execute_args(const ThriftHive_execute_args&);
    + ThriftHive_execute_args& operator=(const ThriftHive_execute_args&);
        ThriftHive_execute_args() : query() {
        }

    - virtual ~ThriftHive_execute_args() throw() {}
    -
    + virtual ~ThriftHive_execute_args() throw();
        std::string query;

        _ThriftHive_execute_args__isset __isset;

    - void __set_query(const std::string& val) {
    - query = val;
    - }
    + void __set_query(const std::string& val);

        bool operator == (const ThriftHive_execute_args & rhs) const
        {
    @@ -119,41 +121,47 @@ class ThriftHive_execute_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_args& obj);
      };


      class ThriftHive_execute_pargs {
       public:

    + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
    + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};

    - virtual ~ThriftHive_execute_pargs() throw() {}

    + virtual ~ThriftHive_execute_pargs() throw();
        const std::string* query;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_pargs& obj);
      };

      typedef struct _ThriftHive_execute_result__isset {
        _ThriftHive_execute_result__isset() : ex(false) {}
    - bool ex;
    + bool ex :1;
      } _ThriftHive_execute_result__isset;

      class ThriftHive_execute_result {
       public:

    + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
    + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};
    +
    + ThriftHive_execute_result(const ThriftHive_execute_result&);
    + ThriftHive_execute_result& operator=(const ThriftHive_execute_result&);
        ThriftHive_execute_result() {
        }

    - virtual ~ThriftHive_execute_result() throw() {}
    -
    + virtual ~ThriftHive_execute_result() throw();
        HiveServerException ex;

        _ThriftHive_execute_result__isset __isset;

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_execute_result & rhs) const
        {
    @@ -170,36 +178,44 @@ class ThriftHive_execute_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_result& obj);
      };

      typedef struct _ThriftHive_execute_presult__isset {
        _ThriftHive_execute_presult__isset() : ex(false) {}
    - bool ex;
    + bool ex :1;
      } _ThriftHive_execute_presult__isset;

      class ThriftHive_execute_presult {
       public:

    + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
    + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};

    - virtual ~ThriftHive_execute_presult() throw() {}

    + virtual ~ThriftHive_execute_presult() throw();
        HiveServerException ex;

        _ThriftHive_execute_presult__isset __isset;

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_presult& obj);
      };


      class ThriftHive_fetchOne_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_fetchOne_args(const ThriftHive_fetchOne_args&);
    + ThriftHive_fetchOne_args& operator=(const ThriftHive_fetchOne_args&);
        ThriftHive_fetchOne_args() {
        }

    - virtual ~ThriftHive_fetchOne_args() throw() {}
    -
    + virtual ~ThriftHive_fetchOne_args() throw();

        bool operator == (const ThriftHive_fetchOne_args & /* rhs */) const
        {
    @@ -214,46 +230,50 @@ class ThriftHive_fetchOne_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_args& obj);
      };


      class ThriftHive_fetchOne_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_fetchOne_pargs() throw() {}

    + virtual ~ThriftHive_fetchOne_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_pargs& obj);
      };

      typedef struct _ThriftHive_fetchOne_result__isset {
        _ThriftHive_fetchOne_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchOne_result__isset;

      class ThriftHive_fetchOne_result {
       public:

    + static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
    + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};
    +
    + ThriftHive_fetchOne_result(const ThriftHive_fetchOne_result&);
    + ThriftHive_fetchOne_result& operator=(const ThriftHive_fetchOne_result&);
        ThriftHive_fetchOne_result() : success() {
        }

    - virtual ~ThriftHive_fetchOne_result() throw() {}
    -
    + virtual ~ThriftHive_fetchOne_result() throw();
        std::string success;
        HiveServerException ex;

        _ThriftHive_fetchOne_result__isset __isset;

    - void __set_success(const std::string& val) {
    - success = val;
    - }
    + void __set_success(const std::string& val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_fetchOne_result & rhs) const
        {
    @@ -272,20 +292,23 @@ class ThriftHive_fetchOne_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_result& obj);
      };

      typedef struct _ThriftHive_fetchOne_presult__isset {
        _ThriftHive_fetchOne_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchOne_presult__isset;

      class ThriftHive_fetchOne_presult {
       public:

    + static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
    + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};

    - virtual ~ThriftHive_fetchOne_presult() throw() {}

    + virtual ~ThriftHive_fetchOne_presult() throw();
        std::string* success;
        HiveServerException ex;

    @@ -293,28 +316,31 @@ class ThriftHive_fetchOne_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_presult& obj);
      };

      typedef struct _ThriftHive_fetchN_args__isset {
        _ThriftHive_fetchN_args__isset() : numRows(false) {}
    - bool numRows;
    + bool numRows :1;
      } _ThriftHive_fetchN_args__isset;

      class ThriftHive_fetchN_args {
       public:

    + static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    + static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    +
    + ThriftHive_fetchN_args(const ThriftHive_fetchN_args&);
    + ThriftHive_fetchN_args& operator=(const ThriftHive_fetchN_args&);
        ThriftHive_fetchN_args() : numRows(0) {
        }

    - virtual ~ThriftHive_fetchN_args() throw() {}
    -
    + virtual ~ThriftHive_fetchN_args() throw();
        int32_t numRows;

        _ThriftHive_fetchN_args__isset __isset;

    - void __set_numRows(const int32_t val) {
    - numRows = val;
    - }
    + void __set_numRows(const int32_t val);

        bool operator == (const ThriftHive_fetchN_args & rhs) const
        {
    @@ -331,47 +357,51 @@ class ThriftHive_fetchN_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_args& obj);
      };


      class ThriftHive_fetchN_pargs {
       public:

    + static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
    + static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};

    - virtual ~ThriftHive_fetchN_pargs() throw() {}

    + virtual ~ThriftHive_fetchN_pargs() throw();
        const int32_t* numRows;

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_pargs& obj);
      };

      typedef struct _ThriftHive_fetchN_result__isset {
        _ThriftHive_fetchN_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchN_result__isset;

      class ThriftHive_fetchN_result {
       public:

    + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    +
    + ThriftHive_fetchN_result(const ThriftHive_fetchN_result&);
    + ThriftHive_fetchN_result& operator=(const ThriftHive_fetchN_result&);
        ThriftHive_fetchN_result() {
        }

    - virtual ~ThriftHive_fetchN_result() throw() {}
    -
    + virtual ~ThriftHive_fetchN_result() throw();
        std::vector<std::string> success;
        HiveServerException ex;

        _ThriftHive_fetchN_result__isset __isset;

    - void __set_success(const std::vector<std::string> & val) {
    - success = val;
    - }
    + void __set_success(const std::vector<std::string> & val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_fetchN_result & rhs) const
        {
    @@ -390,20 +420,23 @@ class ThriftHive_fetchN_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_result& obj);
      };

      typedef struct _ThriftHive_fetchN_presult__isset {
        _ThriftHive_fetchN_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchN_presult__isset;

      class ThriftHive_fetchN_presult {
       public:

    + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};

    - virtual ~ThriftHive_fetchN_presult() throw() {}

    + virtual ~ThriftHive_fetchN_presult() throw();
        std::vector<std::string> * success;
        HiveServerException ex;

    @@ -411,17 +444,22 @@ class ThriftHive_fetchN_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_presult& obj);
      };


      class ThriftHive_fetchAll_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_fetchAll_args(const ThriftHive_fetchAll_args&);
    + ThriftHive_fetchAll_args& operator=(const ThriftHive_fetchAll_args&);
        ThriftHive_fetchAll_args() {
        }

    - virtual ~ThriftHive_fetchAll_args() throw() {}
    -
    + virtual ~ThriftHive_fetchAll_args() throw();

        bool operator == (const ThriftHive_fetchAll_args & /* rhs */) const
        {
    @@ -436,46 +474,50 @@ class ThriftHive_fetchAll_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_args& obj);
      };


      class ThriftHive_fetchAll_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_fetchAll_pargs() throw() {}

    + virtual ~ThriftHive_fetchAll_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_pargs& obj);
      };

      typedef struct _ThriftHive_fetchAll_result__isset {
        _ThriftHive_fetchAll_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchAll_result__isset;

      class ThriftHive_fetchAll_result {
       public:

    + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
    +
    + ThriftHive_fetchAll_result(const ThriftHive_fetchAll_result&);
    + ThriftHive_fetchAll_result& operator=(const ThriftHive_fetchAll_result&);
        ThriftHive_fetchAll_result() {
        }

    - virtual ~ThriftHive_fetchAll_result() throw() {}
    -
    + virtual ~ThriftHive_fetchAll_result() throw();
        std::vector<std::string> success;
        HiveServerException ex;

        _ThriftHive_fetchAll_result__isset __isset;

    - void __set_success(const std::vector<std::string> & val) {
    - success = val;
    - }
    + void __set_success(const std::vector<std::string> & val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_fetchAll_result & rhs) const
        {
    @@ -494,20 +536,23 @@ class ThriftHive_fetchAll_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_result& obj);
      };

      typedef struct _ThriftHive_fetchAll_presult__isset {
        _ThriftHive_fetchAll_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_fetchAll_presult__isset;

      class ThriftHive_fetchAll_presult {
       public:

    + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
    + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};

    - virtual ~ThriftHive_fetchAll_presult() throw() {}

    + virtual ~ThriftHive_fetchAll_presult() throw();
        std::vector<std::string> * success;
        HiveServerException ex;

    @@ -515,17 +560,22 @@ class ThriftHive_fetchAll_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_presult& obj);
      };


      class ThriftHive_getSchema_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_getSchema_args(const ThriftHive_getSchema_args&);
    + ThriftHive_getSchema_args& operator=(const ThriftHive_getSchema_args&);
        ThriftHive_getSchema_args() {
        }

    - virtual ~ThriftHive_getSchema_args() throw() {}
    -
    + virtual ~ThriftHive_getSchema_args() throw();

        bool operator == (const ThriftHive_getSchema_args & /* rhs */) const
        {
    @@ -540,46 +590,50 @@ class ThriftHive_getSchema_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_args& obj);
      };


      class ThriftHive_getSchema_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_getSchema_pargs() throw() {}

    + virtual ~ThriftHive_getSchema_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_pargs& obj);
      };

      typedef struct _ThriftHive_getSchema_result__isset {
        _ThriftHive_getSchema_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getSchema_result__isset;

      class ThriftHive_getSchema_result {
       public:

    + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    +
    + ThriftHive_getSchema_result(const ThriftHive_getSchema_result&);
    + ThriftHive_getSchema_result& operator=(const ThriftHive_getSchema_result&);
        ThriftHive_getSchema_result() {
        }

    - virtual ~ThriftHive_getSchema_result() throw() {}
    -
    + virtual ~ThriftHive_getSchema_result() throw();
         ::Apache::Hadoop::Hive::Schema success;
        HiveServerException ex;

        _ThriftHive_getSchema_result__isset __isset;

    - void __set_success(const ::Apache::Hadoop::Hive::Schema& val) {
    - success = val;
    - }
    + void __set_success(const ::Apache::Hadoop::Hive::Schema& val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_getSchema_result & rhs) const
        {
    @@ -598,20 +652,23 @@ class ThriftHive_getSchema_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_result& obj);
      };

      typedef struct _ThriftHive_getSchema_presult__isset {
        _ThriftHive_getSchema_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getSchema_presult__isset;

      class ThriftHive_getSchema_presult {
       public:

    + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};

    - virtual ~ThriftHive_getSchema_presult() throw() {}

    + virtual ~ThriftHive_getSchema_presult() throw();
         ::Apache::Hadoop::Hive::Schema* success;
        HiveServerException ex;

    @@ -619,17 +676,22 @@ class ThriftHive_getSchema_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_presult& obj);
      };


      class ThriftHive_getThriftSchema_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_getThriftSchema_args(const ThriftHive_getThriftSchema_args&);
    + ThriftHive_getThriftSchema_args& operator=(const ThriftHive_getThriftSchema_args&);
        ThriftHive_getThriftSchema_args() {
        }

    - virtual ~ThriftHive_getThriftSchema_args() throw() {}
    -
    + virtual ~ThriftHive_getThriftSchema_args() throw();

        bool operator == (const ThriftHive_getThriftSchema_args & /* rhs */) const
        {
    @@ -644,46 +706,50 @@ class ThriftHive_getThriftSchema_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_args& obj);
      };


      class ThriftHive_getThriftSchema_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_getThriftSchema_pargs() throw() {}

    + virtual ~ThriftHive_getThriftSchema_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_pargs& obj);
      };

      typedef struct _ThriftHive_getThriftSchema_result__isset {
        _ThriftHive_getThriftSchema_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getThriftSchema_result__isset;

      class ThriftHive_getThriftSchema_result {
       public:

    + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
    +
    + ThriftHive_getThriftSchema_result(const ThriftHive_getThriftSchema_result&);
    + ThriftHive_getThriftSchema_result& operator=(const ThriftHive_getThriftSchema_result&);
        ThriftHive_getThriftSchema_result() {
        }

    - virtual ~ThriftHive_getThriftSchema_result() throw() {}
    -
    + virtual ~ThriftHive_getThriftSchema_result() throw();
         ::Apache::Hadoop::Hive::Schema success;
        HiveServerException ex;

        _ThriftHive_getThriftSchema_result__isset __isset;

    - void __set_success(const ::Apache::Hadoop::Hive::Schema& val) {
    - success = val;
    - }
    + void __set_success(const ::Apache::Hadoop::Hive::Schema& val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_getThriftSchema_result & rhs) const
        {
    @@ -702,20 +768,23 @@ class ThriftHive_getThriftSchema_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_result& obj);
      };

      typedef struct _ThriftHive_getThriftSchema_presult__isset {
        _ThriftHive_getThriftSchema_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getThriftSchema_presult__isset;

      class ThriftHive_getThriftSchema_presult {
       public:

    + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
    + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};

    - virtual ~ThriftHive_getThriftSchema_presult() throw() {}

    + virtual ~ThriftHive_getThriftSchema_presult() throw();
         ::Apache::Hadoop::Hive::Schema* success;
        HiveServerException ex;

    @@ -723,17 +792,22 @@ class ThriftHive_getThriftSchema_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_presult& obj);
      };


      class ThriftHive_getClusterStatus_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_getClusterStatus_args(const ThriftHive_getClusterStatus_args&);
    + ThriftHive_getClusterStatus_args& operator=(const ThriftHive_getClusterStatus_args&);
        ThriftHive_getClusterStatus_args() {
        }

    - virtual ~ThriftHive_getClusterStatus_args() throw() {}
    -
    + virtual ~ThriftHive_getClusterStatus_args() throw();

        bool operator == (const ThriftHive_getClusterStatus_args & /* rhs */) const
        {
    @@ -748,46 +822,50 @@ class ThriftHive_getClusterStatus_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_args& obj);
      };


      class ThriftHive_getClusterStatus_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_getClusterStatus_pargs() throw() {}

    + virtual ~ThriftHive_getClusterStatus_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_pargs& obj);
      };

      typedef struct _ThriftHive_getClusterStatus_result__isset {
        _ThriftHive_getClusterStatus_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getClusterStatus_result__isset;

      class ThriftHive_getClusterStatus_result {
       public:

    + static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
    + static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};
    +
    + ThriftHive_getClusterStatus_result(const ThriftHive_getClusterStatus_result&);
    + ThriftHive_getClusterStatus_result& operator=(const ThriftHive_getClusterStatus_result&);
        ThriftHive_getClusterStatus_result() {
        }

    - virtual ~ThriftHive_getClusterStatus_result() throw() {}
    -
    + virtual ~ThriftHive_getClusterStatus_result() throw();
        HiveClusterStatus success;
        HiveServerException ex;

        _ThriftHive_getClusterStatus_result__isset __isset;

    - void __set_success(const HiveClusterStatus& val) {
    - success = val;
    - }
    + void __set_success(const HiveClusterStatus& val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_getClusterStatus_result & rhs) const
        {
    @@ -806,20 +884,23 @@ class ThriftHive_getClusterStatus_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_result& obj);
      };

      typedef struct _ThriftHive_getClusterStatus_presult__isset {
        _ThriftHive_getClusterStatus_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getClusterStatus_presult__isset;

      class ThriftHive_getClusterStatus_presult {
       public:

    + static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
    + static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};

    - virtual ~ThriftHive_getClusterStatus_presult() throw() {}

    + virtual ~ThriftHive_getClusterStatus_presult() throw();
        HiveClusterStatus* success;
        HiveServerException ex;

    @@ -827,17 +908,22 @@ class ThriftHive_getClusterStatus_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_presult& obj);
      };


      class ThriftHive_getQueryPlan_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_getQueryPlan_args(const ThriftHive_getQueryPlan_args&);
    + ThriftHive_getQueryPlan_args& operator=(const ThriftHive_getQueryPlan_args&);
        ThriftHive_getQueryPlan_args() {
        }

    - virtual ~ThriftHive_getQueryPlan_args() throw() {}
    -
    + virtual ~ThriftHive_getQueryPlan_args() throw();

        bool operator == (const ThriftHive_getQueryPlan_args & /* rhs */) const
        {
    @@ -852,46 +938,50 @@ class ThriftHive_getQueryPlan_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_args& obj);
      };


      class ThriftHive_getQueryPlan_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_getQueryPlan_pargs() throw() {}

    + virtual ~ThriftHive_getQueryPlan_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_pargs& obj);
      };

      typedef struct _ThriftHive_getQueryPlan_result__isset {
        _ThriftHive_getQueryPlan_result__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getQueryPlan_result__isset;

      class ThriftHive_getQueryPlan_result {
       public:

    + static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
    + static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};
    +
    + ThriftHive_getQueryPlan_result(const ThriftHive_getQueryPlan_result&);
    + ThriftHive_getQueryPlan_result& operator=(const ThriftHive_getQueryPlan_result&);
        ThriftHive_getQueryPlan_result() {
        }

    - virtual ~ThriftHive_getQueryPlan_result() throw() {}
    -
    + virtual ~ThriftHive_getQueryPlan_result() throw();
         ::Apache::Hadoop::Hive::QueryPlan success;
        HiveServerException ex;

        _ThriftHive_getQueryPlan_result__isset __isset;

    - void __set_success(const ::Apache::Hadoop::Hive::QueryPlan& val) {
    - success = val;
    - }
    + void __set_success(const ::Apache::Hadoop::Hive::QueryPlan& val);

    - void __set_ex(const HiveServerException& val) {
    - ex = val;
    - }
    + void __set_ex(const HiveServerException& val);

        bool operator == (const ThriftHive_getQueryPlan_result & rhs) const
        {
    @@ -910,20 +1000,23 @@ class ThriftHive_getQueryPlan_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_result& obj);
      };

      typedef struct _ThriftHive_getQueryPlan_presult__isset {
        _ThriftHive_getQueryPlan_presult__isset() : success(false), ex(false) {}
    - bool success;
    - bool ex;
    + bool success :1;
    + bool ex :1;
      } _ThriftHive_getQueryPlan_presult__isset;

      class ThriftHive_getQueryPlan_presult {
       public:

    + static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
    + static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};

    - virtual ~ThriftHive_getQueryPlan_presult() throw() {}

    + virtual ~ThriftHive_getQueryPlan_presult() throw();
         ::Apache::Hadoop::Hive::QueryPlan* success;
        HiveServerException ex;

    @@ -931,17 +1024,22 @@ class ThriftHive_getQueryPlan_presult {

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_presult& obj);
      };


      class ThriftHive_clean_args {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_clean_args(const ThriftHive_clean_args&);
    + ThriftHive_clean_args& operator=(const ThriftHive_clean_args&);
        ThriftHive_clean_args() {
        }

    - virtual ~ThriftHive_clean_args() throw() {}
    -
    + virtual ~ThriftHive_clean_args() throw();

        bool operator == (const ThriftHive_clean_args & /* rhs */) const
        {
    @@ -956,29 +1054,37 @@ class ThriftHive_clean_args {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_args& obj);
      };


      class ThriftHive_clean_pargs {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_clean_pargs() throw() {}

    + virtual ~ThriftHive_clean_pargs() throw();

        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_pargs& obj);
      };


      class ThriftHive_clean_result {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
    +
    + ThriftHive_clean_result(const ThriftHive_clean_result&);
    + ThriftHive_clean_result& operator=(const ThriftHive_clean_result&);
        ThriftHive_clean_result() {
        }

    - virtual ~ThriftHive_clean_result() throw() {}
    -
    + virtual ~ThriftHive_clean_result() throw();

        bool operator == (const ThriftHive_clean_result & /* rhs */) const
        {
    @@ -993,26 +1099,29 @@ class ThriftHive_clean_result {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_result& obj);
      };


      class ThriftHive_clean_presult {
       public:

    + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
    + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};

    - virtual ~ThriftHive_clean_presult() throw() {}

    + virtual ~ThriftHive_clean_presult() throw();

        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

    + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_presult& obj);
      };

      class ThriftHiveClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient {
       public:
        ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) :
           ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(prot, prot) {}
    - ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) :
    - ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(iprot, oprot) {}
    + ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(iprot, oprot) {}
        boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
          return piprot_;
        }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    index 3555b03..c3c8482 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.h b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    index e27273c..5878dbe 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    index 255fb00..4d6cf01 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -7,6 +7,9 @@
      #include "hive_service_types.h"

      #include <algorithm>
    +#include <ostream>
    +
    +#include <thrift/TToString.h>

      namespace Apache { namespace Hadoop { namespace Hive {

    @@ -20,6 +23,35 @@ const char* _kJobTrackerStateNames[] = {
      };
      const std::map<int, const char*> _JobTrackerState_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, _kJobTrackerStateValues, _kJobTrackerStateNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));

    +
    +HiveClusterStatus::~HiveClusterStatus() throw() {
    +}
    +
    +
    +void HiveClusterStatus::__set_taskTrackers(const int32_t val) {
    + this->taskTrackers = val;
    +}
    +
    +void HiveClusterStatus::__set_mapTasks(const int32_t val) {
    + this->mapTasks = val;
    +}
    +
    +void HiveClusterStatus::__set_reduceTasks(const int32_t val) {
    + this->reduceTasks = val;
    +}
    +
    +void HiveClusterStatus::__set_maxMapTasks(const int32_t val) {
    + this->maxMapTasks = val;
    +}
    +
    +void HiveClusterStatus::__set_maxReduceTasks(const int32_t val) {
    + this->maxReduceTasks = val;
    +}
    +
    +void HiveClusterStatus::__set_state(const JobTrackerState::type val) {
    + this->state = val;
    +}
    +
      const char* HiveClusterStatus::ascii_fingerprint = "D514EDCFFC86F64A2E924DCD16D4FAD8";
      const uint8_t HiveClusterStatus::binary_fingerprint[16] = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};

    @@ -107,6 +139,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("HiveClusterStatus");

        xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1);
    @@ -135,6 +168,7 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot)

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -149,6 +183,55 @@ void swap(HiveClusterStatus &a, HiveClusterStatus &b) {
        swap(a.__isset, b.__isset);
      }

    +HiveClusterStatus::HiveClusterStatus(const HiveClusterStatus& other1) {
    + taskTrackers = other1.taskTrackers;
    + mapTasks = other1.mapTasks;
    + reduceTasks = other1.reduceTasks;
    + maxMapTasks = other1.maxMapTasks;
    + maxReduceTasks = other1.maxReduceTasks;
    + state = other1.state;
    + __isset = other1.__isset;
    +}
    +HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2) {
    + taskTrackers = other2.taskTrackers;
    + mapTasks = other2.mapTasks;
    + reduceTasks = other2.reduceTasks;
    + maxMapTasks = other2.maxMapTasks;
    + maxReduceTasks = other2.maxReduceTasks;
    + state = other2.state;
    + __isset = other2.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) {
    + using apache::thrift::to_string;
    + out << "HiveClusterStatus(";
    + out << "taskTrackers=" << to_string(obj.taskTrackers);
    + out << ", " << "mapTasks=" << to_string(obj.mapTasks);
    + out << ", " << "reduceTasks=" << to_string(obj.reduceTasks);
    + out << ", " << "maxMapTasks=" << to_string(obj.maxMapTasks);
    + out << ", " << "maxReduceTasks=" << to_string(obj.maxReduceTasks);
    + out << ", " << "state=" << to_string(obj.state);
    + out << ")";
    + return out;
    +}
    +
    +
    +HiveServerException::~HiveServerException() throw() {
    +}
    +
    +
    +void HiveServerException::__set_message(const std::string& val) {
    + this->message = val;
    +}
    +
    +void HiveServerException::__set_errorCode(const int32_t val) {
    + this->errorCode = val;
    +}
    +
    +void HiveServerException::__set_SQLState(const std::string& val) {
    + this->SQLState = val;
    +}
    +
      const char* HiveServerException::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26";
      const uint8_t HiveServerException::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};

    @@ -210,6 +293,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("HiveServerException");

        xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
    @@ -226,6 +310,7 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -237,4 +322,27 @@ void swap(HiveServerException &a, HiveServerException &b) {
        swap(a.__isset, b.__isset);
      }

    +HiveServerException::HiveServerException(const HiveServerException& other3) : TException() {
    + message = other3.message;
    + errorCode = other3.errorCode;
    + SQLState = other3.SQLState;
    + __isset = other3.__isset;
    +}
    +HiveServerException& HiveServerException::operator=(const HiveServerException& other4) {
    + message = other4.message;
    + errorCode = other4.errorCode;
    + SQLState = other4.SQLState;
    + __isset = other4.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) {
    + using apache::thrift::to_string;
    + out << "HiveServerException(";
    + out << "message=" << to_string(obj.message);
    + out << ", " << "errorCode=" << to_string(obj.errorCode);
    + out << ", " << "SQLState=" << to_string(obj.SQLState);
    + out << ")";
    + return out;
    +}
    +
      }}} // namespace

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/hive_service_types.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.h b/service/src/gen/thrift/gen-cpp/hive_service_types.h
    index bc0e652..7fea88c 100644
    --- a/service/src/gen/thrift/gen-cpp/hive_service_types.h
    +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -7,11 +7,14 @@
      #ifndef hive_service_TYPES_H
      #define hive_service_TYPES_H

    +#include <iosfwd>
    +
      #include <thrift/Thrift.h>
      #include <thrift/TApplicationException.h>
      #include <thrift/protocol/TProtocol.h>
      #include <thrift/transport/TTransport.h>

    +#include <thrift/cxxfunctional.h>
      #include "fb303_types.h"
      #include "hive_metastore_types.h"
      #include "queryplan_types.h"
    @@ -28,14 +31,18 @@ struct JobTrackerState {

      extern const std::map<int, const char*> _JobTrackerState_VALUES_TO_NAMES;

    +class HiveClusterStatus;
    +
    +class HiveServerException;
    +
      typedef struct _HiveClusterStatus__isset {
        _HiveClusterStatus__isset() : taskTrackers(false), mapTasks(false), reduceTasks(false), maxMapTasks(false), maxReduceTasks(false), state(false) {}
    - bool taskTrackers;
    - bool mapTasks;
    - bool reduceTasks;
    - bool maxMapTasks;
    - bool maxReduceTasks;
    - bool state;
    + bool taskTrackers :1;
    + bool mapTasks :1;
    + bool reduceTasks :1;
    + bool maxMapTasks :1;
    + bool maxReduceTasks :1;
    + bool state :1;
      } _HiveClusterStatus__isset;

      class HiveClusterStatus {
    @@ -44,11 +51,12 @@ class HiveClusterStatus {
        static const char* ascii_fingerprint; // = "D514EDCFFC86F64A2E924DCD16D4FAD8";
        static const uint8_t binary_fingerprint[16]; // = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};

    + HiveClusterStatus(const HiveClusterStatus&);
    + HiveClusterStatus& operator=(const HiveClusterStatus&);
        HiveClusterStatus() : taskTrackers(0), mapTasks(0), reduceTasks(0), maxMapTasks(0), maxReduceTasks(0), state((JobTrackerState::type)0) {
        }

    - virtual ~HiveClusterStatus() throw() {}
    -
    + virtual ~HiveClusterStatus() throw();
        int32_t taskTrackers;
        int32_t mapTasks;
        int32_t reduceTasks;
    @@ -58,29 +66,17 @@ class HiveClusterStatus {

        _HiveClusterStatus__isset __isset;

    - void __set_taskTrackers(const int32_t val) {
    - taskTrackers = val;
    - }
    + void __set_taskTrackers(const int32_t val);

    - void __set_mapTasks(const int32_t val) {
    - mapTasks = val;
    - }
    + void __set_mapTasks(const int32_t val);

    - void __set_reduceTasks(const int32_t val) {
    - reduceTasks = val;
    - }
    + void __set_reduceTasks(const int32_t val);

    - void __set_maxMapTasks(const int32_t val) {
    - maxMapTasks = val;
    - }
    + void __set_maxMapTasks(const int32_t val);

    - void __set_maxReduceTasks(const int32_t val) {
    - maxReduceTasks = val;
    - }
    + void __set_maxReduceTasks(const int32_t val);

    - void __set_state(const JobTrackerState::type val) {
    - state = val;
    - }
    + void __set_state(const JobTrackerState::type val);

        bool operator == (const HiveClusterStatus & rhs) const
        {
    @@ -107,15 +103,16 @@ class HiveClusterStatus {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj);
      };

      void swap(HiveClusterStatus &a, HiveClusterStatus &b);

      typedef struct _HiveServerException__isset {
        _HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {}
    - bool message;
    - bool errorCode;
    - bool SQLState;
    + bool message :1;
    + bool errorCode :1;
    + bool SQLState :1;
      } _HiveServerException__isset;

      class HiveServerException : public ::apache::thrift::TException {
    @@ -124,28 +121,23 @@ class HiveServerException : public ::apache::thrift::TException {
        static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26";
        static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};

    + HiveServerException(const HiveServerException&);
    + HiveServerException& operator=(const HiveServerException&);
        HiveServerException() : message(), errorCode(0), SQLState() {
        }

    - virtual ~HiveServerException() throw() {}
    -
    + virtual ~HiveServerException() throw();
        std::string message;
        int32_t errorCode;
        std::string SQLState;

        _HiveServerException__isset __isset;

    - void __set_message(const std::string& val) {
    - message = val;
    - }
    + void __set_message(const std::string& val);

    - void __set_errorCode(const int32_t val) {
    - errorCode = val;
    - }
    + void __set_errorCode(const int32_t val);

    - void __set_SQLState(const std::string& val) {
    - SQLState = val;
    - }
    + void __set_SQLState(const std::string& val);

        bool operator == (const HiveServerException & rhs) const
        {
    @@ -166,6 +158,7 @@ class HiveServerException : public ::apache::thrift::TException {
        uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
        uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

    + friend std::ostream& operator<<(std::ostream& out, const HiveServerException& obj);
      };

      void swap(HiveServerException &a, HiveServerException &b);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    index 11566e5..9bfbea9 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hadoop.hive.service;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterStatus, HiveClusterStatus._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterStatus, HiveClusterStatus._Fields>, java.io.Serializable, Cloneable, Comparable<HiveClusterStatus> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveClusterStatus");

        private static final org.apache.thrift.protocol.TField TASK_TRACKERS_FIELD_DESC = new org.apache.thrift.protocol.TField("taskTrackers", org.apache.thrift.protocol.TType.I32, (short)1);
    @@ -529,105 +533,105 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_taskTrackers = true;
    - builder.append(present_taskTrackers);
    + list.add(present_taskTrackers);
          if (present_taskTrackers)
    - builder.append(taskTrackers);
    + list.add(taskTrackers);

          boolean present_mapTasks = true;
    - builder.append(present_mapTasks);
    + list.add(present_mapTasks);
          if (present_mapTasks)
    - builder.append(mapTasks);
    + list.add(mapTasks);

          boolean present_reduceTasks = true;
    - builder.append(present_reduceTasks);
    + list.add(present_reduceTasks);
          if (present_reduceTasks)
    - builder.append(reduceTasks);
    + list.add(reduceTasks);

          boolean present_maxMapTasks = true;
    - builder.append(present_maxMapTasks);
    + list.add(present_maxMapTasks);
          if (present_maxMapTasks)
    - builder.append(maxMapTasks);
    + list.add(maxMapTasks);

          boolean present_maxReduceTasks = true;
    - builder.append(present_maxReduceTasks);
    + list.add(present_maxReduceTasks);
          if (present_maxReduceTasks)
    - builder.append(maxReduceTasks);
    + list.add(maxReduceTasks);

          boolean present_state = true && (isSetState());
    - builder.append(present_state);
    + list.add(present_state);
          if (present_state)
    - builder.append(state.getValue());
    + list.add(state.getValue());

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(HiveClusterStatus other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - HiveClusterStatus typedOther = (HiveClusterStatus)other;

    - lastComparison = Boolean.valueOf(isSetTaskTrackers()).compareTo(typedOther.isSetTaskTrackers());
    + lastComparison = Boolean.valueOf(isSetTaskTrackers()).compareTo(other.isSetTaskTrackers());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTaskTrackers()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskTrackers, typedOther.taskTrackers);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskTrackers, other.taskTrackers);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetMapTasks()).compareTo(typedOther.isSetMapTasks());
    + lastComparison = Boolean.valueOf(isSetMapTasks()).compareTo(other.isSetMapTasks());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetMapTasks()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapTasks, typedOther.mapTasks);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapTasks, other.mapTasks);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetReduceTasks()).compareTo(typedOther.isSetReduceTasks());
    + lastComparison = Boolean.valueOf(isSetReduceTasks()).compareTo(other.isSetReduceTasks());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetReduceTasks()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reduceTasks, typedOther.reduceTasks);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reduceTasks, other.reduceTasks);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetMaxMapTasks()).compareTo(typedOther.isSetMaxMapTasks());
    + lastComparison = Boolean.valueOf(isSetMaxMapTasks()).compareTo(other.isSetMaxMapTasks());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetMaxMapTasks()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxMapTasks, typedOther.maxMapTasks);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxMapTasks, other.maxMapTasks);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetMaxReduceTasks()).compareTo(typedOther.isSetMaxReduceTasks());
    + lastComparison = Boolean.valueOf(isSetMaxReduceTasks()).compareTo(other.isSetMaxReduceTasks());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetMaxReduceTasks()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxReduceTasks, typedOther.maxReduceTasks);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxReduceTasks, other.maxReduceTasks);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState());
    + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetState()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -766,7 +770,7 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta
                  break;
                case 6: // STATE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.state = JobTrackerState.findByValue(iprot.readI32());
    + struct.state = org.apache.hadoop.hive.service.JobTrackerState.findByValue(iprot.readI32());
                    struct.setStateIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -887,7 +891,7 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta
              struct.setMaxReduceTasksIsSet(true);
            }
            if (incoming.get(5)) {
    - struct.state = JobTrackerState.findByValue(iprot.readI32());
    + struct.state = org.apache.hadoop.hive.service.JobTrackerState.findByValue(iprot.readI32());
              struct.setStateIsSet(true);
            }
          }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    index 353dc8a..da8d1bc 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hadoop.hive.service;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class HiveServerException extends TException implements org.apache.thrift.TBase<HiveServerException, HiveServerException._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class HiveServerException extends TException implements org.apache.thrift.TBase<HiveServerException, HiveServerException._Fields>, java.io.Serializable, Cloneable, Comparable<HiveServerException> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveServerException");

        private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -343,60 +347,60 @@ public class HiveServerException extends TException implements org.apache.thrift

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_message = true && (isSetMessage());
    - builder.append(present_message);
    + list.add(present_message);
          if (present_message)
    - builder.append(message);
    + list.add(message);

          boolean present_errorCode = true;
    - builder.append(present_errorCode);
    + list.add(present_errorCode);
          if (present_errorCode)
    - builder.append(errorCode);
    + list.add(errorCode);

          boolean present_SQLState = true && (isSetSQLState());
    - builder.append(present_SQLState);
    + list.add(present_SQLState);
          if (present_SQLState)
    - builder.append(SQLState);
    + list.add(SQLState);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(HiveServerException other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - HiveServerException typedOther = (HiveServerException)other;

    - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
    + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetMessage()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode());
    + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetErrorCode()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSQLState()).compareTo(typedOther.isSetSQLState());
    + lastComparison = Boolean.valueOf(isSetSQLState()).compareTo(other.isSetSQLState());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSQLState()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.SQLState, typedOther.SQLState);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.SQLState, other.SQLState);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    index 5de66c5..ab48bf7 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    index 25a38b1..046eb15 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TCLIServiceConstants {

        public static final Set<TTypeId> PRIMITIVE_TYPES = new HashSet<TTypeId>();

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    index e23fcdd..8c5704b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCancelDelegationTokenReq implements org.apache.thrift.TBase<TCancelDelegationTokenReq, TCancelDelegationTokenReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCancelDelegationTokenReq implements org.apache.thrift.TBase<TCancelDelegationTokenReq, TCancelDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -283,45 +287,45 @@ public class TCancelDelegationTokenReq implements org.apache.thrift.TBase<TCance

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_delegationToken = true && (isSetDelegationToken());
    - builder.append(present_delegationToken);
    + list.add(present_delegationToken);
          if (present_delegationToken)
    - builder.append(delegationToken);
    + list.add(delegationToken);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCancelDelegationTokenReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCancelDelegationTokenReq typedOther = (TCancelDelegationTokenReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken());
    + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetDelegationToken()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    index 77c9ee7..ed2daff 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCancelDelegationTokenResp implements org.apache.thrift.TBase<TCancelDelegationTokenResp, TCancelDelegationTokenResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCancelDelegationTokenResp implements org.apache.thrift.TBase<TCancelDelegationTokenResp, TCancelDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCancelDelegationTokenResp implements org.apache.thrift.TBase<TCanc

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCancelDelegationTokenResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCancelDelegationTokenResp typedOther = (TCancelDelegationTokenResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    index 45eac48..b6ea659 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCancelOperationReq implements org.apache.thrift.TBase<TCancelOperationReq, TCancelOperationReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCancelOperationReq implements org.apache.thrift.TBase<TCancelOperationReq, TCancelOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationReq");

        private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCancelOperationReq implements org.apache.thrift.TBase<TCancelOpera

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCancelOperationReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCancelOperationReq typedOther = (TCancelOperationReq)other;

    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    index 2a39414..4562d3e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCancelOperationResp implements org.apache.thrift.TBase<TCancelOperationResp, TCancelOperationResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCancelOperationResp implements org.apache.thrift.TBase<TCancelOperationResp, TCancelOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCancelOperationResp implements org.apache.thrift.TBase<TCancelOper

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCancelOperationResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCancelOperationResp typedOther = (TCancelOperationResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    index 0cbb7cc..202119c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCloseOperationReq implements org.apache.thrift.TBase<TCloseOperationReq, TCloseOperationReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCloseOperationReq implements org.apache.thrift.TBase<TCloseOperationReq, TCloseOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationReq");

        private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCloseOperationReq implements org.apache.thrift.TBase<TCloseOperati

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCloseOperationReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCloseOperationReq typedOther = (TCloseOperationReq)other;

    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    index 7334d67..93fc01d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCloseOperationResp implements org.apache.thrift.TBase<TCloseOperationResp, TCloseOperationResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCloseOperationResp implements org.apache.thrift.TBase<TCloseOperationResp, TCloseOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCloseOperationResp implements org.apache.thrift.TBase<TCloseOperat

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCloseOperationResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCloseOperationResp typedOther = (TCloseOperationResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    index 027e829..ce9637e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCloseSessionReq implements org.apache.thrift.TBase<TCloseSessionReq, TCloseSessionReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCloseSessionReq implements org.apache.thrift.TBase<TCloseSessionReq, TCloseSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCloseSessionReq implements org.apache.thrift.TBase<TCloseSessionRe

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCloseSessionReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCloseSessionReq typedOther = (TCloseSessionReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    index 168c8fc..97f4073 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TCloseSessionResp implements org.apache.thrift.TBase<TCloseSessionResp, TCloseSessionResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TCloseSessionResp implements org.apache.thrift.TBase<TCloseSessionResp, TCloseSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TCloseSessionResp implements org.apache.thrift.TBase<TCloseSessionR

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TCloseSessionResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TCloseSessionResp typedOther = (TCloseSessionResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    index bfe50c7..1bda69d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TColumn extends org.apache.thrift.TUnion<TColumn, TColumn._Fields> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn");
        private static final org.apache.thrift.protocol.TField BOOL_VAL_FIELD_DESC = new org.apache.thrift.protocol.TField("boolVal", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -345,6 +348,7 @@ public class TColumn extends org.apache.thrift.TUnion<TColumn, TColumn._Fields>
                throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
            }
          } else {
    + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        }
    @@ -697,19 +701,19 @@ public class TColumn extends org.apache.thrift.TUnion<TColumn, TColumn._Fields>

        @Override
        public int hashCode() {
    - HashCodeBuilder hcb = new HashCodeBuilder();
    - hcb.append(this.getClass().getName());
    + List<Object> list = new ArrayList<Object>();
    + list.add(this.getClass().getName());
          org.apache.thrift.TFieldIdEnum setField = getSetField();
          if (setField != null) {
    - hcb.append(setField.getThriftFieldId());
    + list.add(setField.getThriftFieldId());
            Object value = getFieldValue();
            if (value instanceof org.apache.thrift.TEnum) {
    - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
    + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
            } else {
    - hcb.append(value);
    + list.add(value);
            }
          }
    - return hcb.toHashCode();
    + return list.hashCode();
        }
        private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
          try {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    index 247db64..c5f6c47 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumnDesc._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumnDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnDesc> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnDesc");

        private static final org.apache.thrift.protocol.TField COLUMN_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("columnName", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -120,7 +124,7 @@ public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumn
        // isset id assignments
        private static final int __POSITION_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.COMMENT};
    + private static final _Fields optionals[] = {_Fields.COMMENT};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -400,75 +404,75 @@ public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumn

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_columnName = true && (isSetColumnName());
    - builder.append(present_columnName);
    + list.add(present_columnName);
          if (present_columnName)
    - builder.append(columnName);
    + list.add(columnName);

          boolean present_typeDesc = true && (isSetTypeDesc());
    - builder.append(present_typeDesc);
    + list.add(present_typeDesc);
          if (present_typeDesc)
    - builder.append(typeDesc);
    + list.add(typeDesc);

          boolean present_position = true;
    - builder.append(present_position);
    + list.add(present_position);
          if (present_position)
    - builder.append(position);
    + list.add(position);

          boolean present_comment = true && (isSetComment());
    - builder.append(present_comment);
    + list.add(present_comment);
          if (present_comment)
    - builder.append(comment);
    + list.add(comment);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TColumnDesc other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TColumnDesc typedOther = (TColumnDesc)other;

    - lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName());
    + lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetColumnName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetTypeDesc()).compareTo(typedOther.isSetTypeDesc());
    + lastComparison = Boolean.valueOf(isSetTypeDesc()).compareTo(other.isSetTypeDesc());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTypeDesc()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeDesc, typedOther.typeDesc);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeDesc, other.typeDesc);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition());
    + lastComparison = Boolean.valueOf(isSetPosition()).compareTo(other.isSetPosition());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetPosition()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, other.position);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetComment()).compareTo(typedOther.isSetComment());
    + lastComparison = Boolean.valueOf(isSetComment()).compareTo(other.isSetComment());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetComment()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, typedOther.comment);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, other.comment);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    index 44da2cd..61aee4d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TColumnValue extends org.apache.thrift.TUnion<TColumnValue, TColumnValue._Fields> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnValue");
        private static final org.apache.thrift.protocol.TField BOOL_VAL_FIELD_DESC = new org.apache.thrift.protocol.TField("boolVal", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -318,6 +321,7 @@ public class TColumnValue extends org.apache.thrift.TUnion<TColumnValue, TColumn
                throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
            }
          } else {
    + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        }
    @@ -636,19 +640,19 @@ public class TColumnValue extends org.apache.thrift.TUnion<TColumnValue, TColumn

        @Override
        public int hashCode() {
    - HashCodeBuilder hcb = new HashCodeBuilder();
    - hcb.append(this.getClass().getName());
    + List<Object> list = new ArrayList<Object>();
    + list.add(this.getClass().getName());
          org.apache.thrift.TFieldIdEnum setField = getSetField();
          if (setField != null) {
    - hcb.append(setField.getThriftFieldId());
    + list.add(setField.getThriftFieldId());
            Object value = getFieldValue();
            if (value instanceof org.apache.thrift.TEnum) {
    - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
    + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
            } else {
    - hcb.append(value);
    + list.add(value);
            }
          }
    - return hcb.toHashCode();
    + return list.hashCode();
        }
        private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
          try {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    index 4fc5454..c9bae1c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDoubleColumn._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDoubleColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleColumn");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo
         */
        public TDoubleColumn(TDoubleColumn other) {
          if (other.isSetValues()) {
    - List<Double> __this__values = new ArrayList<Double>();
    - for (Double other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Double> __this__values = new ArrayList<Double>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TDoubleColumn other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TDoubleColumn typedOther = (TDoubleColumn)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo
                    {
                      org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
                      struct.values = new ArrayList<Double>(_list94.size);
    - for (int _i95 = 0; _i95 < _list94.size; ++_i95)
    + double _elem95;
    + for (int _i96 = 0; _i96 < _list94.size; ++_i96)
                      {
    - double _elem96; // optional
    - _elem96 = iprot.readDouble();
    - struct.values.add(_elem96);
    + _elem95 = iprot.readDouble();
    + struct.values.add(_elem95);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDo
            {
              org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, iprot.readI32());
              struct.values = new ArrayList<Double>(_list99.size);
    - for (int _i100 = 0; _i100 < _list99.size; ++_i100)
    + double _elem100;
    + for (int _i101 = 0; _i101 < _list99.size; ++_i101)
              {
    - double _elem101; // optional
    - _elem101 = iprot.readDouble();
    - struct.values.add(_elem101);
    + _elem100 = iprot.readDouble();
    + struct.values.add(_elem100);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    index d215736..d633eca 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoubleValue._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoubleValue._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleValue");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.DOUBLE, (short)1);
    @@ -105,7 +109,7 @@ public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoub
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoub

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TDoubleValue other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TDoubleValue typedOther = (TDoubleValue)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    index 4f157ad..8184895 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteStatementReq, TExecuteStatementReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteStatementReq, TExecuteStatementReq._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -120,7 +124,7 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
        // isset id assignments
        private static final int __RUNASYNC_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.CONF_OVERLAY,_Fields.RUN_ASYNC};
    + private static final _Fields optionals[] = {_Fields.CONF_OVERLAY,_Fields.RUN_ASYNC};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -164,18 +168,7 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
            this.statement = other.statement;
          }
          if (other.isSetConfOverlay()) {
    - Map<String,String> __this__confOverlay = new HashMap<String,String>();
    - for (Map.Entry<String, String> other_element : other.confOverlay.entrySet()) {
    -
    - String other_element_key = other_element.getKey();
    - String other_element_value = other_element.getValue();
    -
    - String __this__confOverlay_copy_key = other_element_key;
    -
    - String __this__confOverlay_copy_value = other_element_value;
    -
    - __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value);
    - }
    + Map<String,String> __this__confOverlay = new HashMap<String,String>(other.confOverlay);
            this.confOverlay = __this__confOverlay;
          }
          this.runAsync = other.runAsync;
    @@ -424,75 +417,75 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_statement = true && (isSetStatement());
    - builder.append(present_statement);
    + list.add(present_statement);
          if (present_statement)
    - builder.append(statement);
    + list.add(statement);

          boolean present_confOverlay = true && (isSetConfOverlay());
    - builder.append(present_confOverlay);
    + list.add(present_confOverlay);
          if (present_confOverlay)
    - builder.append(confOverlay);
    + list.add(confOverlay);

          boolean present_runAsync = true && (isSetRunAsync());
    - builder.append(present_runAsync);
    + list.add(present_runAsync);
          if (present_runAsync)
    - builder.append(runAsync);
    + list.add(runAsync);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TExecuteStatementReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TExecuteStatementReq typedOther = (TExecuteStatementReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetStatement()).compareTo(typedOther.isSetStatement());
    + lastComparison = Boolean.valueOf(isSetStatement()).compareTo(other.isSetStatement());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatement()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statement, typedOther.statement);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statement, other.statement);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetConfOverlay()).compareTo(typedOther.isSetConfOverlay());
    + lastComparison = Boolean.valueOf(isSetConfOverlay()).compareTo(other.isSetConfOverlay());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetConfOverlay()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.confOverlay, typedOther.confOverlay);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.confOverlay, other.confOverlay);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetRunAsync()).compareTo(typedOther.isSetRunAsync());
    + lastComparison = Boolean.valueOf(isSetRunAsync()).compareTo(other.isSetRunAsync());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetRunAsync()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAsync, typedOther.runAsync);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAsync, other.runAsync);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -626,13 +619,13 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
                    {
                      org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin();
                      struct.confOverlay = new HashMap<String,String>(2*_map162.size);
    - for (int _i163 = 0; _i163 < _map162.size; ++_i163)
    + String _key163;
    + String _val164;
    + for (int _i165 = 0; _i165 < _map162.size; ++_i165)
                      {
    - String _key164; // required
    - String _val165; // required
    - _key164 = iprot.readString();
    - _val165 = iprot.readString();
    - struct.confOverlay.put(_key164, _val165);
    + _key163 = iprot.readString();
    + _val164 = iprot.readString();
    + struct.confOverlay.put(_key163, _val164);
                      }
                      iprot.readMapEnd();
                    }
    @@ -747,13 +740,13 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
              {
                org.apache.thrift.protocol.TMap _map168 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                struct.confOverlay = new HashMap<String,String>(2*_map168.size);
    - for (int _i169 = 0; _i169 < _map168.size; ++_i169)
    + String _key169;
    + String _val170;
    + for (int _i171 = 0; _i171 < _map168.size; ++_i171)
                {
    - String _key170; // required
    - String _val171; // required
    - _key170 = iprot.readString();
    - _val171 = iprot.readString();
    - struct.confOverlay.put(_key170, _val171);
    + _key169 = iprot.readString();
    + _val170 = iprot.readString();
    + struct.confOverlay.put(_key169, _val170);
                }
              }
              struct.setConfOverlayIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    index fdde51e..0ddf82a 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteStatementResp, TExecuteStatementResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteStatementResp, TExecuteStatementResp._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteSt
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteSt

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TExecuteStatementResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TExecuteStatementResp typedOther = (TExecuteStatementResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    index b2a22ef..64713e8 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    index 068711f..87cbe12 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsReq, TFetchResultsReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsReq, TFetchResultsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsReq");

        private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -125,7 +129,7 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe
        private static final int __MAXROWS_ISSET_ID = 0;
        private static final int __FETCHTYPE_ISSET_ID = 1;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.FETCH_TYPE};
    + private static final _Fields optionals[] = {_Fields.FETCH_TYPE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -416,75 +420,75 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

          boolean present_orientation = true && (isSetOrientation());
    - builder.append(present_orientation);
    + list.add(present_orientation);
          if (present_orientation)
    - builder.append(orientation.getValue());
    + list.add(orientation.getValue());

          boolean present_maxRows = true;
    - builder.append(present_maxRows);
    + list.add(present_maxRows);
          if (present_maxRows)
    - builder.append(maxRows);
    + list.add(maxRows);

          boolean present_fetchType = true && (isSetFetchType());
    - builder.append(present_fetchType);
    + list.add(present_fetchType);
          if (present_fetchType)
    - builder.append(fetchType);
    + list.add(fetchType);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TFetchResultsReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TFetchResultsReq typedOther = (TFetchResultsReq)other;

    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOrientation()).compareTo(typedOther.isSetOrientation());
    + lastComparison = Boolean.valueOf(isSetOrientation()).compareTo(other.isSetOrientation());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOrientation()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orientation, typedOther.orientation);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orientation, other.orientation);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(typedOther.isSetMaxRows());
    + lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(other.isSetMaxRows());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetMaxRows()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, other.maxRows);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetFetchType()).compareTo(typedOther.isSetFetchType());
    + lastComparison = Boolean.valueOf(isSetFetchType()).compareTo(other.isSetFetchType());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetFetchType()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchType, typedOther.fetchType);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchType, other.fetchType);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -605,7 +609,7 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe
                  break;
                case 2: // ORIENTATION
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.orientation = TFetchOrientation.findByValue(iprot.readI32());
    + struct.orientation = org.apache.hive.service.cli.thrift.TFetchOrientation.findByValue(iprot.readI32());
                    struct.setOrientationIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -694,7 +698,7 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe
            struct.operationHandle = new TOperationHandle();
            struct.operationHandle.read(iprot);
            struct.setOperationHandleIsSet(true);
    - struct.orientation = TFetchOrientation.findByValue(iprot.readI32());
    + struct.orientation = org.apache.hive.service.cli.thrift.TFetchOrientation.findByValue(iprot.readI32());
            struct.setOrientationIsSet(true);
            struct.maxRows = iprot.readI64();
            struct.setMaxRowsIsSet(true);
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    index efd571c..4a02643 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolColumn._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolColumn");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo
         */
        public TBoolColumn(TBoolColumn other) {
          if (other.isSetValues()) {
    - List<Boolean> __this__values = new ArrayList<Boolean>();
    - for (Boolean other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Boolean> __this__values = new ArrayList<Boolean>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TBoolColumn other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TBoolColumn typedOther = (TBoolColumn)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo
                    {
                      org.apache.thrift.protocol.TList _list54 = iprot.readListBegin();
                      struct.values = new ArrayList<Boolean>(_list54.size);
    - for (int _i55 = 0; _i55 < _list54.size; ++_i55)
    + boolean _elem55;
    + for (int _i56 = 0; _i56 < _list54.size; ++_i56)
                      {
    - boolean _elem56; // optional
    - _elem56 = iprot.readBool();
    - struct.values.add(_elem56);
    + _elem55 = iprot.readBool();
    + struct.values.add(_elem55);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolCo
            {
              org.apache.thrift.protocol.TList _list59 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, iprot.readI32());
              struct.values = new ArrayList<Boolean>(_list59.size);
    - for (int _i60 = 0; _i60 < _list59.size; ++_i60)
    + boolean _elem60;
    + for (int _i61 = 0; _i61 < _list59.size; ++_i61)
              {
    - boolean _elem61; // optional
    - _elem61 = iprot.readBool();
    - struct.values.add(_elem61);
    + _elem60 = iprot.readBool();
    + struct.values.add(_elem60);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    index c7495ee..06f3c5f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValue._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValue._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolValue");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.BOOL, (short)1);
    @@ -105,7 +109,7 @@ public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValu
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValu

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TBoolValue other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TBoolValue typedOther = (TBoolValue)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    index 169bfde..e99d02c 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteColumn._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TByteColumn> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteColumn");

        private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
    @@ -129,7 +133,7 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo
        {
          this();
          this.values = values;
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        /**
    @@ -137,15 +141,11 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo
         */
        public TByteColumn(TByteColumn other) {
          if (other.isSetValues()) {
    - List<Byte> __this__values = new ArrayList<Byte>();
    - for (Byte other_element : other.values) {
    - __this__values.add(other_element);
    - }
    + List<Byte> __this__values = new ArrayList<Byte>(other.values);
            this.values = __this__values;
          }
          if (other.isSetNulls()) {
            this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
    -;
          }
        }

    @@ -203,15 +203,15 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo
        }

        public ByteBuffer bufferForNulls() {
    - return nulls;
    + return org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void setNulls(byte[] nulls) {
    - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls));
    + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length));
        }

        public void setNulls(ByteBuffer nulls) {
    - this.nulls = nulls;
    + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls);
        }

        public void unsetNulls() {
    @@ -313,45 +313,45 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_values = true && (isSetValues());
    - builder.append(present_values);
    + list.add(present_values);
          if (present_values)
    - builder.append(values);
    + list.add(values);

          boolean present_nulls = true && (isSetNulls());
    - builder.append(present_nulls);
    + list.add(present_nulls);
          if (present_nulls)
    - builder.append(nulls);
    + list.add(nulls);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TByteColumn other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TByteColumn typedOther = (TByteColumn)other;

    - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
    + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValues()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls());
    + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetNulls()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -447,11 +447,11 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo
                    {
                      org.apache.thrift.protocol.TList _list62 = iprot.readListBegin();
                      struct.values = new ArrayList<Byte>(_list62.size);
    - for (int _i63 = 0; _i63 < _list62.size; ++_i63)
    + byte _elem63;
    + for (int _i64 = 0; _i64 < _list62.size; ++_i64)
                      {
    - byte _elem64; // optional
    - _elem64 = iprot.readByte();
    - struct.values.add(_elem64);
    + _elem63 = iprot.readByte();
    + struct.values.add(_elem63);
                      }
                      iprot.readListEnd();
                    }
    @@ -531,11 +531,11 @@ public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteCo
            {
              org.apache.thrift.protocol.TList _list67 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BYTE, iprot.readI32());
              struct.values = new ArrayList<Byte>(_list67.size);
    - for (int _i68 = 0; _i68 < _list67.size; ++_i68)
    + byte _elem68;
    + for (int _i69 = 0; _i69 < _list67.size; ++_i69)
              {
    - byte _elem69; // optional
    - _elem69 = iprot.readByte();
    - struct.values.add(_elem69);
    + _elem68 = iprot.readByte();
    + struct.values.add(_elem68);
              }
            }
            struct.setValuesIsSet(true);

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    index 23d9693..0ccc5ab 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValue._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValue._Fields>, java.io.Serializable, Cloneable, Comparable<TByteValue> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteValue");

        private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.BYTE, (short)1);
    @@ -105,7 +109,7 @@ public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValu
        // isset id assignments
        private static final int __VALUE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.VALUE};
    + private static final _Fields optionals[] = {_Fields.VALUE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -220,30 +224,30 @@ public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValu

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_value = true && (isSetValue());
    - builder.append(present_value);
    + list.add(present_value);
          if (present_value)
    - builder.append(value);
    + list.add(value);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TByteValue other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TByteValue typedOther = (TByteValue)other;

    - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
    + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
            if (lastComparison != 0) {
              return lastComparison;
            }
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    index 19991f1..3f8dbb8 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsResp, TFetchResultsResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsResp, TFetchResultsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -115,7 +119,7 @@ public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsR
        // isset id assignments
        private static final int __HASMOREROWS_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.HAS_MORE_ROWS,_Fields.RESULTS};
    + private static final _Fields optionals[] = {_Fields.HAS_MORE_ROWS,_Fields.RESULTS};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -339,60 +343,60 @@ public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsR

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_hasMoreRows = true && (isSetHasMoreRows());
    - builder.append(present_hasMoreRows);
    + list.add(present_hasMoreRows);
          if (present_hasMoreRows)
    - builder.append(hasMoreRows);
    + list.add(hasMoreRows);

          boolean present_results = true && (isSetResults());
    - builder.append(present_results);
    + list.add(present_results);
          if (present_results)
    - builder.append(results);
    + list.add(results);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TFetchResultsResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TFetchResultsResp typedOther = (TFetchResultsResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetHasMoreRows()).compareTo(typedOther.isSetHasMoreRows());
    + lastComparison = Boolean.valueOf(isSetHasMoreRows()).compareTo(other.isSetHasMoreRows());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetHasMoreRows()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMoreRows, typedOther.hasMoreRows);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMoreRows, other.hasMoreRows);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetResults()).compareTo(typedOther.isSetResults());
    + lastComparison = Boolean.valueOf(isSetResults()).compareTo(other.isSetResults());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetResults()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.results, typedOther.results);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.results, other.results);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    index cfd157f..41c5b4b 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetCatalogsReq implements org.apache.thrift.TBase<TGetCatalogsReq, TGetCatalogsReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetCatalogsReq implements org.apache.thrift.TBase<TGetCatalogsReq, TGetCatalogsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TGetCatalogsReq implements org.apache.thrift.TBase<TGetCatalogsReq,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetCatalogsReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetCatalogsReq typedOther = (TGetCatalogsReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    index 1c5a354..cae7341 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsResp, TGetCatalogsResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsResp, TGetCatalogsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsRes
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsRes

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetCatalogsResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetCatalogsResp typedOther = (TGetCatalogsResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    index a2c793b..bbde470 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, TGetColumnsReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, TGetColumnsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -123,7 +127,7 @@ public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, T
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.COLUMN_NAME};
    + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.COLUMN_NAME};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -450,90 +454,90 @@ public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, T

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_catalogName = true && (isSetCatalogName());
    - builder.append(present_catalogName);
    + list.add(present_catalogName);
          if (present_catalogName)
    - builder.append(catalogName);
    + list.add(catalogName);

          boolean present_schemaName = true && (isSetSchemaName());
    - builder.append(present_schemaName);
    + list.add(present_schemaName);
          if (present_schemaName)
    - builder.append(schemaName);
    + list.add(schemaName);

          boolean present_tableName = true && (isSetTableName());
    - builder.append(present_tableName);
    + list.add(present_tableName);
          if (present_tableName)
    - builder.append(tableName);
    + list.add(tableName);

          boolean present_columnName = true && (isSetColumnName());
    - builder.append(present_columnName);
    + list.add(present_columnName);
          if (present_columnName)
    - builder.append(columnName);
    + list.add(columnName);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetColumnsReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetColumnsReq typedOther = (TGetColumnsReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName());
    + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetCatalogName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName());
    + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSchemaName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
    + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetTableName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName());
    + lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetColumnName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    index d6cf1be..a180dab 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp, TGetColumnsResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp, TGetColumnsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp,
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp,

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetColumnsResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetColumnsResp typedOther = (TGetColumnsResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    index 6c6bb00..87fe609 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetDelegationTokenReq implements org.apache.thrift.TBase<TGetDelegationTokenReq, TGetDelegationTokenReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetDelegationTokenReq implements org.apache.thrift.TBase<TGetDelegationTokenReq, TGetDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -341,60 +345,60 @@ public class TGetDelegationTokenReq implements org.apache.thrift.TBase<TGetDeleg

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_owner = true && (isSetOwner());
    - builder.append(present_owner);
    + list.add(present_owner);
          if (present_owner)
    - builder.append(owner);
    + list.add(owner);

          boolean present_renewer = true && (isSetRenewer());
    - builder.append(present_renewer);
    + list.add(present_renewer);
          if (present_renewer)
    - builder.append(renewer);
    + list.add(renewer);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetDelegationTokenReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetDelegationTokenReq typedOther = (TGetDelegationTokenReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOwner()).compareTo(typedOther.isSetOwner());
    + lastComparison = Boolean.valueOf(isSetOwner()).compareTo(other.isSetOwner());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOwner()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, typedOther.owner);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, other.owner);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetRenewer()).compareTo(typedOther.isSetRenewer());
    + lastComparison = Boolean.valueOf(isSetRenewer()).compareTo(other.isSetRenewer());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetRenewer()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer, typedOther.renewer);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer, other.renewer);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    index d14c5e0..93894d3 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDelegationTokenResp, TGetDelegationTokenResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDelegationTokenResp, TGetDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDele
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.DELEGATION_TOKEN};
    + private static final _Fields optionals[] = {_Fields.DELEGATION_TOKEN};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDele

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_delegationToken = true && (isSetDelegationToken());
    - builder.append(present_delegationToken);
    + list.add(present_delegationToken);
          if (present_delegationToken)
    - builder.append(delegationToken);
    + list.add(delegationToken);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetDelegationTokenResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetDelegationTokenResp typedOther = (TGetDelegationTokenResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken());
    + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetDelegationToken()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    index ff45ee0..034e4b0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsReq, TGetFunctionsReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsReq, TGetFunctionsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -118,7 +122,7 @@ public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsRe
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME};
    + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -396,75 +400,75 @@ public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsRe

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_catalogName = true && (isSetCatalogName());
    - builder.append(present_catalogName);
    + list.add(present_catalogName);
          if (present_catalogName)
    - builder.append(catalogName);
    + list.add(catalogName);

          boolean present_schemaName = true && (isSetSchemaName());
    - builder.append(present_schemaName);
    + list.add(present_schemaName);
          if (present_schemaName)
    - builder.append(schemaName);
    + list.add(schemaName);

          boolean present_functionName = true && (isSetFunctionName());
    - builder.append(present_functionName);
    + list.add(present_functionName);
          if (present_functionName)
    - builder.append(functionName);
    + list.add(functionName);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetFunctionsReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetFunctionsReq typedOther = (TGetFunctionsReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName());
    + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetCatalogName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName());
    + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSchemaName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(typedOther.isSetFunctionName());
    + lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(other.isSetFunctionName());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetFunctionName()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, typedOther.functionName);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, other.functionName);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    index 3adafda..1c2ba7a 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsResp, TGetFunctionsResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsResp, TGetFunctionsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsR
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.OPERATION_HANDLE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsR

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetFunctionsResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetFunctionsResp typedOther = (TGetFunctionsResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    index 0139bf0..6110e92 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInfoReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoReq");

        private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -295,45 +299,45 @@ public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInf

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_sessionHandle = true && (isSetSessionHandle());
    - builder.append(present_sessionHandle);
    + list.add(present_sessionHandle);
          if (present_sessionHandle)
    - builder.append(sessionHandle);
    + list.add(sessionHandle);

          boolean present_infoType = true && (isSetInfoType());
    - builder.append(present_infoType);
    + list.add(present_infoType);
          if (present_infoType)
    - builder.append(infoType.getValue());
    + list.add(infoType.getValue());

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetInfoReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetInfoReq typedOther = (TGetInfoReq)other;

    - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle());
    + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSessionHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetInfoType()).compareTo(typedOther.isSetInfoType());
    + lastComparison = Boolean.valueOf(isSetInfoType()).compareTo(other.isSetInfoType());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetInfoType()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoType, typedOther.infoType);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoType, other.infoType);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -438,7 +442,7 @@ public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInf
                  break;
                case 2: // INFO_TYPE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.infoType = TGetInfoType.findByValue(iprot.readI32());
    + struct.infoType = org.apache.hive.service.cli.thrift.TGetInfoType.findByValue(iprot.readI32());
                    struct.setInfoTypeIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -494,7 +498,7 @@ public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInf
            struct.sessionHandle = new TSessionHandle();
            struct.sessionHandle.read(iprot);
            struct.setSessionHandleIsSet(true);
    - struct.infoType = TGetInfoType.findByValue(iprot.readI32());
    + struct.infoType = org.apache.hive.service.cli.thrift.TGetInfoType.findByValue(iprot.readI32());
            struct.setInfoTypeIsSet(true);
          }
        }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    index 2faaa92..61d04c0 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetInfoResp implements org.apache.thrift.TBase<TGetInfoResp, TGetInfoResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetInfoResp implements org.apache.thrift.TBase<TGetInfoResp, TGetInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -283,45 +287,45 @@ public class TGetInfoResp implements org.apache.thrift.TBase<TGetInfoResp, TGetI

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_infoValue = true && (isSetInfoValue());
    - builder.append(present_infoValue);
    + list.add(present_infoValue);
          if (present_infoValue)
    - builder.append(infoValue);
    + list.add(infoValue);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetInfoResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetInfoResp typedOther = (TGetInfoResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetInfoValue()).compareTo(typedOther.isSetInfoValue());
    + lastComparison = Boolean.valueOf(isSetInfoValue()).compareTo(other.isSetInfoValue());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetInfoValue()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoValue, typedOther.infoValue);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoValue, other.infoValue);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    index d9dd624..f4dc73d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    index 4fe59b1..af1224d 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,9 +29,11 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
      public class TGetInfoValue extends org.apache.thrift.TUnion<TGetInfoValue, TGetInfoValue._Fields> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoValue");
        private static final org.apache.thrift.protocol.TField STRING_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("stringValue", org.apache.thrift.protocol.TType.STRING, (short)1);
    @@ -285,6 +288,7 @@ public class TGetInfoValue extends org.apache.thrift.TUnion<TGetInfoValue, TGetI
                throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
            }
          } else {
    + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
            return null;
          }
        }
    @@ -558,19 +562,19 @@ public class TGetInfoValue extends org.apache.thrift.TUnion<TGetInfoValue, TGetI

        @Override
        public int hashCode() {
    - HashCodeBuilder hcb = new HashCodeBuilder();
    - hcb.append(this.getClass().getName());
    + List<Object> list = new ArrayList<Object>();
    + list.add(this.getClass().getName());
          org.apache.thrift.TFieldIdEnum setField = getSetField();
          if (setField != null) {
    - hcb.append(setField.getThriftFieldId());
    + list.add(setField.getThriftFieldId());
            Object value = getFieldValue();
            if (value instanceof org.apache.thrift.TEnum) {
    - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
    + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
            } else {
    - hcb.append(value);
    + list.add(value);
            }
          }
    - return hcb.toHashCode();
    + return list.hashCode();
        }
        private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
          try {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    index b88591e..0dd2b2e 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetOperationStatusReq implements org.apache.thrift.TBase<TGetOperationStatusReq, TGetOperationStatusReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetOperationStatusReq implements org.apache.thrift.TBase<TGetOperationStatusReq, TGetOperationStatusReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusReq");

        private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TGetOperationStatusReq implements org.apache.thrift.TBase<TGetOpera

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetOperationStatusReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetOperationStatusReq typedOther = (TGetOperationStatusReq)other;

    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    index 94ba6bb..0c7e61f 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOperationStatusResp, TGetOperationStatusResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOperationStatusResp, TGetOperationStatusResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -129,7 +133,7 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper
        // isset id assignments
        private static final int __ERRORCODE_ISSET_ID = 0;
        private byte __isset_bitfield = 0;
    - private _Fields optionals[] = {_Fields.OPERATION_STATE,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE};
    + private static final _Fields optionals[] = {_Fields.OPERATION_STATE,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -463,90 +467,90 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_operationState = true && (isSetOperationState());
    - builder.append(present_operationState);
    + list.add(present_operationState);
          if (present_operationState)
    - builder.append(operationState.getValue());
    + list.add(operationState.getValue());

          boolean present_sqlState = true && (isSetSqlState());
    - builder.append(present_sqlState);
    + list.add(present_sqlState);
          if (present_sqlState)
    - builder.append(sqlState);
    + list.add(sqlState);

          boolean present_errorCode = true && (isSetErrorCode());
    - builder.append(present_errorCode);
    + list.add(present_errorCode);
          if (present_errorCode)
    - builder.append(errorCode);
    + list.add(errorCode);

          boolean present_errorMessage = true && (isSetErrorMessage());
    - builder.append(present_errorMessage);
    + list.add(present_errorMessage);
          if (present_errorMessage)
    - builder.append(errorMessage);
    + list.add(errorMessage);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetOperationStatusResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetOperationStatusResp typedOther = (TGetOperationStatusResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetOperationState()).compareTo(typedOther.isSetOperationState());
    + lastComparison = Boolean.valueOf(isSetOperationState()).compareTo(other.isSetOperationState());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationState()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationState, typedOther.operationState);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationState, other.operationState);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(typedOther.isSetSqlState());
    + lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(other.isSetSqlState());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSqlState()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, typedOther.sqlState);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, other.sqlState);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode());
    + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetErrorCode()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(typedOther.isSetErrorMessage());
    + lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetErrorMessage()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, typedOther.errorMessage);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage);
            if (lastComparison != 0) {
              return lastComparison;
            }
    @@ -677,7 +681,7 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper
                  break;
                case 2: // OPERATION_STATE
                  if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
    - struct.operationState = TOperationState.findByValue(iprot.readI32());
    + struct.operationState = org.apache.hive.service.cli.thrift.TOperationState.findByValue(iprot.readI32());
                    struct.setOperationStateIsSet(true);
                  } else {
                    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    @@ -805,7 +809,7 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper
            struct.setStatusIsSet(true);
            BitSet incoming = iprot.readBitSet(4);
            if (incoming.get(0)) {
    - struct.operationState = TOperationState.findByValue(iprot.readI32());
    + struct.operationState = org.apache.hive.service.cli.thrift.TOperationState.findByValue(iprot.readI32());
              struct.setOperationStateIsSet(true);
            }
            if (incoming.get(1)) {

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    index 3bf363c..77ee850 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetResultSetMetadataReq implements org.apache.thrift.TBase<TGetResultSetMetadataReq, TGetResultSetMetadataReq._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetResultSetMetadataReq implements org.apache.thrift.TBase<TGetResultSetMetadataReq, TGetResultSetMetadataReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataReq> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataReq");

        private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -225,30 +229,30 @@ public class TGetResultSetMetadataReq implements org.apache.thrift.TBase<TGetRes

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_operationHandle = true && (isSetOperationHandle());
    - builder.append(present_operationHandle);
    + list.add(present_operationHandle);
          if (present_operationHandle)
    - builder.append(operationHandle);
    + list.add(operationHandle);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetResultSetMetadataReq other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetResultSetMetadataReq typedOther = (TGetResultSetMetadataReq)other;

    - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle());
    + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetOperationHandle()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle);
            if (lastComparison != 0) {
              return lastComparison;
            }

    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    index a9bef9f..9dbed7a 100644
    --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
    @@ -1,12 +1,11 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
       */
      package org.apache.hive.service.cli.thrift;

    -import org.apache.commons.lang.builder.HashCodeBuilder;
      import org.apache.thrift.scheme.IScheme;
      import org.apache.thrift.scheme.SchemeFactory;
      import org.apache.thrift.scheme.StandardScheme;
    @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
      import org.apache.thrift.protocol.TProtocolException;
      import org.apache.thrift.EncodingUtils;
      import org.apache.thrift.TException;
    +import org.apache.thrift.async.AsyncMethodCallback;
    +import org.apache.thrift.server.AbstractNonblockingServer.*;
      import java.util.List;
      import java.util.ArrayList;
      import java.util.Map;
    @@ -28,10 +29,13 @@ import java.util.Collections;
      import java.util.BitSet;
      import java.nio.ByteBuffer;
      import java.util.Arrays;
    +import javax.annotation.Generated;
      import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

    -public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetResultSetMetadataResp, TGetResultSetMetadataResp._Fields>, java.io.Serializable, Cloneable {
    +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
    +public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetResultSetMetadataResp, TGetResultSetMetadataResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataResp> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataResp");

        private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1);
    @@ -108,7 +112,7 @@ public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetRe
        }

        // isset id assignments
    - private _Fields optionals[] = {_Fields.SCHEMA};
    + private static final _Fields optionals[] = {_Fields.SCHEMA};
        public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
        static {
          Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    @@ -282,45 +286,45 @@ public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetRe

        @Override
        public int hashCode() {
    - HashCodeBuilder builder = new HashCodeBuilder();
    + List<Object> list = new ArrayList<Object>();

          boolean present_status = true && (isSetStatus());
    - builder.append(present_status);
    + list.add(present_status);
          if (present_status)
    - builder.append(status);
    + list.add(status);

          boolean present_schema = true && (isSetSchema());
    - builder.append(present_schema);
    + list.add(present_schema);
          if (present_schema)
    - builder.append(schema);
    + list.add(schema);

    - return builder.toHashCode();
    + return list.hashCode();
        }

    + @Override
        public int compareTo(TGetResultSetMetadataResp other) {
          if (!getClass().equals(other.getClass())) {
            return getClass().getName().compareTo(other.getClass().getName());
          }

          int lastComparison = 0;
    - TGetResultSetMetadataResp typedOther = (TGetResultSetMetadataResp)other;

    - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
    + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetStatus()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status);
            if (lastComparison != 0) {
              return lastComparison;
            }
          }
    - lastComparison = Boolean.valueOf(isSetSchema()).compareTo(typedOther.isSetSchema());
    + lastComparison = Boolean.valueOf(isSetSchema()).compareTo(other.isSetSchema());
          if (lastComparison != 0) {
            return lastComparison;
          }
          if (isSetSchema()) {
    - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schema, typedOther.schema);
    + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schema, other.schema);
            if (lastComparison != 0) {
              return lastComparison;
            }
  • Sunchao at Jul 17, 2015 at 7:52 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    index 86eeea3..742cfdc 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.0)
    + * Autogenerated by Thrift Compiler (0.9.2)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -7,6 +7,9 @@
      #include "TCLIService_types.h"

      #include <algorithm>
    +#include <ostream>
    +
    +#include <thrift/TToString.h>

      namespace apache { namespace hive { namespace service { namespace cli { namespace thrift {

    @@ -262,6 +265,21 @@ const char* _kTFetchOrientationNames[] = {
      };
      const std::map<int, const char*> _TFetchOrientation_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(6, _kTFetchOrientationValues, _kTFetchOrientationNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));

    +
    +TTypeQualifierValue::~TTypeQualifierValue() throw() {
    +}
    +
    +
    +void TTypeQualifierValue::__set_i32Value(const int32_t val) {
    + this->i32Value = val;
    +__isset.i32Value = true;
    +}
    +
    +void TTypeQualifierValue::__set_stringValue(const std::string& val) {
    + this->stringValue = val;
    +__isset.stringValue = true;
    +}
    +
      const char* TTypeQualifierValue::ascii_fingerprint = "A7801670116150C65ACA43E6F679BA79";
      const uint8_t TTypeQualifierValue::binary_fingerprint[16] = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};

    @@ -315,6 +333,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TTypeQualifierValue");

        if (this->__isset.i32Value) {
    @@ -329,6 +348,7 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -339,6 +359,35 @@ void swap(TTypeQualifierValue &a, TTypeQualifierValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TTypeQualifierValue::TTypeQualifierValue(const TTypeQualifierValue& other0) {
    + i32Value = other0.i32Value;
    + stringValue = other0.stringValue;
    + __isset = other0.__isset;
    +}
    +TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& other1) {
    + i32Value = other1.i32Value;
    + stringValue = other1.stringValue;
    + __isset = other1.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) {
    + using apache::thrift::to_string;
    + out << "TTypeQualifierValue(";
    + out << "i32Value="; (obj.__isset.i32Value ? (out << to_string(obj.i32Value)) : (out << "<null>"));
    + out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TTypeQualifiers::~TTypeQualifiers() throw() {
    +}
    +
    +
    +void TTypeQualifiers::__set_qualifiers(const std::map<std::string, TTypeQualifierValue> & val) {
    + this->qualifiers = val;
    +}
    +
      const char* TTypeQualifiers::ascii_fingerprint = "6C72981CFA989214285648FA8C196C47";
      const uint8_t TTypeQualifiers::binary_fingerprint[16] = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};

    @@ -367,17 +416,17 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_MAP) {
                {
                  this->qualifiers.clear();
    - uint32_t _size0;
    - ::apache::thrift::protocol::TType _ktype1;
    - ::apache::thrift::protocol::TType _vtype2;
    - xfer += iprot->readMapBegin(_ktype1, _vtype2, _size0);
    - uint32_t _i4;
    - for (_i4 = 0; _i4 < _size0; ++_i4)
    + uint32_t _size2;
    + ::apache::thrift::protocol::TType _ktype3;
    + ::apache::thrift::protocol::TType _vtype4;
    + xfer += iprot->readMapBegin(_ktype3, _vtype4, _size2);
    + uint32_t _i6;
    + for (_i6 = 0; _i6 < _size2; ++_i6)
                  {
    - std::string _key5;
    - xfer += iprot->readString(_key5);
    - TTypeQualifierValue& _val6 = this->qualifiers[_key5];
    - xfer += _val6.read(iprot);
    + std::string _key7;
    + xfer += iprot->readString(_key7);
    + TTypeQualifierValue& _val8 = this->qualifiers[_key7];
    + xfer += _val8.read(iprot);
                  }
                  xfer += iprot->readMapEnd();
                }
    @@ -402,16 +451,17 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TTypeQualifiers");

        xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1);
        {
          xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->qualifiers.size()));
    - std::map<std::string, TTypeQualifierValue> ::const_iterator _iter7;
    - for (_iter7 = this->qualifiers.begin(); _iter7 != this->qualifiers.end(); ++_iter7)
    + std::map<std::string, TTypeQualifierValue> ::const_iterator _iter9;
    + for (_iter9 = this->qualifiers.begin(); _iter9 != this->qualifiers.end(); ++_iter9)
          {
    - xfer += oprot->writeString(_iter7->first);
    - xfer += _iter7->second.write(oprot);
    + xfer += oprot->writeString(_iter9->first);
    + xfer += _iter9->second.write(oprot);
          }
          xfer += oprot->writeMapEnd();
        }
    @@ -419,6 +469,7 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -427,6 +478,35 @@ void swap(TTypeQualifiers &a, TTypeQualifiers &b) {
        swap(a.qualifiers, b.qualifiers);
      }

    +TTypeQualifiers::TTypeQualifiers(const TTypeQualifiers& other10) {
    + qualifiers = other10.qualifiers;
    +}
    +TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) {
    + qualifiers = other11.qualifiers;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) {
    + using apache::thrift::to_string;
    + out << "TTypeQualifiers(";
    + out << "qualifiers=" << to_string(obj.qualifiers);
    + out << ")";
    + return out;
    +}
    +
    +
    +TPrimitiveTypeEntry::~TPrimitiveTypeEntry() throw() {
    +}
    +
    +
    +void TPrimitiveTypeEntry::__set_type(const TTypeId::type val) {
    + this->type = val;
    +}
    +
    +void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& val) {
    + this->typeQualifiers = val;
    +__isset.typeQualifiers = true;
    +}
    +
      const char* TPrimitiveTypeEntry::ascii_fingerprint = "755674F6A5C8EB47868686AE386FBC1C";
      const uint8_t TPrimitiveTypeEntry::binary_fingerprint[16] = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};

    @@ -453,9 +533,9 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot)
          {
            case 1:
              if (ftype == ::apache::thrift::protocol::T_I32) {
    - int32_t ecast8;
    - xfer += iprot->readI32(ecast8);
    - this->type = (TTypeId::type)ecast8;
    + int32_t ecast12;
    + xfer += iprot->readI32(ecast12);
    + this->type = (TTypeId::type)ecast12;
                isset_type = true;
              } else {
                xfer += iprot->skip(ftype);
    @@ -485,6 +565,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot)

      uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TPrimitiveTypeEntry");

        xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1);
    @@ -498,6 +579,7 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -508,6 +590,35 @@ void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b) {
        swap(a.__isset, b.__isset);
      }

    +TPrimitiveTypeEntry::TPrimitiveTypeEntry(const TPrimitiveTypeEntry& other13) {
    + type = other13.type;
    + typeQualifiers = other13.typeQualifiers;
    + __isset = other13.__isset;
    +}
    +TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& other14) {
    + type = other14.type;
    + typeQualifiers = other14.typeQualifiers;
    + __isset = other14.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TPrimitiveTypeEntry(";
    + out << "type=" << to_string(obj.type);
    + out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TArrayTypeEntry::~TArrayTypeEntry() throw() {
    +}
    +
    +
    +void TArrayTypeEntry::__set_objectTypePtr(const TTypeEntryPtr val) {
    + this->objectTypePtr = val;
    +}
    +
      const char* TArrayTypeEntry::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
      const uint8_t TArrayTypeEntry::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};

    @@ -556,6 +667,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TArrayTypeEntry");

        xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -564,6 +676,7 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -572,6 +685,34 @@ void swap(TArrayTypeEntry &a, TArrayTypeEntry &b) {
        swap(a.objectTypePtr, b.objectTypePtr);
      }

    +TArrayTypeEntry::TArrayTypeEntry(const TArrayTypeEntry& other15) {
    + objectTypePtr = other15.objectTypePtr;
    +}
    +TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) {
    + objectTypePtr = other16.objectTypePtr;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TArrayTypeEntry(";
    + out << "objectTypePtr=" << to_string(obj.objectTypePtr);
    + out << ")";
    + return out;
    +}
    +
    +
    +TMapTypeEntry::~TMapTypeEntry() throw() {
    +}
    +
    +
    +void TMapTypeEntry::__set_keyTypePtr(const TTypeEntryPtr val) {
    + this->keyTypePtr = val;
    +}
    +
    +void TMapTypeEntry::__set_valueTypePtr(const TTypeEntryPtr val) {
    + this->valueTypePtr = val;
    +}
    +
      const char* TMapTypeEntry::ascii_fingerprint = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
      const uint8_t TMapTypeEntry::binary_fingerprint[16] = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};

    @@ -631,6 +772,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TMapTypeEntry");

        xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -643,6 +785,7 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -652,6 +795,33 @@ void swap(TMapTypeEntry &a, TMapTypeEntry &b) {
        swap(a.valueTypePtr, b.valueTypePtr);
      }

    +TMapTypeEntry::TMapTypeEntry(const TMapTypeEntry& other17) {
    + keyTypePtr = other17.keyTypePtr;
    + valueTypePtr = other17.valueTypePtr;
    +}
    +TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) {
    + keyTypePtr = other18.keyTypePtr;
    + valueTypePtr = other18.valueTypePtr;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TMapTypeEntry(";
    + out << "keyTypePtr=" << to_string(obj.keyTypePtr);
    + out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr);
    + out << ")";
    + return out;
    +}
    +
    +
    +TStructTypeEntry::~TStructTypeEntry() throw() {
    +}
    +
    +
    +void TStructTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntryPtr> & val) {
    + this->nameToTypePtr = val;
    +}
    +
      const char* TStructTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
      const uint8_t TStructTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};

    @@ -680,17 +850,17 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_MAP) {
                {
                  this->nameToTypePtr.clear();
    - uint32_t _size9;
    - ::apache::thrift::protocol::TType _ktype10;
    - ::apache::thrift::protocol::TType _vtype11;
    - xfer += iprot->readMapBegin(_ktype10, _vtype11, _size9);
    - uint32_t _i13;
    - for (_i13 = 0; _i13 < _size9; ++_i13)
    + uint32_t _size19;
    + ::apache::thrift::protocol::TType _ktype20;
    + ::apache::thrift::protocol::TType _vtype21;
    + xfer += iprot->readMapBegin(_ktype20, _vtype21, _size19);
    + uint32_t _i23;
    + for (_i23 = 0; _i23 < _size19; ++_i23)
                  {
    - std::string _key14;
    - xfer += iprot->readString(_key14);
    - TTypeEntryPtr& _val15 = this->nameToTypePtr[_key14];
    - xfer += iprot->readI32(_val15);
    + std::string _key24;
    + xfer += iprot->readString(_key24);
    + TTypeEntryPtr& _val25 = this->nameToTypePtr[_key24];
    + xfer += iprot->readI32(_val25);
                  }
                  xfer += iprot->readMapEnd();
                }
    @@ -715,16 +885,17 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TStructTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
        {
          xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->nameToTypePtr.size()));
    - std::map<std::string, TTypeEntryPtr> ::const_iterator _iter16;
    - for (_iter16 = this->nameToTypePtr.begin(); _iter16 != this->nameToTypePtr.end(); ++_iter16)
    + std::map<std::string, TTypeEntryPtr> ::const_iterator _iter26;
    + for (_iter26 = this->nameToTypePtr.begin(); _iter26 != this->nameToTypePtr.end(); ++_iter26)
          {
    - xfer += oprot->writeString(_iter16->first);
    - xfer += oprot->writeI32(_iter16->second);
    + xfer += oprot->writeString(_iter26->first);
    + xfer += oprot->writeI32(_iter26->second);
          }
          xfer += oprot->writeMapEnd();
        }
    @@ -732,6 +903,7 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -740,6 +912,30 @@ void swap(TStructTypeEntry &a, TStructTypeEntry &b) {
        swap(a.nameToTypePtr, b.nameToTypePtr);
      }

    +TStructTypeEntry::TStructTypeEntry(const TStructTypeEntry& other27) {
    + nameToTypePtr = other27.nameToTypePtr;
    +}
    +TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) {
    + nameToTypePtr = other28.nameToTypePtr;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TStructTypeEntry(";
    + out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << ")";
    + return out;
    +}
    +
    +
    +TUnionTypeEntry::~TUnionTypeEntry() throw() {
    +}
    +
    +
    +void TUnionTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntryPtr> & val) {
    + this->nameToTypePtr = val;
    +}
    +
      const char* TUnionTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
      const uint8_t TUnionTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};

    @@ -768,17 +964,17 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_MAP) {
                {
                  this->nameToTypePtr.clear();
    - uint32_t _size17;
    - ::apache::thrift::protocol::TType _ktype18;
    - ::apache::thrift::protocol::TType _vtype19;
    - xfer += iprot->readMapBegin(_ktype18, _vtype19, _size17);
    - uint32_t _i21;
    - for (_i21 = 0; _i21 < _size17; ++_i21)
    + uint32_t _size29;
    + ::apache::thrift::protocol::TType _ktype30;
    + ::apache::thrift::protocol::TType _vtype31;
    + xfer += iprot->readMapBegin(_ktype30, _vtype31, _size29);
    + uint32_t _i33;
    + for (_i33 = 0; _i33 < _size29; ++_i33)
                  {
    - std::string _key22;
    - xfer += iprot->readString(_key22);
    - TTypeEntryPtr& _val23 = this->nameToTypePtr[_key22];
    - xfer += iprot->readI32(_val23);
    + std::string _key34;
    + xfer += iprot->readString(_key34);
    + TTypeEntryPtr& _val35 = this->nameToTypePtr[_key34];
    + xfer += iprot->readI32(_val35);
                  }
                  xfer += iprot->readMapEnd();
                }
    @@ -803,16 +999,17 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TUnionTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
        {
          xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->nameToTypePtr.size()));
    - std::map<std::string, TTypeEntryPtr> ::const_iterator _iter24;
    - for (_iter24 = this->nameToTypePtr.begin(); _iter24 != this->nameToTypePtr.end(); ++_iter24)
    + std::map<std::string, TTypeEntryPtr> ::const_iterator _iter36;
    + for (_iter36 = this->nameToTypePtr.begin(); _iter36 != this->nameToTypePtr.end(); ++_iter36)
          {
    - xfer += oprot->writeString(_iter24->first);
    - xfer += oprot->writeI32(_iter24->second);
    + xfer += oprot->writeString(_iter36->first);
    + xfer += oprot->writeI32(_iter36->second);
          }
          xfer += oprot->writeMapEnd();
        }
    @@ -820,6 +1017,7 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -828,6 +1026,30 @@ void swap(TUnionTypeEntry &a, TUnionTypeEntry &b) {
        swap(a.nameToTypePtr, b.nameToTypePtr);
      }

    +TUnionTypeEntry::TUnionTypeEntry(const TUnionTypeEntry& other37) {
    + nameToTypePtr = other37.nameToTypePtr;
    +}
    +TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) {
    + nameToTypePtr = other38.nameToTypePtr;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TUnionTypeEntry(";
    + out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << ")";
    + return out;
    +}
    +
    +
    +TUserDefinedTypeEntry::~TUserDefinedTypeEntry() throw() {
    +}
    +
    +
    +void TUserDefinedTypeEntry::__set_typeClassName(const std::string& val) {
    + this->typeClassName = val;
    +}
    +
      const char* TUserDefinedTypeEntry::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
      const uint8_t TUserDefinedTypeEntry::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};

    @@ -876,6 +1098,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro

      uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TUserDefinedTypeEntry");

        xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -884,6 +1107,7 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -892,6 +1116,50 @@ void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b) {
        swap(a.typeClassName, b.typeClassName);
      }

    +TUserDefinedTypeEntry::TUserDefinedTypeEntry(const TUserDefinedTypeEntry& other39) {
    + typeClassName = other39.typeClassName;
    +}
    +TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEntry& other40) {
    + typeClassName = other40.typeClassName;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TUserDefinedTypeEntry(";
    + out << "typeClassName=" << to_string(obj.typeClassName);
    + out << ")";
    + return out;
    +}
    +
    +
    +TTypeEntry::~TTypeEntry() throw() {
    +}
    +
    +
    +void TTypeEntry::__set_primitiveEntry(const TPrimitiveTypeEntry& val) {
    + this->primitiveEntry = val;
    +}
    +
    +void TTypeEntry::__set_arrayEntry(const TArrayTypeEntry& val) {
    + this->arrayEntry = val;
    +}
    +
    +void TTypeEntry::__set_mapEntry(const TMapTypeEntry& val) {
    + this->mapEntry = val;
    +}
    +
    +void TTypeEntry::__set_structEntry(const TStructTypeEntry& val) {
    + this->structEntry = val;
    +}
    +
    +void TTypeEntry::__set_unionEntry(const TUnionTypeEntry& val) {
    + this->unionEntry = val;
    +}
    +
    +void TTypeEntry::__set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) {
    + this->userDefinedTypeEntry = val;
    +}
    +
      const char* TTypeEntry::ascii_fingerprint = "2FE56D9097E325DAA7E933738C6D325F";
      const uint8_t TTypeEntry::binary_fingerprint[16] = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};

    @@ -977,6 +1245,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TTypeEntry");

        xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1005,6 +1274,7 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1019,6 +1289,47 @@ void swap(TTypeEntry &a, TTypeEntry &b) {
        swap(a.__isset, b.__isset);
      }

    +TTypeEntry::TTypeEntry(const TTypeEntry& other41) {
    + primitiveEntry = other41.primitiveEntry;
    + arrayEntry = other41.arrayEntry;
    + mapEntry = other41.mapEntry;
    + structEntry = other41.structEntry;
    + unionEntry = other41.unionEntry;
    + userDefinedTypeEntry = other41.userDefinedTypeEntry;
    + __isset = other41.__isset;
    +}
    +TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) {
    + primitiveEntry = other42.primitiveEntry;
    + arrayEntry = other42.arrayEntry;
    + mapEntry = other42.mapEntry;
    + structEntry = other42.structEntry;
    + unionEntry = other42.unionEntry;
    + userDefinedTypeEntry = other42.userDefinedTypeEntry;
    + __isset = other42.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) {
    + using apache::thrift::to_string;
    + out << "TTypeEntry(";
    + out << "primitiveEntry=" << to_string(obj.primitiveEntry);
    + out << ", " << "arrayEntry=" << to_string(obj.arrayEntry);
    + out << ", " << "mapEntry=" << to_string(obj.mapEntry);
    + out << ", " << "structEntry=" << to_string(obj.structEntry);
    + out << ", " << "unionEntry=" << to_string(obj.unionEntry);
    + out << ", " << "userDefinedTypeEntry=" << to_string(obj.userDefinedTypeEntry);
    + out << ")";
    + return out;
    +}
    +
    +
    +TTypeDesc::~TTypeDesc() throw() {
    +}
    +
    +
    +void TTypeDesc::__set_types(const std::vector<TTypeEntry> & val) {
    + this->types = val;
    +}
    +
      const char* TTypeDesc::ascii_fingerprint = "90B3C5A0B73419A84E85E0E48C452AA5";
      const uint8_t TTypeDesc::binary_fingerprint[16] = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};

    @@ -1047,14 +1358,14 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->types.clear();
    - uint32_t _size25;
    - ::apache::thrift::protocol::TType _etype28;
    - xfer += iprot->readListBegin(_etype28, _size25);
    - this->types.resize(_size25);
    - uint32_t _i29;
    - for (_i29 = 0; _i29 < _size25; ++_i29)
    + uint32_t _size43;
    + ::apache::thrift::protocol::TType _etype46;
    + xfer += iprot->readListBegin(_etype46, _size43);
    + this->types.resize(_size43);
    + uint32_t _i47;
    + for (_i47 = 0; _i47 < _size43; ++_i47)
                  {
    - xfer += this->types[_i29].read(iprot);
    + xfer += this->types[_i47].read(iprot);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -1079,15 +1390,16 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TTypeDesc");

        xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->types.size()));
    - std::vector<TTypeEntry> ::const_iterator _iter30;
    - for (_iter30 = this->types.begin(); _iter30 != this->types.end(); ++_iter30)
    + std::vector<TTypeEntry> ::const_iterator _iter48;
    + for (_iter48 = this->types.begin(); _iter48 != this->types.end(); ++_iter48)
          {
    - xfer += (*_iter30).write(oprot);
    + xfer += (*_iter48).write(oprot);
          }
          xfer += oprot->writeListEnd();
        }
    @@ -1095,6 +1407,7 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1103,6 +1416,43 @@ void swap(TTypeDesc &a, TTypeDesc &b) {
        swap(a.types, b.types);
      }

    +TTypeDesc::TTypeDesc(const TTypeDesc& other49) {
    + types = other49.types;
    +}
    +TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) {
    + types = other50.types;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) {
    + using apache::thrift::to_string;
    + out << "TTypeDesc(";
    + out << "types=" << to_string(obj.types);
    + out << ")";
    + return out;
    +}
    +
    +
    +TColumnDesc::~TColumnDesc() throw() {
    +}
    +
    +
    +void TColumnDesc::__set_columnName(const std::string& val) {
    + this->columnName = val;
    +}
    +
    +void TColumnDesc::__set_typeDesc(const TTypeDesc& val) {
    + this->typeDesc = val;
    +}
    +
    +void TColumnDesc::__set_position(const int32_t val) {
    + this->position = val;
    +}
    +
    +void TColumnDesc::__set_comment(const std::string& val) {
    + this->comment = val;
    +__isset.comment = true;
    +}
    +
      const char* TColumnDesc::ascii_fingerprint = "EABED9009D5FCABFCA65612069F2A849";
      const uint8_t TColumnDesc::binary_fingerprint[16] = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};

    @@ -1181,6 +1531,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TColumnDesc");

        xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -1202,6 +1553,7 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1214,6 +1566,41 @@ void swap(TColumnDesc &a, TColumnDesc &b) {
        swap(a.__isset, b.__isset);
      }

    +TColumnDesc::TColumnDesc(const TColumnDesc& other51) {
    + columnName = other51.columnName;
    + typeDesc = other51.typeDesc;
    + position = other51.position;
    + comment = other51.comment;
    + __isset = other51.__isset;
    +}
    +TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) {
    + columnName = other52.columnName;
    + typeDesc = other52.typeDesc;
    + position = other52.position;
    + comment = other52.comment;
    + __isset = other52.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) {
    + using apache::thrift::to_string;
    + out << "TColumnDesc(";
    + out << "columnName=" << to_string(obj.columnName);
    + out << ", " << "typeDesc=" << to_string(obj.typeDesc);
    + out << ", " << "position=" << to_string(obj.position);
    + out << ", " << "comment="; (obj.__isset.comment ? (out << to_string(obj.comment)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TTableSchema::~TTableSchema() throw() {
    +}
    +
    +
    +void TTableSchema::__set_columns(const std::vector<TColumnDesc> & val) {
    + this->columns = val;
    +}
    +
      const char* TTableSchema::ascii_fingerprint = "7A1811E49313E5977107FC667B20E39D";
      const uint8_t TTableSchema::binary_fingerprint[16] = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};

    @@ -1242,14 +1629,14 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->columns.clear();
    - uint32_t _size31;
    - ::apache::thrift::protocol::TType _etype34;
    - xfer += iprot->readListBegin(_etype34, _size31);
    - this->columns.resize(_size31);
    - uint32_t _i35;
    - for (_i35 = 0; _i35 < _size31; ++_i35)
    + uint32_t _size53;
    + ::apache::thrift::protocol::TType _etype56;
    + xfer += iprot->readListBegin(_etype56, _size53);
    + this->columns.resize(_size53);
    + uint32_t _i57;
    + for (_i57 = 0; _i57 < _size53; ++_i57)
                  {
    - xfer += this->columns[_i35].read(iprot);
    + xfer += this->columns[_i57].read(iprot);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -1274,15 +1661,16 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TTableSchema");

        xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->columns.size()));
    - std::vector<TColumnDesc> ::const_iterator _iter36;
    - for (_iter36 = this->columns.begin(); _iter36 != this->columns.end(); ++_iter36)
    + std::vector<TColumnDesc> ::const_iterator _iter58;
    + for (_iter58 = this->columns.begin(); _iter58 != this->columns.end(); ++_iter58)
          {
    - xfer += (*_iter36).write(oprot);
    + xfer += (*_iter58).write(oprot);
          }
          xfer += oprot->writeListEnd();
        }
    @@ -1290,6 +1678,7 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1298,6 +1687,31 @@ void swap(TTableSchema &a, TTableSchema &b) {
        swap(a.columns, b.columns);
      }

    +TTableSchema::TTableSchema(const TTableSchema& other59) {
    + columns = other59.columns;
    +}
    +TTableSchema& TTableSchema::operator=(const TTableSchema& other60) {
    + columns = other60.columns;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) {
    + using apache::thrift::to_string;
    + out << "TTableSchema(";
    + out << "columns=" << to_string(obj.columns);
    + out << ")";
    + return out;
    +}
    +
    +
    +TBoolValue::~TBoolValue() throw() {
    +}
    +
    +
    +void TBoolValue::__set_value(const bool val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TBoolValue::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD";
      const uint8_t TBoolValue::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};

    @@ -1343,6 +1757,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TBoolValue");

        if (this->__isset.value) {
    @@ -1352,6 +1767,7 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1361,6 +1777,33 @@ void swap(TBoolValue &a, TBoolValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TBoolValue::TBoolValue(const TBoolValue& other61) {
    + value = other61.value;
    + __isset = other61.__isset;
    +}
    +TBoolValue& TBoolValue::operator=(const TBoolValue& other62) {
    + value = other62.value;
    + __isset = other62.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) {
    + using apache::thrift::to_string;
    + out << "TBoolValue(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TByteValue::~TByteValue() throw() {
    +}
    +
    +
    +void TByteValue::__set_value(const int8_t val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TByteValue::ascii_fingerprint = "9C15298ACB5D04AEA9B52D5DDE6F9208";
      const uint8_t TByteValue::binary_fingerprint[16] = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};

    @@ -1406,6 +1849,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TByteValue");

        if (this->__isset.value) {
    @@ -1415,6 +1859,7 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1424,6 +1869,33 @@ void swap(TByteValue &a, TByteValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TByteValue::TByteValue(const TByteValue& other63) {
    + value = other63.value;
    + __isset = other63.__isset;
    +}
    +TByteValue& TByteValue::operator=(const TByteValue& other64) {
    + value = other64.value;
    + __isset = other64.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TByteValue& obj) {
    + using apache::thrift::to_string;
    + out << "TByteValue(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TI16Value::~TI16Value() throw() {
    +}
    +
    +
    +void TI16Value::__set_value(const int16_t val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TI16Value::ascii_fingerprint = "5DAC9C51C7E1106BF936FC71860BE9D5";
      const uint8_t TI16Value::binary_fingerprint[16] = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};

    @@ -1469,6 +1941,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI16Value");

        if (this->__isset.value) {
    @@ -1478,6 +1951,7 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1487,6 +1961,33 @@ void swap(TI16Value &a, TI16Value &b) {
        swap(a.__isset, b.__isset);
      }

    +TI16Value::TI16Value(const TI16Value& other65) {
    + value = other65.value;
    + __isset = other65.__isset;
    +}
    +TI16Value& TI16Value::operator=(const TI16Value& other66) {
    + value = other66.value;
    + __isset = other66.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI16Value& obj) {
    + using apache::thrift::to_string;
    + out << "TI16Value(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TI32Value::~TI32Value() throw() {
    +}
    +
    +
    +void TI32Value::__set_value(const int32_t val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TI32Value::ascii_fingerprint = "E7A96B151330359E84C0A3AC91BCBACD";
      const uint8_t TI32Value::binary_fingerprint[16] = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};

    @@ -1532,6 +2033,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI32Value");

        if (this->__isset.value) {
    @@ -1541,6 +2043,7 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1550,6 +2053,33 @@ void swap(TI32Value &a, TI32Value &b) {
        swap(a.__isset, b.__isset);
      }

    +TI32Value::TI32Value(const TI32Value& other67) {
    + value = other67.value;
    + __isset = other67.__isset;
    +}
    +TI32Value& TI32Value::operator=(const TI32Value& other68) {
    + value = other68.value;
    + __isset = other68.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI32Value& obj) {
    + using apache::thrift::to_string;
    + out << "TI32Value(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TI64Value::~TI64Value() throw() {
    +}
    +
    +
    +void TI64Value::__set_value(const int64_t val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TI64Value::ascii_fingerprint = "148F3AAAC1D9859963D5E800D187BF26";
      const uint8_t TI64Value::binary_fingerprint[16] = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};

    @@ -1595,6 +2125,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI64Value");

        if (this->__isset.value) {
    @@ -1604,6 +2135,7 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1613,6 +2145,33 @@ void swap(TI64Value &a, TI64Value &b) {
        swap(a.__isset, b.__isset);
      }

    +TI64Value::TI64Value(const TI64Value& other69) {
    + value = other69.value;
    + __isset = other69.__isset;
    +}
    +TI64Value& TI64Value::operator=(const TI64Value& other70) {
    + value = other70.value;
    + __isset = other70.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI64Value& obj) {
    + using apache::thrift::to_string;
    + out << "TI64Value(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TDoubleValue::~TDoubleValue() throw() {
    +}
    +
    +
    +void TDoubleValue::__set_value(const double val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TDoubleValue::ascii_fingerprint = "3586E570A474C4A8603B4FF74903B3A6";
      const uint8_t TDoubleValue::binary_fingerprint[16] = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};

    @@ -1658,6 +2217,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TDoubleValue");

        if (this->__isset.value) {
    @@ -1667,6 +2227,7 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1676,6 +2237,33 @@ void swap(TDoubleValue &a, TDoubleValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TDoubleValue::TDoubleValue(const TDoubleValue& other71) {
    + value = other71.value;
    + __isset = other71.__isset;
    +}
    +TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) {
    + value = other72.value;
    + __isset = other72.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) {
    + using apache::thrift::to_string;
    + out << "TDoubleValue(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TStringValue::~TStringValue() throw() {
    +}
    +
    +
    +void TStringValue::__set_value(const std::string& val) {
    + this->value = val;
    +__isset.value = true;
    +}
    +
      const char* TStringValue::ascii_fingerprint = "66E694018C17E5B65A59AE8F55CCA3CD";
      const uint8_t TStringValue::binary_fingerprint[16] = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};

    @@ -1721,6 +2309,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TStringValue");

        if (this->__isset.value) {
    @@ -1730,6 +2319,7 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1739,6 +2329,56 @@ void swap(TStringValue &a, TStringValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TStringValue::TStringValue(const TStringValue& other73) {
    + value = other73.value;
    + __isset = other73.__isset;
    +}
    +TStringValue& TStringValue::operator=(const TStringValue& other74) {
    + value = other74.value;
    + __isset = other74.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TStringValue& obj) {
    + using apache::thrift::to_string;
    + out << "TStringValue(";
    + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TColumnValue::~TColumnValue() throw() {
    +}
    +
    +
    +void TColumnValue::__set_boolVal(const TBoolValue& val) {
    + this->boolVal = val;
    +}
    +
    +void TColumnValue::__set_byteVal(const TByteValue& val) {
    + this->byteVal = val;
    +}
    +
    +void TColumnValue::__set_i16Val(const TI16Value& val) {
    + this->i16Val = val;
    +}
    +
    +void TColumnValue::__set_i32Val(const TI32Value& val) {
    + this->i32Val = val;
    +}
    +
    +void TColumnValue::__set_i64Val(const TI64Value& val) {
    + this->i64Val = val;
    +}
    +
    +void TColumnValue::__set_doubleVal(const TDoubleValue& val) {
    + this->doubleVal = val;
    +}
    +
    +void TColumnValue::__set_stringVal(const TStringValue& val) {
    + this->stringVal = val;
    +}
    +
      const char* TColumnValue::ascii_fingerprint = "C2DDD988447EA7999A8285AA38AAE9AD";
      const uint8_t TColumnValue::binary_fingerprint[16] = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};

    @@ -1832,6 +2472,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TColumnValue");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1864,6 +2505,7 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1879,6 +2521,50 @@ void swap(TColumnValue &a, TColumnValue &b) {
        swap(a.__isset, b.__isset);
      }

    +TColumnValue::TColumnValue(const TColumnValue& other75) {
    + boolVal = other75.boolVal;
    + byteVal = other75.byteVal;
    + i16Val = other75.i16Val;
    + i32Val = other75.i32Val;
    + i64Val = other75.i64Val;
    + doubleVal = other75.doubleVal;
    + stringVal = other75.stringVal;
    + __isset = other75.__isset;
    +}
    +TColumnValue& TColumnValue::operator=(const TColumnValue& other76) {
    + boolVal = other76.boolVal;
    + byteVal = other76.byteVal;
    + i16Val = other76.i16Val;
    + i32Val = other76.i32Val;
    + i64Val = other76.i64Val;
    + doubleVal = other76.doubleVal;
    + stringVal = other76.stringVal;
    + __isset = other76.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) {
    + using apache::thrift::to_string;
    + out << "TColumnValue(";
    + out << "boolVal=" << to_string(obj.boolVal);
    + out << ", " << "byteVal=" << to_string(obj.byteVal);
    + out << ", " << "i16Val=" << to_string(obj.i16Val);
    + out << ", " << "i32Val=" << to_string(obj.i32Val);
    + out << ", " << "i64Val=" << to_string(obj.i64Val);
    + out << ", " << "doubleVal=" << to_string(obj.doubleVal);
    + out << ", " << "stringVal=" << to_string(obj.stringVal);
    + out << ")";
    + return out;
    +}
    +
    +
    +TRow::~TRow() throw() {
    +}
    +
    +
    +void TRow::__set_colVals(const std::vector<TColumnValue> & val) {
    + this->colVals = val;
    +}
    +
      const char* TRow::ascii_fingerprint = "E73FD1FCA0CA58A669FC3E02FB68D534";
      const uint8_t TRow::binary_fingerprint[16] = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};

    @@ -1907,14 +2593,14 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->colVals.clear();
    - uint32_t _size37;
    - ::apache::thrift::protocol::TType _etype40;
    - xfer += iprot->readListBegin(_etype40, _size37);
    - this->colVals.resize(_size37);
    - uint32_t _i41;
    - for (_i41 = 0; _i41 < _size37; ++_i41)
    + uint32_t _size77;
    + ::apache::thrift::protocol::TType _etype80;
    + xfer += iprot->readListBegin(_etype80, _size77);
    + this->colVals.resize(_size77);
    + uint32_t _i81;
    + for (_i81 = 0; _i81 < _size77; ++_i81)
                  {
    - xfer += this->colVals[_i41].read(iprot);
    + xfer += this->colVals[_i81].read(iprot);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -1939,15 +2625,16 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TRow");

        xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->colVals.size()));
    - std::vector<TColumnValue> ::const_iterator _iter42;
    - for (_iter42 = this->colVals.begin(); _iter42 != this->colVals.end(); ++_iter42)
    + std::vector<TColumnValue> ::const_iterator _iter82;
    + for (_iter82 = this->colVals.begin(); _iter82 != this->colVals.end(); ++_iter82)
          {
    - xfer += (*_iter42).write(oprot);
    + xfer += (*_iter82).write(oprot);
          }
          xfer += oprot->writeListEnd();
        }
    @@ -1955,6 +2642,7 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1963,15 +2651,43 @@ void swap(TRow &a, TRow &b) {
        swap(a.colVals, b.colVals);
      }

    -const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219";
    -const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
    +TRow::TRow(const TRow& other83) {
    + colVals = other83.colVals;
    +}
    +TRow& TRow::operator=(const TRow& other84) {
    + colVals = other84.colVals;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TRow& obj) {
    + using apache::thrift::to_string;
    + out << "TRow(";
    + out << "colVals=" << to_string(obj.colVals);
    + out << ")";
    + return out;
    +}

    -uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    - uint32_t xfer = 0;
    - std::string fname;
    - ::apache::thrift::protocol::TType ftype;
    - int16_t fid;
    +TBoolColumn::~TBoolColumn() throw() {
    +}
    +
    +
    +void TBoolColumn::__set_values(const std::vector<bool> & val) {
    + this->values = val;
    +}
    +
    +void TBoolColumn::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
    +const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219";
    +const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
    +
    +uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
    +
    + uint32_t xfer = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TType ftype;
    + int16_t fid;

        xfer += iprot->readStructBegin(fname);

    @@ -1992,14 +2708,14 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size43;
    - ::apache::thrift::protocol::TType _etype46;
    - xfer += iprot->readListBegin(_etype46, _size43);
    - this->values.resize(_size43);
    - uint32_t _i47;
    - for (_i47 = 0; _i47 < _size43; ++_i47)
    + uint32_t _size85;
    + ::apache::thrift::protocol::TType _etype88;
    + xfer += iprot->readListBegin(_etype88, _size85);
    + this->values.resize(_size85);
    + uint32_t _i89;
    + for (_i89 = 0; _i89 < _size85; ++_i89)
                  {
    - xfer += iprot->readBool(this->values[_i47]);
    + xfer += iprot->readBool(this->values[_i89]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2034,15 +2750,16 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TBoolColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_BOOL, static_cast<uint32_t>(this->values.size()));
    - std::vector<bool> ::const_iterator _iter48;
    - for (_iter48 = this->values.begin(); _iter48 != this->values.end(); ++_iter48)
    + std::vector<bool> ::const_iterator _iter90;
    + for (_iter90 = this->values.begin(); _iter90 != this->values.end(); ++_iter90)
          {
    - xfer += oprot->writeBool((*_iter48));
    + xfer += oprot->writeBool((*_iter90));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2054,6 +2771,7 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2063,6 +2781,37 @@ void swap(TBoolColumn &a, TBoolColumn &b) {
        swap(a.nulls, b.nulls);
      }

    +TBoolColumn::TBoolColumn(const TBoolColumn& other91) {
    + values = other91.values;
    + nulls = other91.nulls;
    +}
    +TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) {
    + values = other92.values;
    + nulls = other92.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TBoolColumn(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TByteColumn::~TByteColumn() throw() {
    +}
    +
    +
    +void TByteColumn::__set_values(const std::vector<int8_t> & val) {
    + this->values = val;
    +}
    +
    +void TByteColumn::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TByteColumn::ascii_fingerprint = "1CB300106BAA463A70BB2A2395900F48";
      const uint8_t TByteColumn::binary_fingerprint[16] = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};

    @@ -2092,14 +2841,14 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size49;
    - ::apache::thrift::protocol::TType _etype52;
    - xfer += iprot->readListBegin(_etype52, _size49);
    - this->values.resize(_size49);
    - uint32_t _i53;
    - for (_i53 = 0; _i53 < _size49; ++_i53)
    + uint32_t _size93;
    + ::apache::thrift::protocol::TType _etype96;
    + xfer += iprot->readListBegin(_etype96, _size93);
    + this->values.resize(_size93);
    + uint32_t _i97;
    + for (_i97 = 0; _i97 < _size93; ++_i97)
                  {
    - xfer += iprot->readByte(this->values[_i53]);
    + xfer += iprot->readByte(this->values[_i97]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2134,15 +2883,16 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TByteColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_BYTE, static_cast<uint32_t>(this->values.size()));
    - std::vector<int8_t> ::const_iterator _iter54;
    - for (_iter54 = this->values.begin(); _iter54 != this->values.end(); ++_iter54)
    + std::vector<int8_t> ::const_iterator _iter98;
    + for (_iter98 = this->values.begin(); _iter98 != this->values.end(); ++_iter98)
          {
    - xfer += oprot->writeByte((*_iter54));
    + xfer += oprot->writeByte((*_iter98));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2154,6 +2904,7 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2163,6 +2914,37 @@ void swap(TByteColumn &a, TByteColumn &b) {
        swap(a.nulls, b.nulls);
      }

    +TByteColumn::TByteColumn(const TByteColumn& other99) {
    + values = other99.values;
    + nulls = other99.nulls;
    +}
    +TByteColumn& TByteColumn::operator=(const TByteColumn& other100) {
    + values = other100.values;
    + nulls = other100.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TByteColumn(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TI16Column::~TI16Column() throw() {
    +}
    +
    +
    +void TI16Column::__set_values(const std::vector<int16_t> & val) {
    + this->values = val;
    +}
    +
    +void TI16Column::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TI16Column::ascii_fingerprint = "6574CDB1F121C8DB47FB257A3F104BDB";
      const uint8_t TI16Column::binary_fingerprint[16] = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};

    @@ -2192,14 +2974,14 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size55;
    - ::apache::thrift::protocol::TType _etype58;
    - xfer += iprot->readListBegin(_etype58, _size55);
    - this->values.resize(_size55);
    - uint32_t _i59;
    - for (_i59 = 0; _i59 < _size55; ++_i59)
    + uint32_t _size101;
    + ::apache::thrift::protocol::TType _etype104;
    + xfer += iprot->readListBegin(_etype104, _size101);
    + this->values.resize(_size101);
    + uint32_t _i105;
    + for (_i105 = 0; _i105 < _size101; ++_i105)
                  {
    - xfer += iprot->readI16(this->values[_i59]);
    + xfer += iprot->readI16(this->values[_i105]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2234,15 +3016,16 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI16Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I16, static_cast<uint32_t>(this->values.size()));
    - std::vector<int16_t> ::const_iterator _iter60;
    - for (_iter60 = this->values.begin(); _iter60 != this->values.end(); ++_iter60)
    + std::vector<int16_t> ::const_iterator _iter106;
    + for (_iter106 = this->values.begin(); _iter106 != this->values.end(); ++_iter106)
          {
    - xfer += oprot->writeI16((*_iter60));
    + xfer += oprot->writeI16((*_iter106));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2254,6 +3037,7 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2263,6 +3047,37 @@ void swap(TI16Column &a, TI16Column &b) {
        swap(a.nulls, b.nulls);
      }

    +TI16Column::TI16Column(const TI16Column& other107) {
    + values = other107.values;
    + nulls = other107.nulls;
    +}
    +TI16Column& TI16Column::operator=(const TI16Column& other108) {
    + values = other108.values;
    + nulls = other108.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI16Column& obj) {
    + using apache::thrift::to_string;
    + out << "TI16Column(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TI32Column::~TI32Column() throw() {
    +}
    +
    +
    +void TI32Column::__set_values(const std::vector<int32_t> & val) {
    + this->values = val;
    +}
    +
    +void TI32Column::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TI32Column::ascii_fingerprint = "CCCCE89C7E9DA10280F5663700677313";
      const uint8_t TI32Column::binary_fingerprint[16] = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};

    @@ -2292,14 +3107,14 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size61;
    - ::apache::thrift::protocol::TType _etype64;
    - xfer += iprot->readListBegin(_etype64, _size61);
    - this->values.resize(_size61);
    - uint32_t _i65;
    - for (_i65 = 0; _i65 < _size61; ++_i65)
    + uint32_t _size109;
    + ::apache::thrift::protocol::TType _etype112;
    + xfer += iprot->readListBegin(_etype112, _size109);
    + this->values.resize(_size109);
    + uint32_t _i113;
    + for (_i113 = 0; _i113 < _size109; ++_i113)
                  {
    - xfer += iprot->readI32(this->values[_i65]);
    + xfer += iprot->readI32(this->values[_i113]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2334,15 +3149,16 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI32Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->values.size()));
    - std::vector<int32_t> ::const_iterator _iter66;
    - for (_iter66 = this->values.begin(); _iter66 != this->values.end(); ++_iter66)
    + std::vector<int32_t> ::const_iterator _iter114;
    + for (_iter114 = this->values.begin(); _iter114 != this->values.end(); ++_iter114)
          {
    - xfer += oprot->writeI32((*_iter66));
    + xfer += oprot->writeI32((*_iter114));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2354,6 +3170,7 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2363,6 +3180,37 @@ void swap(TI32Column &a, TI32Column &b) {
        swap(a.nulls, b.nulls);
      }

    +TI32Column::TI32Column(const TI32Column& other115) {
    + values = other115.values;
    + nulls = other115.nulls;
    +}
    +TI32Column& TI32Column::operator=(const TI32Column& other116) {
    + values = other116.values;
    + nulls = other116.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI32Column& obj) {
    + using apache::thrift::to_string;
    + out << "TI32Column(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TI64Column::~TI64Column() throw() {
    +}
    +
    +
    +void TI64Column::__set_values(const std::vector<int64_t> & val) {
    + this->values = val;
    +}
    +
    +void TI64Column::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TI64Column::ascii_fingerprint = "925353917FC0AF87976A2338011F5A31";
      const uint8_t TI64Column::binary_fingerprint[16] = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};

    @@ -2392,14 +3240,14 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size67;
    - ::apache::thrift::protocol::TType _etype70;
    - xfer += iprot->readListBegin(_etype70, _size67);
    - this->values.resize(_size67);
    - uint32_t _i71;
    - for (_i71 = 0; _i71 < _size67; ++_i71)
    + uint32_t _size117;
    + ::apache::thrift::protocol::TType _etype120;
    + xfer += iprot->readListBegin(_etype120, _size117);
    + this->values.resize(_size117);
    + uint32_t _i121;
    + for (_i121 = 0; _i121 < _size117; ++_i121)
                  {
    - xfer += iprot->readI64(this->values[_i71]);
    + xfer += iprot->readI64(this->values[_i121]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2434,15 +3282,16 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TI64Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast<uint32_t>(this->values.size()));
    - std::vector<int64_t> ::const_iterator _iter72;
    - for (_iter72 = this->values.begin(); _iter72 != this->values.end(); ++_iter72)
    + std::vector<int64_t> ::const_iterator _iter122;
    + for (_iter122 = this->values.begin(); _iter122 != this->values.end(); ++_iter122)
          {
    - xfer += oprot->writeI64((*_iter72));
    + xfer += oprot->writeI64((*_iter122));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2454,6 +3303,7 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2463,6 +3313,37 @@ void swap(TI64Column &a, TI64Column &b) {
        swap(a.nulls, b.nulls);
      }

    +TI64Column::TI64Column(const TI64Column& other123) {
    + values = other123.values;
    + nulls = other123.nulls;
    +}
    +TI64Column& TI64Column::operator=(const TI64Column& other124) {
    + values = other124.values;
    + nulls = other124.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TI64Column& obj) {
    + using apache::thrift::to_string;
    + out << "TI64Column(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TDoubleColumn::~TDoubleColumn() throw() {
    +}
    +
    +
    +void TDoubleColumn::__set_values(const std::vector<double> & val) {
    + this->values = val;
    +}
    +
    +void TDoubleColumn::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TDoubleColumn::ascii_fingerprint = "8FF1C050A8D7FD247AEB23CD71539C09";
      const uint8_t TDoubleColumn::binary_fingerprint[16] = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};

    @@ -2492,14 +3373,14 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size73;
    - ::apache::thrift::protocol::TType _etype76;
    - xfer += iprot->readListBegin(_etype76, _size73);
    - this->values.resize(_size73);
    - uint32_t _i77;
    - for (_i77 = 0; _i77 < _size73; ++_i77)
    + uint32_t _size125;
    + ::apache::thrift::protocol::TType _etype128;
    + xfer += iprot->readListBegin(_etype128, _size125);
    + this->values.resize(_size125);
    + uint32_t _i129;
    + for (_i129 = 0; _i129 < _size125; ++_i129)
                  {
    - xfer += iprot->readDouble(this->values[_i77]);
    + xfer += iprot->readDouble(this->values[_i129]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2534,15 +3415,16 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TDoubleColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_DOUBLE, static_cast<uint32_t>(this->values.size()));
    - std::vector<double> ::const_iterator _iter78;
    - for (_iter78 = this->values.begin(); _iter78 != this->values.end(); ++_iter78)
    + std::vector<double> ::const_iterator _iter130;
    + for (_iter130 = this->values.begin(); _iter130 != this->values.end(); ++_iter130)
          {
    - xfer += oprot->writeDouble((*_iter78));
    + xfer += oprot->writeDouble((*_iter130));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2554,6 +3436,7 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2563,6 +3446,37 @@ void swap(TDoubleColumn &a, TDoubleColumn &b) {
        swap(a.nulls, b.nulls);
      }

    +TDoubleColumn::TDoubleColumn(const TDoubleColumn& other131) {
    + values = other131.values;
    + nulls = other131.nulls;
    +}
    +TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) {
    + values = other132.values;
    + nulls = other132.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TDoubleColumn(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TStringColumn::~TStringColumn() throw() {
    +}
    +
    +
    +void TStringColumn::__set_values(const std::vector<std::string> & val) {
    + this->values = val;
    +}
    +
    +void TStringColumn::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TStringColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
      const uint8_t TStringColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};

    @@ -2592,14 +3506,14 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size79;
    - ::apache::thrift::protocol::TType _etype82;
    - xfer += iprot->readListBegin(_etype82, _size79);
    - this->values.resize(_size79);
    - uint32_t _i83;
    - for (_i83 = 0; _i83 < _size79; ++_i83)
    + uint32_t _size133;
    + ::apache::thrift::protocol::TType _etype136;
    + xfer += iprot->readListBegin(_etype136, _size133);
    + this->values.resize(_size133);
    + uint32_t _i137;
    + for (_i137 = 0; _i137 < _size133; ++_i137)
                  {
    - xfer += iprot->readString(this->values[_i83]);
    + xfer += iprot->readString(this->values[_i137]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2634,15 +3548,16 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TStringColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->values.size()));
    - std::vector<std::string> ::const_iterator _iter84;
    - for (_iter84 = this->values.begin(); _iter84 != this->values.end(); ++_iter84)
    + std::vector<std::string> ::const_iterator _iter138;
    + for (_iter138 = this->values.begin(); _iter138 != this->values.end(); ++_iter138)
          {
    - xfer += oprot->writeString((*_iter84));
    + xfer += oprot->writeString((*_iter138));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2654,6 +3569,7 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2663,6 +3579,37 @@ void swap(TStringColumn &a, TStringColumn &b) {
        swap(a.nulls, b.nulls);
      }

    +TStringColumn::TStringColumn(const TStringColumn& other139) {
    + values = other139.values;
    + nulls = other139.nulls;
    +}
    +TStringColumn& TStringColumn::operator=(const TStringColumn& other140) {
    + values = other140.values;
    + nulls = other140.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TStringColumn(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TBinaryColumn::~TBinaryColumn() throw() {
    +}
    +
    +
    +void TBinaryColumn::__set_values(const std::vector<std::string> & val) {
    + this->values = val;
    +}
    +
    +void TBinaryColumn::__set_nulls(const std::string& val) {
    + this->nulls = val;
    +}
    +
      const char* TBinaryColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
      const uint8_t TBinaryColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};

    @@ -2692,14 +3639,14 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->values.clear();
    - uint32_t _size85;
    - ::apache::thrift::protocol::TType _etype88;
    - xfer += iprot->readListBegin(_etype88, _size85);
    - this->values.resize(_size85);
    - uint32_t _i89;
    - for (_i89 = 0; _i89 < _size85; ++_i89)
    + uint32_t _size141;
    + ::apache::thrift::protocol::TType _etype144;
    + xfer += iprot->readListBegin(_etype144, _size141);
    + this->values.resize(_size141);
    + uint32_t _i145;
    + for (_i145 = 0; _i145 < _size141; ++_i145)
                  {
    - xfer += iprot->readBinary(this->values[_i89]);
    + xfer += iprot->readBinary(this->values[_i145]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2734,15 +3681,16 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TBinaryColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->values.size()));
    - std::vector<std::string> ::const_iterator _iter90;
    - for (_iter90 = this->values.begin(); _iter90 != this->values.end(); ++_iter90)
    + std::vector<std::string> ::const_iterator _iter146;
    + for (_iter146 = this->values.begin(); _iter146 != this->values.end(); ++_iter146)
          {
    - xfer += oprot->writeBinary((*_iter90));
    + xfer += oprot->writeBinary((*_iter146));
          }
          xfer += oprot->writeListEnd();
        }
    @@ -2754,6 +3702,7 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2763,6 +3712,61 @@ void swap(TBinaryColumn &a, TBinaryColumn &b) {
        swap(a.nulls, b.nulls);
      }

    +TBinaryColumn::TBinaryColumn(const TBinaryColumn& other147) {
    + values = other147.values;
    + nulls = other147.nulls;
    +}
    +TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) {
    + values = other148.values;
    + nulls = other148.nulls;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TBinaryColumn(";
    + out << "values=" << to_string(obj.values);
    + out << ", " << "nulls=" << to_string(obj.nulls);
    + out << ")";
    + return out;
    +}
    +
    +
    +TColumn::~TColumn() throw() {
    +}
    +
    +
    +void TColumn::__set_boolVal(const TBoolColumn& val) {
    + this->boolVal = val;
    +}
    +
    +void TColumn::__set_byteVal(const TByteColumn& val) {
    + this->byteVal = val;
    +}
    +
    +void TColumn::__set_i16Val(const TI16Column& val) {
    + this->i16Val = val;
    +}
    +
    +void TColumn::__set_i32Val(const TI32Column& val) {
    + this->i32Val = val;
    +}
    +
    +void TColumn::__set_i64Val(const TI64Column& val) {
    + this->i64Val = val;
    +}
    +
    +void TColumn::__set_doubleVal(const TDoubleColumn& val) {
    + this->doubleVal = val;
    +}
    +
    +void TColumn::__set_stringVal(const TStringColumn& val) {
    + this->stringVal = val;
    +}
    +
    +void TColumn::__set_binaryVal(const TBinaryColumn& val) {
    + this->binaryVal = val;
    +}
    +
      const char* TColumn::ascii_fingerprint = "E6ADD10B4CDDE61A19E8878CC7039A17";
      const uint8_t TColumn::binary_fingerprint[16] = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};

    @@ -2864,6 +3868,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TColumn");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2900,6 +3905,7 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {

        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2916,6 +3922,62 @@ void swap(TColumn &a, TColumn &b) {
        swap(a.__isset, b.__isset);
      }

    +TColumn::TColumn(const TColumn& other149) {
    + boolVal = other149.boolVal;
    + byteVal = other149.byteVal;
    + i16Val = other149.i16Val;
    + i32Val = other149.i32Val;
    + i64Val = other149.i64Val;
    + doubleVal = other149.doubleVal;
    + stringVal = other149.stringVal;
    + binaryVal = other149.binaryVal;
    + __isset = other149.__isset;
    +}
    +TColumn& TColumn::operator=(const TColumn& other150) {
    + boolVal = other150.boolVal;
    + byteVal = other150.byteVal;
    + i16Val = other150.i16Val;
    + i32Val = other150.i32Val;
    + i64Val = other150.i64Val;
    + doubleVal = other150.doubleVal;
    + stringVal = other150.stringVal;
    + binaryVal = other150.binaryVal;
    + __isset = other150.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TColumn& obj) {
    + using apache::thrift::to_string;
    + out << "TColumn(";
    + out << "boolVal=" << to_string(obj.boolVal);
    + out << ", " << "byteVal=" << to_string(obj.byteVal);
    + out << ", " << "i16Val=" << to_string(obj.i16Val);
    + out << ", " << "i32Val=" << to_string(obj.i32Val);
    + out << ", " << "i64Val=" << to_string(obj.i64Val);
    + out << ", " << "doubleVal=" << to_string(obj.doubleVal);
    + out << ", " << "stringVal=" << to_string(obj.stringVal);
    + out << ", " << "binaryVal=" << to_string(obj.binaryVal);
    + out << ")";
    + return out;
    +}
    +
    +
    +TRowSet::~TRowSet() throw() {
    +}
    +
    +
    +void TRowSet::__set_startRowOffset(const int64_t val) {
    + this->startRowOffset = val;
    +}
    +
    +void TRowSet::__set_rows(const std::vector<TRow> & val) {
    + this->rows = val;
    +}
    +
    +void TRowSet::__set_columns(const std::vector<TColumn> & val) {
    + this->columns = val;
    +__isset.columns = true;
    +}
    +
      const char* TRowSet::ascii_fingerprint = "46DA30A870489C7A58105AE0080DAEBF";
      const uint8_t TRowSet::binary_fingerprint[16] = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};

    @@ -2953,14 +4015,14 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->rows.clear();
    - uint32_t _size91;
    - ::apache::thrift::protocol::TType _etype94;
    - xfer += iprot->readListBegin(_etype94, _size91);
    - this->rows.resize(_size91);
    - uint32_t _i95;
    - for (_i95 = 0; _i95 < _size91; ++_i95)
    + uint32_t _size151;
    + ::apache::thrift::protocol::TType _etype154;
    + xfer += iprot->readListBegin(_etype154, _size151);
    + this->rows.resize(_size151);
    + uint32_t _i155;
    + for (_i155 = 0; _i155 < _size151; ++_i155)
                  {
    - xfer += this->rows[_i95].read(iprot);
    + xfer += this->rows[_i155].read(iprot);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -2973,14 +4035,14 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->columns.clear();
    - uint32_t _size96;
    - ::apache::thrift::protocol::TType _etype99;
    - xfer += iprot->readListBegin(_etype99, _size96);
    - this->columns.resize(_size96);
    - uint32_t _i100;
    - for (_i100 = 0; _i100 < _size96; ++_i100)
    + uint32_t _size156;
    + ::apache::thrift::protocol::TType _etype159;
    + xfer += iprot->readListBegin(_etype159, _size156);
    + this->columns.resize(_size156);
    + uint32_t _i160;
    + for (_i160 = 0; _i160 < _size156; ++_i160)
                  {
    - xfer += this->columns[_i100].read(iprot);
    + xfer += this->columns[_i160].read(iprot);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -3007,6 +4069,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();
        xfer += oprot->writeStructBegin("TRowSet");

        xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1);
    @@ -3016,10 +4079,10 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        xfer += oprot->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST, 2);
        {
          xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->rows.size()));
    - std::vector<TRow> ::const_iterator _iter101;
    - for (_iter101 = this->rows.begin(); _iter101 != this->rows.end(); ++_iter101)
    + std::vector<TRow> ::const_iterator _iter161;
    + for (_iter161 = this->rows.begin(); _iter161 != this->rows.end(); ++_iter161)
          {
    - xfer += (*_iter101).write(oprot);
    + xfer += (*_iter161).write(oprot);
          }
          xfer += oprot->writeListEnd();
        }
    @@ -3029,10 +4092,10 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
          xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 3);
          {
            xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->columns.size()));
    - std::vector<TColumn> ::const_iterator _iter102;
    - for (_iter102 = this->columns.begin(); _iter102 != this->columns.end(); ++_iter102)
    + std::vector<TColumn> ::const_iterator _iter162;
    + for (_iter162 = this->columns.begin(); _iter162 != this->columns.end(); ++_iter162)
            {
    - xfer += (*_iter102).write(oprot);
    + xfer += (*_iter162).write(oprot);
            }
            xfer += oprot->writeListEnd();
          }
    @@ -3040,6 +4103,7 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    + oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -3051,6 +4115,58 @@ void swap(TRowSet &a, TRowSet &b) {
        swap(a.__isset, b.__isset);
      }

    +TRowSet::TRowSet(const TRowSet& other163) {
    + startRowOffset = other163.startRowOffset;
    + rows = other163.rows;
    + columns = other163.columns;
    + __isset = other163.__isset;
    +}
    +TRowSet& TRowSet::operator=(const TRowSet& other164) {
    + startRowOffset = other164.startRowOffset;
    + rows = other164.rows;
    + columns = other164.columns;
    + __isset = other164.__isset;
    + return *this;
    +}
    +std::ostream& operator<<(std::ostream& out, const TRowSet& obj) {
    + using apache::thrift::to_string;
    + out << "TRowSet(";
    + out << "startRowOffset=" << to_string(obj.startRowOffset);
    + out << ", " << "rows=" << to_string(obj.rows);
    + out << ", " << "columns="; (obj.__isset.columns ? (out << to_string(obj.columns)) : (out << "<null>"));
    + out << ")";
    + return out;
    +}
    +
    +
    +TStatus::~TStatus() throw() {
    +}
    +
    +
    +void TStatus::__set_statusCode(const TStatusCode::type val) {
    + this->statusCode = val;
    +}
    +
    +void TStatus::__set_infoMessages(const std::vector<std::string> & val) {
    + this->infoMessages = val;
    +__isset.infoMessages = true;
    +}
    +
    +void TStatus::__set_sqlState(const std::string& val) {
    + this->sqlState = val;
    +__isset.sqlState = true;
    +}
    +
    +void TStatus::__set_errorCode(const int32_t val) {
    + this->errorCode = val;
    +__isset.errorCode = true;
    +}
    +
    +void TStatus::__set_errorMessage(const std::string& val) {
    + this->errorMessage = val;
    +__isset.errorMessage = true;
    +}
    +
      const char* TStatus::ascii_fingerprint = "D5DEF49634A59C615C1B3A6F7D0DADB5";
      const uint8_t TStatus::binary_fingerprint[16] = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};

    @@ -3077,9 +4193,9 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
          {
            case 1:
              if (ftype == ::apache::thrift::protocol::T_I32) {
    - int32_t ecast103;
    - xfer += iprot->readI32(ecast103);
    - this->statusCode = (TStatusCode::type)ecast103;
    + int32_t ecast165;
    + xfer += iprot->readI32(ecast165);
    + this->statusCode = (TStatusCode::type)ecast165;
                isset_statusCode = true;
              } else {
                xfer += iprot->skip(ftype);
    @@ -3089,14 +4205,14 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
              if (ftype == ::apache::thrift::protocol::T_LIST) {
                {
                  this->infoMessages.clear();
    - uint32_t _size104;
    - ::apache::thrift::protocol::TType _etype107;
    - xfer += iprot->readListBegin(_etype107, _size104);
    - this->infoMessages.resize(_size104);
    - uint32_t _i108;
    - for (_i108 = 0; _i108 < _size104; ++_i108)
    + uint32_t _size166;
    + ::apache::thrift::protocol::TType _etype169;
    + xfer += iprot->readListBegin(_etype169, _size166);
    + this->infoMessages.resize(_size166);
    + uint32_t _i170;
    + for (_i170 = 0; _i170 < _size166; ++_i170)
                  {
    - xfer += iprot->readString(this->infoMessages[_i108]);
    + xfer += iprot->readString(this->infoMessages[_i170]);
                  }
                  xfer += iprot->readListEnd();
                }
    @@ -3145,6 +4261,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

      uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        uint32_t xfer = 0;
    + oprot->incrementRecursionDepth();