FAQ
Repository: hive
Updated Branches:
   refs/heads/master ccb30e3ec -> e862ff80b


http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 177531d..978c2a3 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -8,6 +8,7 @@

  from thrift.Thrift import TType, TMessageType, TException, TApplicationException
  import hive_metastore.ThriftHiveMetastore
+import logging
  from ttypes import *
  from thrift.Thrift import TProcessor
  from thrift.transport import TTransport
@@ -116,7 +117,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result")

    def fetchN(self, numRows):
      """
@@ -149,7 +150,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result")

    def fetchAll(self):
      self.send_fetchAll()
@@ -177,7 +178,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result")

    def getSchema(self):
      self.send_getSchema()
@@ -205,7 +206,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result")

    def getThriftSchema(self):
      self.send_getThriftSchema()
@@ -233,7 +234,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result")

    def getClusterStatus(self):
      self.send_getClusterStatus()
@@ -261,7 +262,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result")

    def getQueryPlan(self):
      self.send_getQueryPlan()
@@ -289,7 +290,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
        return result.success
      if result.ex is not None:
        raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result")

    def clean(self):
      self.send_clean()
@@ -351,9 +352,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = execute_result()
      try:
        self._handler.execute(args.query)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("execute", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -365,9 +374,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchOne_result()
      try:
        result.success = self._handler.fetchOne()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchOne", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -379,9 +396,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchN_result()
      try:
        result.success = self._handler.fetchN(args.numRows)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchN", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -393,9 +418,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = fetchAll_result()
      try:
        result.success = self._handler.fetchAll()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchAll", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -407,9 +440,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getSchema_result()
      try:
        result.success = self._handler.getSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getSchema", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -421,9 +462,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getThriftSchema_result()
      try:
        result.success = self._handler.getThriftSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getThriftSchema", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -435,9 +484,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getClusterStatus_result()
      try:
        result.success = self._handler.getClusterStatus()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getClusterStatus", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -449,9 +506,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      result = getQueryPlan_result()
      try:
        result.success = self._handler.getQueryPlan()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
        result.ex = ex
- oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getQueryPlan", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -461,8 +526,16 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
      args.read(iprot)
      iprot.readMessageEnd()
      result = clean_result()
- self._handler.clean()
- oprot.writeMessageBegin("clean", TMessageType.REPLY, seqid)
+ try:
+ self._handler.clean()
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("clean", msg_type, seqid)
      result.write(oprot)
      oprot.writeMessageEnd()
      oprot.trans.flush()
@@ -495,7 +568,7 @@ class execute_args:
          break
        if fid == 1:
          if ftype == TType.STRING:
- self.query = iprot.readString();
+ self.query = iprot.readString()
          else:
            iprot.skip(ftype)
        else:
@@ -674,7 +747,7 @@ class fetchOne_result:
          break
        if fid == 0:
          if ftype == TType.STRING:
- self.success = iprot.readString();
+ self.success = iprot.readString()
          else:
            iprot.skip(ftype)
        elif fid == 1:
@@ -750,7 +823,7 @@ class fetchN_args:
          break
        if fid == 1:
          if ftype == TType.I32:
- self.numRows = iprot.readI32();
+ self.numRows = iprot.readI32()
          else:
            iprot.skip(ftype)
        else:
@@ -820,7 +893,7 @@ class fetchN_result:
            self.success = []
            (_etype3, _size0) = iprot.readListBegin()
            for _i4 in xrange(_size0):
- _elem5 = iprot.readString();
+ _elem5 = iprot.readString()
              self.success.append(_elem5)
            iprot.readListEnd()
          else:
@@ -952,7 +1025,7 @@ class fetchAll_result:
            self.success = []
            (_etype10, _size7) = iprot.readListBegin()
            for _i11 in xrange(_size7):
- _elem12 = iprot.readString();
+ _elem12 = iprot.readString()
              self.success.append(_elem12)
            iprot.readListEnd()
          else:

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 29eb916..e19fe2a 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #
@@ -75,32 +75,32 @@ class HiveClusterStatus:
          break
        if fid == 1:
          if ftype == TType.I32:
- self.taskTrackers = iprot.readI32();
+ self.taskTrackers = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 2:
          if ftype == TType.I32:
- self.mapTasks = iprot.readI32();
+ self.mapTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 3:
          if ftype == TType.I32:
- self.reduceTasks = iprot.readI32();
+ self.reduceTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 4:
          if ftype == TType.I32:
- self.maxMapTasks = iprot.readI32();
+ self.maxMapTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 5:
          if ftype == TType.I32:
- self.maxReduceTasks = iprot.readI32();
+ self.maxReduceTasks = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 6:
          if ftype == TType.I32:
- self.state = iprot.readI32();
+ self.state = iprot.readI32()
          else:
            iprot.skip(ftype)
        else:
@@ -196,17 +196,17 @@ class HiveServerException(TException):
          break
        if fid == 1:
          if ftype == TType.STRING:
- self.message = iprot.readString();
+ self.message = iprot.readString()
          else:
            iprot.skip(ftype)
        elif fid == 2:
          if ftype == TType.I32:
- self.errorCode = iprot.readI32();
+ self.errorCode = iprot.readI32()
          else:
            iprot.skip(ftype)
        elif fid == 3:
          if ftype == TType.STRING:
- self.SQLState = iprot.readString();
+ self.SQLState = iprot.readString()
          else:
            iprot.skip(ftype)
        else:

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 73f4d7b..ed7d2d7 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f97a6fb..9191767 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f754d7d..7d7f7a7 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 3f72769..25adbb4 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bfb2b69..f004ec4 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6859ceb..2b57cd9 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
  #
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  #

Search Discussions

  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8935c04..a5448f0 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -15,6 +15,7 @@ ThriftHive_execute_args::~ThriftHive_execute_args() throw() {

      uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -55,7 +56,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_execute_args");

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

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

    @@ -75,7 +75,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_execute_pargs");

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

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

    @@ -95,6 +94,7 @@ ThriftHive_execute_result::~ThriftHive_execute_result() throw() {

      uint32_t ThriftHive_execute_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -156,6 +156,7 @@ ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() {

      uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -201,6 +202,7 @@ ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() {

      uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -228,12 +230,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args");

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

    @@ -244,12 +245,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs");

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

    @@ -260,6 +260,7 @@ ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() {

      uint32_t ThriftHive_fetchOne_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -333,6 +334,7 @@ ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() {

      uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -386,6 +388,7 @@ ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() {

      uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -426,7 +429,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_args");

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

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

    @@ -446,7 +448,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs");

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

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

    @@ -466,6 +467,7 @@ ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() {

      uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -559,6 +561,7 @@ ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() {

      uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -624,6 +627,7 @@ ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() {

      uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -651,12 +655,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args");

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

    @@ -667,12 +670,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs");

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

    @@ -683,6 +685,7 @@ ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() {

      uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -776,6 +779,7 @@ ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() {

      uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -841,6 +845,7 @@ ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() {

      uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -868,12 +873,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_args");

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

    @@ -884,12 +888,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs");

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

    @@ -900,6 +903,7 @@ ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() {

      uint32_t ThriftHive_getSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -973,6 +977,7 @@ ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() {

      uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1026,6 +1031,7 @@ ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() {

      uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1053,12 +1059,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args");

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

    @@ -1069,12 +1074,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs");

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

    @@ -1085,6 +1089,7 @@ ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw()

      uint32_t ThriftHive_getThriftSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1158,6 +1163,7 @@ ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw(

      uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1211,6 +1217,7 @@ ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() {

      uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1238,12 +1245,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args");

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

    @@ -1254,12 +1260,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs");

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

    @@ -1270,6 +1275,7 @@ ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw(

      uint32_t ThriftHive_getClusterStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1343,6 +1349,7 @@ ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() thro

      uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1396,6 +1403,7 @@ ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() {

      uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1423,12 +1431,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args");

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

    @@ -1439,12 +1446,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs");

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

    @@ -1455,6 +1461,7 @@ ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() {

      uint32_t ThriftHive_getQueryPlan_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1528,6 +1535,7 @@ ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() {

      uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1581,6 +1589,7 @@ ThriftHive_clean_args::~ThriftHive_clean_args() throw() {

      uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1608,12 +1617,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_clean_args");

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

    @@ -1624,12 +1632,11 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("ThriftHive_clean_pargs");

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

    @@ -1640,6 +1647,7 @@ ThriftHive_clean_result::~ThriftHive_clean_result() throw() {

      uint32_t ThriftHive_clean_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1683,6 +1691,7 @@ ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() {

      uint32_t ThriftHive_clean_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2761,5 +2770,775 @@ void ThriftHiveProcessor::process_clean(int32_t seqid, ::apache::thrift::protoco
        ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new ThriftHiveProcessor(handler));
        return processor;
      }
    +
    +void ThriftHiveConcurrentClient::execute(const std::string& query)
    +{
    + int32_t seqid = send_execute(query);
    + recv_execute(seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_execute(const std::string& query)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("execute", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_execute_pargs args;
    + args.query = &query;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_execute(const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("execute") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_execute_presult result;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + sentry.commit();
    + return;
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchOne(std::string& _return)
    +{
    + int32_t seqid = send_fetchOne();
    + recv_fetchOne(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchOne()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchOne", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchOne_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchOne(std::string& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchOne") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchOne_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchOne failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchN(std::vector<std::string> & _return, const int32_t numRows)
    +{
    + int32_t seqid = send_fetchN(numRows);
    + recv_fetchN(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchN(const int32_t numRows)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchN", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchN_pargs args;
    + args.numRows = &numRows;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchN(std::vector<std::string> & _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchN") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchN_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchN failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::fetchAll(std::vector<std::string> & _return)
    +{
    + int32_t seqid = send_fetchAll();
    + recv_fetchAll(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_fetchAll()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("fetchAll", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_fetchAll_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("fetchAll") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_fetchAll_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchAll failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getSchema( ::Apache::Hadoop::Hive::Schema& _return)
    +{
    + int32_t seqid = send_getSchema();
    + recv_getSchema(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getSchema()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getSchema", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getSchema_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getSchema") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getSchema_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getSchema failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return)
    +{
    + int32_t seqid = send_getThriftSchema();
    + recv_getThriftSchema(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getThriftSchema()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getThriftSchema", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getThriftSchema_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getThriftSchema") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getThriftSchema_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getThriftSchema failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getClusterStatus(HiveClusterStatus& _return)
    +{
    + int32_t seqid = send_getClusterStatus();
    + recv_getClusterStatus(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getClusterStatus()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getClusterStatus", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getClusterStatus_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getClusterStatus") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getClusterStatus_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getClusterStatus failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return)
    +{
    + int32_t seqid = send_getQueryPlan();
    + recv_getQueryPlan(_return, seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_getQueryPlan()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("getQueryPlan", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_getQueryPlan_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("getQueryPlan") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_getQueryPlan_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + if (result.__isset.ex) {
    + sentry.commit();
    + throw result.ex;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getQueryPlan failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void ThriftHiveConcurrentClient::clean()
    +{
    + int32_t seqid = send_clean();
    + recv_clean(seqid);
    +}
    +
    +int32_t ThriftHiveConcurrentClient::send_clean()
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("clean", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + ThriftHive_clean_pargs args;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void ThriftHiveConcurrentClient::recv_clean(const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("clean") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + ThriftHive_clean_presult result;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + sentry.commit();
    + return;
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
      }}} // namespace


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e610e50..902bd4b 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -8,11 +8,17 @@
      #define ThriftHive_H

      #include <thrift/TDispatchProcessor.h>
    +#include <thrift/async/TConcurrentClientSyncInfo.h>
      #include "hive_service_types.h"
      #include "ThriftHiveMetastore.h"

      namespace Apache { namespace Hadoop { namespace Hive {

    +#ifdef _WIN32
    + #pragma warning( push )
    + #pragma warning (disable : 4250 ) //inheriting methods via dominance
    +#endif
    +
      class ThriftHiveIf : virtual public ::Apache::Hadoop::Hive::ThriftHiveMetastoreIf {
       public:
        virtual ~ThriftHiveIf() {}
    @@ -91,9 +97,6 @@ typedef struct _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() {
    @@ -121,23 +124,18 @@ 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();
        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 {
    @@ -148,9 +146,6 @@ typedef struct _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() {
    @@ -178,7 +173,6 @@ 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 {
    @@ -189,9 +183,6 @@ typedef struct _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();
        HiveServerException ex;
    @@ -200,16 +191,12 @@ class ThriftHive_execute_presult {

        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() {
    @@ -230,22 +217,17 @@ 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();

        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 {
    @@ -257,9 +239,6 @@ typedef struct _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() {
    @@ -292,7 +271,6 @@ 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 {
    @@ -304,9 +282,6 @@ typedef struct _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();
        std::string* success;
    @@ -316,7 +291,6 @@ 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 {
    @@ -327,9 +301,6 @@ typedef struct _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) {
    @@ -357,23 +328,18 @@ 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();
        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 {
    @@ -385,9 +351,6 @@ typedef struct _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() {
    @@ -420,7 +383,6 @@ 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 {
    @@ -432,9 +394,6 @@ typedef struct _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();
        std::vector<std::string> * success;
    @@ -444,16 +403,12 @@ 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() {
    @@ -474,22 +429,17 @@ 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();

        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 {
    @@ -501,9 +451,6 @@ typedef struct _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() {
    @@ -536,7 +483,6 @@ 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 {
    @@ -548,9 +494,6 @@ typedef struct _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();
        std::vector<std::string> * success;
    @@ -560,16 +503,12 @@ 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() {
    @@ -590,22 +529,17 @@ 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();

        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 {
    @@ -617,9 +551,6 @@ typedef struct _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() {
    @@ -652,7 +583,6 @@ 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 {
    @@ -664,9 +594,6 @@ typedef struct _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();
         ::Apache::Hadoop::Hive::Schema* success;
    @@ -676,16 +603,12 @@ 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() {
    @@ -706,22 +629,17 @@ 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();

        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 {
    @@ -733,9 +651,6 @@ typedef struct _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() {
    @@ -768,7 +683,6 @@ 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 {
    @@ -780,9 +694,6 @@ typedef struct _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();
         ::Apache::Hadoop::Hive::Schema* success;
    @@ -792,16 +703,12 @@ 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() {
    @@ -822,22 +729,17 @@ 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();

        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 {
    @@ -849,9 +751,6 @@ typedef struct _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() {
    @@ -884,7 +783,6 @@ 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 {
    @@ -896,9 +794,6 @@ typedef struct _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();
        HiveClusterStatus* success;
    @@ -908,16 +803,12 @@ 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() {
    @@ -938,22 +829,17 @@ 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();

        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 {
    @@ -965,9 +851,6 @@ typedef struct _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() {
    @@ -1000,7 +883,6 @@ 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 {
    @@ -1012,9 +894,6 @@ typedef struct _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();
         ::Apache::Hadoop::Hive::QueryPlan* success;
    @@ -1024,16 +903,12 @@ 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() {
    @@ -1054,31 +929,23 @@ 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();

        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() {
    @@ -1099,22 +966,17 @@ 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();

        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 {
    @@ -1310,6 +1172,53 @@ class ThriftHiveMultiface : virtual public ThriftHiveIf, public ::Apache::Hadoo

      };

    +// The 'concurrent' client is a thread safe client that correctly handles
    +// out of order responses. It is slower than the regular client, so should
    +// only be used when you need to share a connection among multiple threads
    +class ThriftHiveConcurrentClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient {
    + public:
    + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) :
    + ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(prot, prot) {}
    + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(iprot, oprot) {}
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
    + return piprot_;
    + }
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
    + return poprot_;
    + }
    + void execute(const std::string& query);
    + int32_t send_execute(const std::string& query);
    + void recv_execute(const int32_t seqid);
    + void fetchOne(std::string& _return);
    + int32_t send_fetchOne();
    + void recv_fetchOne(std::string& _return, const int32_t seqid);
    + void fetchN(std::vector<std::string> & _return, const int32_t numRows);
    + int32_t send_fetchN(const int32_t numRows);
    + void recv_fetchN(std::vector<std::string> & _return, const int32_t seqid);
    + void fetchAll(std::vector<std::string> & _return);
    + int32_t send_fetchAll();
    + void recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid);
    + void getSchema( ::Apache::Hadoop::Hive::Schema& _return);
    + int32_t send_getSchema();
    + void recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
    + void getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return);
    + int32_t send_getThriftSchema();
    + void recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
    + void getClusterStatus(HiveClusterStatus& _return);
    + int32_t send_getClusterStatus();
    + void recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid);
    + void getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return);
    + int32_t send_getQueryPlan();
    + void recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid);
    + void clean();
    + int32_t send_clean();
    + void recv_clean(const int32_t seqid);
    +};
    +
    +#ifdef _WIN32
    + #pragma warning( pop )
    +#endif
    +
      }}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c3c8482..e2bbe71 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 5878dbe..e0887f4 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 4d6cf01..9ddf7c1 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -52,11 +52,9 @@ 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};
    -
      uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -139,7 +137,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("HiveClusterStatus");

        xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1);
    @@ -168,7 +166,6 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot)

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

    @@ -202,17 +199,16 @@ HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2)
        __isset = other2.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) {
    - using apache::thrift::to_string;
    +void HiveClusterStatus::printTo(std::ostream& out) const {
    + 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 << "taskTrackers=" << to_string(taskTrackers);
    + out << ", " << "mapTasks=" << to_string(mapTasks);
    + out << ", " << "reduceTasks=" << to_string(reduceTasks);
    + out << ", " << "maxMapTasks=" << to_string(maxMapTasks);
    + out << ", " << "maxReduceTasks=" << to_string(maxReduceTasks);
    + out << ", " << "state=" << to_string(state);
        out << ")";
    - return out;
      }


    @@ -232,11 +228,9 @@ 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};
    -
      uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -293,7 +287,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("HiveServerException");

        xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
    @@ -310,7 +304,6 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot

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

    @@ -335,14 +328,24 @@ HiveServerException& HiveServerException::operator=(const HiveServerException& o
        __isset = other4.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) {
    - using apache::thrift::to_string;
    +void HiveServerException::printTo(std::ostream& out) const {
    + 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 << "message=" << to_string(message);
    + out << ", " << "errorCode=" << to_string(errorCode);
    + out << ", " << "SQLState=" << to_string(SQLState);
        out << ")";
    - return out;
    +}
    +
    +const char* HiveServerException::what() const throw() {
    + try {
    + std::stringstream ss;
    + ss << "TException - service has thrown: " << *this;
    + this->thriftTExceptionMessageHolder_ = ss.str();
    + return this->thriftTExceptionMessageHolder_.c_str();
    + } catch (const std::exception&) {
    + return "TException - service has thrown: HiveServerException";
    + }
      }

      }}} // namespace

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7fea88c..266f8ea 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -48,9 +48,6 @@ typedef struct _HiveClusterStatus__isset {
      class HiveClusterStatus {
       public:

    - 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) {
    @@ -103,11 +100,17 @@ 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);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(HiveClusterStatus &a, HiveClusterStatus &b);

    +inline std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _HiveServerException__isset {
        _HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {}
        bool message :1;
    @@ -118,9 +121,6 @@ typedef struct _HiveServerException__isset {
      class HiveServerException : public ::apache::thrift::TException {
       public:

    - 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() {
    @@ -158,11 +158,19 @@ 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);
    + virtual void printTo(std::ostream& out) const;
    + mutable std::string thriftTExceptionMessageHolder_;
    + const char* what() const throw();
      };

      void swap(HiveServerException &a, HiveServerException &b);

    +inline std::ostream& operator<<(std::ostream& out, const HiveServerException& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      }}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 9dbfbe4..ad89867 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");

    @@ -417,19 +417,19 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case TASK_TRACKERS:
    - return Integer.valueOf(getTaskTrackers());
    + return getTaskTrackers();

          case MAP_TASKS:
    - return Integer.valueOf(getMapTasks());
    + return getMapTasks();

          case REDUCE_TASKS:
    - return Integer.valueOf(getReduceTasks());
    + return getReduceTasks();

          case MAX_MAP_TASKS:
    - return Integer.valueOf(getMaxMapTasks());
    + return getMaxMapTasks();

          case MAX_REDUCE_TASKS:
    - return Integer.valueOf(getMaxReduceTasks());
    + return getMaxReduceTasks();

          case STATE:
            return getState();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d1c2f3f..97b1219 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");

    @@ -276,7 +276,7 @@ public class HiveServerException extends TException implements org.apache.thrift
            return getMessage();

          case ERROR_CODE:
    - return Integer.valueOf(getErrorCode());
    + return getErrorCode();

          case SQLSTATE:
            return getSQLState();
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 fc5f458..d1d86fe 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");

    @@ -333,10 +333,10 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
            return getOperationType();

          case HAS_RESULT_SET:
    - return Boolean.valueOf(isHasResultSet());
    + return isHasResultSet();

          case MODIFIED_ROW_COUNT:
    - return Double.valueOf(getModifiedRowCount());
    + return getModifiedRowCount();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2dfde1c..fe029ef 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 6927740..f105259 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 fe2ad7e..38a5be3 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6e714c6..c936ada 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 0a8d6e1..e74bb29 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 4a5b522..63633e3 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8153fb4..28c34cd 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f0dd60f..9b9b2ac 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");

    @@ -312,7 +312,7 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case START_ROW_OFFSET:
    - return Long.valueOf(getStartRowOffset());
    + return getStartRowOffset();

          case ROWS:
            return getRows();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 09161e5..aeff2b6 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2fd1ac1..ccf281a 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");

    @@ -391,7 +391,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
            return getSqlState();

          case ERROR_CODE:
    - return Integer.valueOf(getErrorCode());
    + return getErrorCode();

          case ERROR_MESSAGE:
            return getErrorMessage();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 91d1a97..8900d4c 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 ed33013..7c15ec1 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 302b552..96e9be0 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b25b0e8..c90926a 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 73276cf..7a38e15 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d84b6a9..e187da2 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 203d3b9..a53eaa2 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 e6f2336..379bc92 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 54df6dc..cc786b2 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/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 80be0a4..ac97b7f 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 49f7388..0c7120d 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6bc7a6f..4ae9505 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,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      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");


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f5dd904..eba62f1 100644
    --- a/service/src/gen/thrift/gen-php/TCLIService.php
    +++ b/service/src/gen/thrift/gen-php/TCLIService.php
    @@ -1,7 +1,6 @@
      <?php
    -namespace ;
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/service/src/gen/thrift/gen-php/ThriftHive.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/ThriftHive.php b/service/src/gen/thrift/gen-php/ThriftHive.php
    index 2c783b6..23dc8fd 100644
    --- a/service/src/gen/thrift/gen-php/ThriftHive.php
    +++ b/service/src/gen/thrift/gen-php/ThriftHive.php
    @@ -1,7 +1,6 @@
      <?php
    -namespace ;
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/service/src/gen/thrift/gen-php/Types.php
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-php/Types.php b/service/src/gen/thrift/gen-php/Types.php
    index d8f3c5b..cbf4c29 100644
    --- a/service/src/gen/thrift/gen-php/Types.php
    +++ b/service/src/gen/thrift/gen-php/Types.php
    @@ -1,8 +1,6 @@
      <?php
    -namespace ;
    -
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    index 2bfca56..56f5c5d 100755
    --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
    @@ -1,6 +1,6 @@
      #!/usr/bin/env python
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    index 0067195..ad2d71d 100644
    --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -7,6 +7,7 @@
      #

      from thrift.Thrift import TType, TMessageType, TException, TApplicationException
    +import logging
      from ttypes import *
      from thrift.Thrift import TProcessor
      from thrift.transport import TTransport
    @@ -188,7 +189,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result")

        def CloseSession(self, req):
          """
    @@ -219,7 +220,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result")

        def GetInfo(self, req):
          """
    @@ -250,7 +251,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result")

        def ExecuteStatement(self, req):
          """
    @@ -281,7 +282,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result")

        def GetTypeInfo(self, req):
          """
    @@ -312,7 +313,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result")

        def GetCatalogs(self, req):
          """
    @@ -343,7 +344,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result")

        def GetSchemas(self, req):
          """
    @@ -374,7 +375,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result")

        def GetTables(self, req):
          """
    @@ -405,7 +406,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result")

        def GetTableTypes(self, req):
          """
    @@ -436,7 +437,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result")

        def GetColumns(self, req):
          """
    @@ -467,7 +468,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result")

        def GetFunctions(self, req):
          """
    @@ -498,7 +499,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result")

        def GetOperationStatus(self, req):
          """
    @@ -529,7 +530,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result")

        def CancelOperation(self, req):
          """
    @@ -560,7 +561,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result")

        def CloseOperation(self, req):
          """
    @@ -591,7 +592,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result")

        def GetResultSetMetadata(self, req):
          """
    @@ -622,7 +623,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result")

        def FetchResults(self, req):
          """
    @@ -653,7 +654,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result")

        def GetDelegationToken(self, req):
          """
    @@ -684,7 +685,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result")

        def CancelDelegationToken(self, req):
          """
    @@ -715,7 +716,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result")

        def RenewDelegationToken(self, req):
          """
    @@ -746,7 +747,7 @@ class Client(Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result")


      class Processor(Iface, TProcessor):
    @@ -793,8 +794,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = OpenSession_result()
    - result.success = self._handler.OpenSession(args.req)
    - oprot.writeMessageBegin("OpenSession", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.OpenSession(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("OpenSession", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -804,8 +813,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CloseSession_result()
    - result.success = self._handler.CloseSession(args.req)
    - oprot.writeMessageBegin("CloseSession", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CloseSession(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CloseSession", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -815,8 +832,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetInfo_result()
    - result.success = self._handler.GetInfo(args.req)
    - oprot.writeMessageBegin("GetInfo", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetInfo(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetInfo", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -826,8 +851,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = ExecuteStatement_result()
    - result.success = self._handler.ExecuteStatement(args.req)
    - oprot.writeMessageBegin("ExecuteStatement", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.ExecuteStatement(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("ExecuteStatement", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -837,8 +870,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTypeInfo_result()
    - result.success = self._handler.GetTypeInfo(args.req)
    - oprot.writeMessageBegin("GetTypeInfo", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTypeInfo(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTypeInfo", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -848,8 +889,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetCatalogs_result()
    - result.success = self._handler.GetCatalogs(args.req)
    - oprot.writeMessageBegin("GetCatalogs", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetCatalogs(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetCatalogs", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -859,8 +908,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetSchemas_result()
    - result.success = self._handler.GetSchemas(args.req)
    - oprot.writeMessageBegin("GetSchemas", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetSchemas(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetSchemas", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -870,8 +927,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTables_result()
    - result.success = self._handler.GetTables(args.req)
    - oprot.writeMessageBegin("GetTables", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTables(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTables", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -881,8 +946,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetTableTypes_result()
    - result.success = self._handler.GetTableTypes(args.req)
    - oprot.writeMessageBegin("GetTableTypes", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetTableTypes(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetTableTypes", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -892,8 +965,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetColumns_result()
    - result.success = self._handler.GetColumns(args.req)
    - oprot.writeMessageBegin("GetColumns", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetColumns(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetColumns", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -903,8 +984,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetFunctions_result()
    - result.success = self._handler.GetFunctions(args.req)
    - oprot.writeMessageBegin("GetFunctions", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetFunctions(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetFunctions", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -914,8 +1003,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetOperationStatus_result()
    - result.success = self._handler.GetOperationStatus(args.req)
    - oprot.writeMessageBegin("GetOperationStatus", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetOperationStatus(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetOperationStatus", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -925,8 +1022,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CancelOperation_result()
    - result.success = self._handler.CancelOperation(args.req)
    - oprot.writeMessageBegin("CancelOperation", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CancelOperation(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CancelOperation", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -936,8 +1041,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CloseOperation_result()
    - result.success = self._handler.CloseOperation(args.req)
    - oprot.writeMessageBegin("CloseOperation", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CloseOperation(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CloseOperation", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -947,8 +1060,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetResultSetMetadata_result()
    - result.success = self._handler.GetResultSetMetadata(args.req)
    - oprot.writeMessageBegin("GetResultSetMetadata", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetResultSetMetadata(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetResultSetMetadata", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -958,8 +1079,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = FetchResults_result()
    - result.success = self._handler.FetchResults(args.req)
    - oprot.writeMessageBegin("FetchResults", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.FetchResults(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("FetchResults", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -969,8 +1098,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = GetDelegationToken_result()
    - result.success = self._handler.GetDelegationToken(args.req)
    - oprot.writeMessageBegin("GetDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.GetDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("GetDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -980,8 +1117,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = CancelDelegationToken_result()
    - result.success = self._handler.CancelDelegationToken(args.req)
    - oprot.writeMessageBegin("CancelDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.CancelDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("CancelDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -991,8 +1136,16 @@ class Processor(Iface, TProcessor):
          args.read(iprot)
          iprot.readMessageEnd()
          result = RenewDelegationToken_result()
    - result.success = self._handler.RenewDelegationToken(args.req)
    - oprot.writeMessageBegin("RenewDelegationToken", TMessageType.REPLY, seqid)
    + try:
    + result.success = self._handler.RenewDelegationToken(args.req)
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("RenewDelegationToken", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()

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

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    index efee8ef..ef5f5f5 100644
    --- a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    +++ b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -416,12 +416,12 @@ class TTypeQualifierValue:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.i32Value = iprot.readI32();
    + self.i32Value = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -494,7 +494,7 @@ class TTypeQualifiers:
                self.qualifiers = {}
                (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
                for _i4 in xrange(_size0):
    - _key5 = iprot.readString();
    + _key5 = iprot.readString()
                  _val6 = TTypeQualifierValue()
                  _val6.read(iprot)
                  self.qualifiers[_key5] = _val6
    @@ -572,7 +572,7 @@ class TPrimitiveTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.type = iprot.readI32();
    + self.type = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -650,7 +650,7 @@ class TArrayTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.objectTypePtr = iprot.readI32();
    + self.objectTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -720,12 +720,12 @@ class TMapTypeEntry:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.keyTypePtr = iprot.readI32();
    + self.keyTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.valueTypePtr = iprot.readI32();
    + self.valueTypePtr = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -802,8 +802,8 @@ class TStructTypeEntry:
                self.nameToTypePtr = {}
                (_ktype10, _vtype11, _size9 ) = iprot.readMapBegin()
                for _i13 in xrange(_size9):
    - _key14 = iprot.readString();
    - _val15 = iprot.readI32();
    + _key14 = iprot.readString()
    + _val15 = iprot.readI32()
                  self.nameToTypePtr[_key14] = _val15
                iprot.readMapEnd()
              else:
    @@ -879,8 +879,8 @@ class TUnionTypeEntry:
                self.nameToTypePtr = {}
                (_ktype19, _vtype20, _size18 ) = iprot.readMapBegin()
                for _i22 in xrange(_size18):
    - _key23 = iprot.readString();
    - _val24 = iprot.readI32();
    + _key23 = iprot.readString()
    + _val24 = iprot.readI32()
                  self.nameToTypePtr[_key23] = _val24
                iprot.readMapEnd()
              else:
    @@ -953,7 +953,7 @@ class TUserDefinedTypeEntry:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.typeClassName = iprot.readString();
    + self.typeClassName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -1241,7 +1241,7 @@ class TColumnDesc:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.columnName = iprot.readString();
    + self.columnName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -1252,12 +1252,12 @@ class TColumnDesc:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.position = iprot.readI32();
    + self.position = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.comment = iprot.readString();
    + self.comment = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -1419,7 +1419,7 @@ class TBoolValue:
              break
            if fid == 1:
              if ftype == TType.BOOL:
    - self.value = iprot.readBool();
    + self.value = iprot.readBool()
              else:
                iprot.skip(ftype)
            else:
    @@ -1484,7 +1484,7 @@ class TByteValue:
              break
            if fid == 1:
              if ftype == TType.BYTE:
    - self.value = iprot.readByte();
    + self.value = iprot.readByte()
              else:
                iprot.skip(ftype)
            else:
    @@ -1549,7 +1549,7 @@ class TI16Value:
              break
            if fid == 1:
              if ftype == TType.I16:
    - self.value = iprot.readI16();
    + self.value = iprot.readI16()
              else:
                iprot.skip(ftype)
            else:
    @@ -1614,7 +1614,7 @@ class TI32Value:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.value = iprot.readI32();
    + self.value = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -1679,7 +1679,7 @@ class TI64Value:
              break
            if fid == 1:
              if ftype == TType.I64:
    - self.value = iprot.readI64();
    + self.value = iprot.readI64()
              else:
                iprot.skip(ftype)
            else:
    @@ -1744,7 +1744,7 @@ class TDoubleValue:
              break
            if fid == 1:
              if ftype == TType.DOUBLE:
    - self.value = iprot.readDouble();
    + self.value = iprot.readDouble()
              else:
                iprot.skip(ftype)
            else:
    @@ -1809,7 +1809,7 @@ class TStringValue:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.value = iprot.readString();
    + self.value = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2106,14 +2106,14 @@ class TBoolColumn:
                self.values = []
                (_etype51, _size48) = iprot.readListBegin()
                for _i52 in xrange(_size48):
    - _elem53 = iprot.readBool();
    + _elem53 = iprot.readBool()
                  self.values.append(_elem53)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2196,14 +2196,14 @@ class TByteColumn:
                self.values = []
                (_etype58, _size55) = iprot.readListBegin()
                for _i59 in xrange(_size55):
    - _elem60 = iprot.readByte();
    + _elem60 = iprot.readByte()
                  self.values.append(_elem60)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2286,14 +2286,14 @@ class TI16Column:
                self.values = []
                (_etype65, _size62) = iprot.readListBegin()
                for _i66 in xrange(_size62):
    - _elem67 = iprot.readI16();
    + _elem67 = iprot.readI16()
                  self.values.append(_elem67)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2376,14 +2376,14 @@ class TI32Column:
                self.values = []
                (_etype72, _size69) = iprot.readListBegin()
                for _i73 in xrange(_size69):
    - _elem74 = iprot.readI32();
    + _elem74 = iprot.readI32()
                  self.values.append(_elem74)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2466,14 +2466,14 @@ class TI64Column:
                self.values = []
                (_etype79, _size76) = iprot.readListBegin()
                for _i80 in xrange(_size76):
    - _elem81 = iprot.readI64();
    + _elem81 = iprot.readI64()
                  self.values.append(_elem81)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2556,14 +2556,14 @@ class TDoubleColumn:
                self.values = []
                (_etype86, _size83) = iprot.readListBegin()
                for _i87 in xrange(_size83):
    - _elem88 = iprot.readDouble();
    + _elem88 = iprot.readDouble()
                  self.values.append(_elem88)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2646,14 +2646,14 @@ class TStringColumn:
                self.values = []
                (_etype93, _size90) = iprot.readListBegin()
                for _i94 in xrange(_size90):
    - _elem95 = iprot.readString();
    + _elem95 = iprot.readString()
                  self.values.append(_elem95)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2736,14 +2736,14 @@ class TBinaryColumn:
                self.values = []
                (_etype100, _size97) = iprot.readListBegin()
                for _i101 in xrange(_size97):
    - _elem102 = iprot.readString();
    + _elem102 = iprot.readString()
                  self.values.append(_elem102)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.nulls = iprot.readString();
    + self.nulls = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -2990,7 +2990,7 @@ class TRowSet:
              break
            if fid == 1:
              if ftype == TType.I64:
    - self.startRowOffset = iprot.readI64();
    + self.startRowOffset = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -3109,7 +3109,7 @@ class TStatus:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.statusCode = iprot.readI32();
    + self.statusCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
    @@ -3117,24 +3117,24 @@ class TStatus:
                self.infoMessages = []
                (_etype121, _size118) = iprot.readListBegin()
                for _i122 in xrange(_size118):
    - _elem123 = iprot.readString();
    + _elem123 = iprot.readString()
                  self.infoMessages.append(_elem123)
                iprot.readListEnd()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.sqlState = iprot.readString();
    + self.sqlState = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.errorCode = iprot.readI32();
    + self.errorCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.errorMessage = iprot.readString();
    + self.errorMessage = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -3227,12 +3227,12 @@ class THandleIdentifier:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.guid = iprot.readString();
    + self.guid = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.secret = iprot.readString();
    + self.secret = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -3389,17 +3389,17 @@ class TOperationHandle:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.operationType = iprot.readI32();
    + self.operationType = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.BOOL:
    - self.hasResultSet = iprot.readBool();
    + self.hasResultSet = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.DOUBLE:
    - self.modifiedRowCount = iprot.readDouble();
    + self.modifiedRowCount = iprot.readDouble()
              else:
                iprot.skip(ftype)
            else:
    @@ -3494,17 +3494,17 @@ class TOpenSessionReq:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.client_protocol = iprot.readI32();
    + self.client_protocol = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.username = iprot.readString();
    + self.username = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.password = iprot.readString();
    + self.password = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
    @@ -3512,8 +3512,8 @@ class TOpenSessionReq:
                self.configuration = {}
                (_ktype126, _vtype127, _size125 ) = iprot.readMapBegin()
                for _i129 in xrange(_size125):
    - _key130 = iprot.readString();
    - _val131 = iprot.readString();
    + _key130 = iprot.readString()
    + _val131 = iprot.readString()
                  self.configuration[_key130] = _val131
                iprot.readMapEnd()
              else:
    @@ -3616,7 +3616,7 @@ class TOpenSessionResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.serverProtocolVersion = iprot.readI32();
    + self.serverProtocolVersion = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -3630,8 +3630,8 @@ class TOpenSessionResp:
                self.configuration = {}
                (_ktype135, _vtype136, _size134 ) = iprot.readMapBegin()
                for _i138 in xrange(_size134):
    - _key139 = iprot.readString();
    - _val140 = iprot.readString();
    + _key139 = iprot.readString()
    + _val140 = iprot.readString()
                  self.configuration[_key139] = _val140
                iprot.readMapEnd()
              else:
    @@ -3872,32 +3872,32 @@ class TGetInfoValue:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I16:
    - self.smallIntValue = iprot.readI16();
    + self.smallIntValue = iprot.readI16()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.integerBitmask = iprot.readI32();
    + self.integerBitmask = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.integerFlag = iprot.readI32();
    + self.integerFlag = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.I32:
    - self.binaryValue = iprot.readI32();
    + self.binaryValue = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 6:
              if ftype == TType.I64:
    - self.lenValue = iprot.readI64();
    + self.lenValue = iprot.readI64()
              else:
                iprot.skip(ftype)
            else:
    @@ -3996,7 +3996,7 @@ class TGetInfoReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.infoType = iprot.readI32();
    + self.infoType = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -4169,7 +4169,7 @@ class TExecuteStatementReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.statement = iprot.readString();
    + self.statement = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -4177,15 +4177,15 @@ class TExecuteStatementReq:
                self.confOverlay = {}
                (_ktype144, _vtype145, _size143 ) = iprot.readMapBegin()
                for _i147 in xrange(_size143):
    - _key148 = iprot.readString();
    - _val149 = iprot.readString();
    + _key148 = iprot.readString()
    + _val149 = iprot.readString()
                  self.confOverlay[_key148] = _val149
                iprot.readMapEnd()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.BOOL:
    - self.runAsync = iprot.readBool();
    + self.runAsync = iprot.readBool()
              else:
                iprot.skip(ftype)
            else:
    @@ -4667,12 +4667,12 @@ class TGetSchemasReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -4849,17 +4849,17 @@ class TGetTablesReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.tableName = iprot.readString();
    + self.tableName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 5:
    @@ -4867,7 +4867,7 @@ class TGetTablesReq:
                self.tableTypes = []
                (_etype155, _size152) = iprot.readListBegin()
                for _i156 in xrange(_size152):
    - _elem157 = iprot.readString();
    + _elem157 = iprot.readString()
                  self.tableTypes.append(_elem157)
                iprot.readListEnd()
              else:
    @@ -5209,22 +5209,22 @@ class TGetColumnsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.tableName = iprot.readString();
    + self.tableName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.columnName = iprot.readString();
    + self.columnName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -5408,17 +5408,17 @@ class TGetFunctionsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.catalogName = iprot.readString();
    + self.catalogName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.schemaName = iprot.readString();
    + self.schemaName = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.STRING:
    - self.functionName = iprot.readString();
    + self.functionName = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -5670,22 +5670,22 @@ class TGetOperationStatusResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.operationState = iprot.readI32();
    + self.operationState = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.sqlState = iprot.readString();
    + self.sqlState = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.errorCode = iprot.readI32();
    + self.errorCode = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.STRING:
    - self.errorMessage = iprot.readString();
    + self.errorMessage = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6209,17 +6209,17 @@ class TFetchResultsReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.orientation = iprot.readI32();
    + self.orientation = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I64:
    - self.maxRows = iprot.readI64();
    + self.maxRows = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I16:
    - self.fetchType = iprot.readI16();
    + self.fetchType = iprot.readI16()
              else:
                iprot.skip(ftype)
            else:
    @@ -6317,7 +6317,7 @@ class TFetchResultsResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.BOOL:
    - self.hasMoreRows = iprot.readBool();
    + self.hasMoreRows = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -6412,12 +6412,12 @@ class TGetDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.owner = iprot.readString();
    + self.owner = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.renewer = iprot.readString();
    + self.renewer = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6507,7 +6507,7 @@ class TGetDelegationTokenResp:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6588,7 +6588,7 @@ class TCancelDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:
    @@ -6739,7 +6739,7 @@ class TRenewDelegationTokenReq:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.delegationToken = iprot.readString();
    + self.delegationToken = iprot.readString()
              else:
                iprot.skip(ftype)
            else:

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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
    index 7f63595..4bd7a5a 100755
    --- 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.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -91,7 +91,6 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
        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(' i32 get_num_partitions_by_filter(string db_name, string tbl_name, string filter)')
        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)')
    @@ -637,12 +636,6 @@ elif cmd == 'get_partitions_by_expr':
          sys.exit(1)
        pp.pprint(client.get_partitions_by_expr(eval(args[0]),))

    -elif cmd == 'get_num_partitions_by_filter':
    - if len(args) != 3:
    - print('get_num_partitions_by_filter requires 3 args')
    - sys.exit(1)
    - pp.pprint(client.get_num_partitions_by_filter(args[0],args[1],args[2],))
    -
      elif cmd == 'get_partitions_by_names':
        if len(args) != 3:
          print('get_partitions_by_names requires 3 args')
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-cpp/TCLIService.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.h b/service/src/gen/thrift/gen-cpp/TCLIService.h
    index 29a9f4a..2ea80c7 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -8,10 +8,16 @@
      #define TCLIService_H

      #include <thrift/TDispatchProcessor.h>
    +#include <thrift/async/TConcurrentClientSyncInfo.h>
      #include "TCLIService_types.h"

      namespace apache { namespace hive { namespace service { namespace cli { namespace thrift {

    +#ifdef _WIN32
    + #pragma warning( push )
    + #pragma warning (disable : 4250 ) //inheriting methods via dominance
    +#endif
    +
      class TCLIServiceIf {
       public:
        virtual ~TCLIServiceIf() {}
    @@ -130,9 +136,6 @@ typedef struct _TCLIService_OpenSession_args__isset {
      class TCLIService_OpenSession_args {
       public:

    - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
    -
        TCLIService_OpenSession_args(const TCLIService_OpenSession_args&);
        TCLIService_OpenSession_args& operator=(const TCLIService_OpenSession_args&);
        TCLIService_OpenSession_args() {
    @@ -160,23 +163,18 @@ class TCLIService_OpenSession_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 TCLIService_OpenSession_args& obj);
      };


      class TCLIService_OpenSession_pargs {
       public:

    - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
    -

        virtual ~TCLIService_OpenSession_pargs() throw();
        const TOpenSessionReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_pargs& obj);
      };

      typedef struct _TCLIService_OpenSession_result__isset {
    @@ -187,9 +185,6 @@ typedef struct _TCLIService_OpenSession_result__isset {
      class TCLIService_OpenSession_result {
       public:

    - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
    - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
    -
        TCLIService_OpenSession_result(const TCLIService_OpenSession_result&);
        TCLIService_OpenSession_result& operator=(const TCLIService_OpenSession_result&);
        TCLIService_OpenSession_result() {
    @@ -217,7 +212,6 @@ class TCLIService_OpenSession_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 TCLIService_OpenSession_result& obj);
      };

      typedef struct _TCLIService_OpenSession_presult__isset {
    @@ -228,9 +222,6 @@ typedef struct _TCLIService_OpenSession_presult__isset {
      class TCLIService_OpenSession_presult {
       public:

    - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
    - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
    -

        virtual ~TCLIService_OpenSession_presult() throw();
        TOpenSessionResp* success;
    @@ -239,7 +230,6 @@ class TCLIService_OpenSession_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_presult& obj);
      };

      typedef struct _TCLIService_CloseSession_args__isset {
    @@ -250,9 +240,6 @@ typedef struct _TCLIService_CloseSession_args__isset {
      class TCLIService_CloseSession_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_CloseSession_args(const TCLIService_CloseSession_args&);
        TCLIService_CloseSession_args& operator=(const TCLIService_CloseSession_args&);
        TCLIService_CloseSession_args() {
    @@ -280,23 +267,18 @@ class TCLIService_CloseSession_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 TCLIService_CloseSession_args& obj);
      };


      class TCLIService_CloseSession_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_CloseSession_pargs() throw();
        const TCloseSessionReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_pargs& obj);
      };

      typedef struct _TCLIService_CloseSession_result__isset {
    @@ -307,9 +289,6 @@ typedef struct _TCLIService_CloseSession_result__isset {
      class TCLIService_CloseSession_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CloseSession_result(const TCLIService_CloseSession_result&);
        TCLIService_CloseSession_result& operator=(const TCLIService_CloseSession_result&);
        TCLIService_CloseSession_result() {
    @@ -337,7 +316,6 @@ class TCLIService_CloseSession_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 TCLIService_CloseSession_result& obj);
      };

      typedef struct _TCLIService_CloseSession_presult__isset {
    @@ -348,9 +326,6 @@ typedef struct _TCLIService_CloseSession_presult__isset {
      class TCLIService_CloseSession_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CloseSession_presult() throw();
        TCloseSessionResp* success;
    @@ -359,7 +334,6 @@ class TCLIService_CloseSession_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_presult& obj);
      };

      typedef struct _TCLIService_GetInfo_args__isset {
    @@ -370,9 +344,6 @@ typedef struct _TCLIService_GetInfo_args__isset {
      class TCLIService_GetInfo_args {
       public:

    - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
    - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
    -
        TCLIService_GetInfo_args(const TCLIService_GetInfo_args&);
        TCLIService_GetInfo_args& operator=(const TCLIService_GetInfo_args&);
        TCLIService_GetInfo_args() {
    @@ -400,23 +371,18 @@ class TCLIService_GetInfo_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 TCLIService_GetInfo_args& obj);
      };


      class TCLIService_GetInfo_pargs {
       public:

    - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
    - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
    -

        virtual ~TCLIService_GetInfo_pargs() throw();
        const TGetInfoReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_pargs& obj);
      };

      typedef struct _TCLIService_GetInfo_result__isset {
    @@ -427,9 +393,6 @@ typedef struct _TCLIService_GetInfo_result__isset {
      class TCLIService_GetInfo_result {
       public:

    - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
    -
        TCLIService_GetInfo_result(const TCLIService_GetInfo_result&);
        TCLIService_GetInfo_result& operator=(const TCLIService_GetInfo_result&);
        TCLIService_GetInfo_result() {
    @@ -457,7 +420,6 @@ class TCLIService_GetInfo_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 TCLIService_GetInfo_result& obj);
      };

      typedef struct _TCLIService_GetInfo_presult__isset {
    @@ -468,9 +430,6 @@ typedef struct _TCLIService_GetInfo_presult__isset {
      class TCLIService_GetInfo_presult {
       public:

    - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
    -

        virtual ~TCLIService_GetInfo_presult() throw();
        TGetInfoResp* success;
    @@ -479,7 +438,6 @@ class TCLIService_GetInfo_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_presult& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_args__isset {
    @@ -490,9 +448,6 @@ typedef struct _TCLIService_ExecuteStatement_args__isset {
      class TCLIService_ExecuteStatement_args {
       public:

    - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
    -
        TCLIService_ExecuteStatement_args(const TCLIService_ExecuteStatement_args&);
        TCLIService_ExecuteStatement_args& operator=(const TCLIService_ExecuteStatement_args&);
        TCLIService_ExecuteStatement_args() {
    @@ -520,23 +475,18 @@ class TCLIService_ExecuteStatement_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 TCLIService_ExecuteStatement_args& obj);
      };


      class TCLIService_ExecuteStatement_pargs {
       public:

    - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
    -

        virtual ~TCLIService_ExecuteStatement_pargs() throw();
        const TExecuteStatementReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_pargs& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_result__isset {
    @@ -547,9 +497,6 @@ typedef struct _TCLIService_ExecuteStatement_result__isset {
      class TCLIService_ExecuteStatement_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_ExecuteStatement_result(const TCLIService_ExecuteStatement_result&);
        TCLIService_ExecuteStatement_result& operator=(const TCLIService_ExecuteStatement_result&);
        TCLIService_ExecuteStatement_result() {
    @@ -577,7 +524,6 @@ class TCLIService_ExecuteStatement_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 TCLIService_ExecuteStatement_result& obj);
      };

      typedef struct _TCLIService_ExecuteStatement_presult__isset {
    @@ -588,9 +534,6 @@ typedef struct _TCLIService_ExecuteStatement_presult__isset {
      class TCLIService_ExecuteStatement_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_ExecuteStatement_presult() throw();
        TExecuteStatementResp* success;
    @@ -599,7 +542,6 @@ class TCLIService_ExecuteStatement_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_presult& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_args__isset {
    @@ -610,9 +552,6 @@ typedef struct _TCLIService_GetTypeInfo_args__isset {
      class TCLIService_GetTypeInfo_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetTypeInfo_args(const TCLIService_GetTypeInfo_args&);
        TCLIService_GetTypeInfo_args& operator=(const TCLIService_GetTypeInfo_args&);
        TCLIService_GetTypeInfo_args() {
    @@ -640,23 +579,18 @@ class TCLIService_GetTypeInfo_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 TCLIService_GetTypeInfo_args& obj);
      };


      class TCLIService_GetTypeInfo_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetTypeInfo_pargs() throw();
        const TGetTypeInfoReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_pargs& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_result__isset {
    @@ -667,9 +601,6 @@ typedef struct _TCLIService_GetTypeInfo_result__isset {
      class TCLIService_GetTypeInfo_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTypeInfo_result(const TCLIService_GetTypeInfo_result&);
        TCLIService_GetTypeInfo_result& operator=(const TCLIService_GetTypeInfo_result&);
        TCLIService_GetTypeInfo_result() {
    @@ -697,7 +628,6 @@ class TCLIService_GetTypeInfo_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 TCLIService_GetTypeInfo_result& obj);
      };

      typedef struct _TCLIService_GetTypeInfo_presult__isset {
    @@ -708,9 +638,6 @@ typedef struct _TCLIService_GetTypeInfo_presult__isset {
      class TCLIService_GetTypeInfo_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTypeInfo_presult() throw();
        TGetTypeInfoResp* success;
    @@ -719,7 +646,6 @@ class TCLIService_GetTypeInfo_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_presult& obj);
      };

      typedef struct _TCLIService_GetCatalogs_args__isset {
    @@ -730,9 +656,6 @@ typedef struct _TCLIService_GetCatalogs_args__isset {
      class TCLIService_GetCatalogs_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetCatalogs_args(const TCLIService_GetCatalogs_args&);
        TCLIService_GetCatalogs_args& operator=(const TCLIService_GetCatalogs_args&);
        TCLIService_GetCatalogs_args() {
    @@ -760,23 +683,18 @@ class TCLIService_GetCatalogs_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 TCLIService_GetCatalogs_args& obj);
      };


      class TCLIService_GetCatalogs_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetCatalogs_pargs() throw();
        const TGetCatalogsReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_pargs& obj);
      };

      typedef struct _TCLIService_GetCatalogs_result__isset {
    @@ -787,9 +705,6 @@ typedef struct _TCLIService_GetCatalogs_result__isset {
      class TCLIService_GetCatalogs_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetCatalogs_result(const TCLIService_GetCatalogs_result&);
        TCLIService_GetCatalogs_result& operator=(const TCLIService_GetCatalogs_result&);
        TCLIService_GetCatalogs_result() {
    @@ -817,7 +732,6 @@ class TCLIService_GetCatalogs_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 TCLIService_GetCatalogs_result& obj);
      };

      typedef struct _TCLIService_GetCatalogs_presult__isset {
    @@ -828,9 +742,6 @@ typedef struct _TCLIService_GetCatalogs_presult__isset {
      class TCLIService_GetCatalogs_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetCatalogs_presult() throw();
        TGetCatalogsResp* success;
    @@ -839,7 +750,6 @@ class TCLIService_GetCatalogs_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_presult& obj);
      };

      typedef struct _TCLIService_GetSchemas_args__isset {
    @@ -850,9 +760,6 @@ typedef struct _TCLIService_GetSchemas_args__isset {
      class TCLIService_GetSchemas_args {
       public:

    - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
    -
        TCLIService_GetSchemas_args(const TCLIService_GetSchemas_args&);
        TCLIService_GetSchemas_args& operator=(const TCLIService_GetSchemas_args&);
        TCLIService_GetSchemas_args() {
    @@ -880,23 +787,18 @@ class TCLIService_GetSchemas_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 TCLIService_GetSchemas_args& obj);
      };


      class TCLIService_GetSchemas_pargs {
       public:

    - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
    -

        virtual ~TCLIService_GetSchemas_pargs() throw();
        const TGetSchemasReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_pargs& obj);
      };

      typedef struct _TCLIService_GetSchemas_result__isset {
    @@ -907,9 +809,6 @@ typedef struct _TCLIService_GetSchemas_result__isset {
      class TCLIService_GetSchemas_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetSchemas_result(const TCLIService_GetSchemas_result&);
        TCLIService_GetSchemas_result& operator=(const TCLIService_GetSchemas_result&);
        TCLIService_GetSchemas_result() {
    @@ -937,7 +836,6 @@ class TCLIService_GetSchemas_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 TCLIService_GetSchemas_result& obj);
      };

      typedef struct _TCLIService_GetSchemas_presult__isset {
    @@ -948,9 +846,6 @@ typedef struct _TCLIService_GetSchemas_presult__isset {
      class TCLIService_GetSchemas_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetSchemas_presult() throw();
        TGetSchemasResp* success;
    @@ -959,7 +854,6 @@ class TCLIService_GetSchemas_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_presult& obj);
      };

      typedef struct _TCLIService_GetTables_args__isset {
    @@ -970,9 +864,6 @@ typedef struct _TCLIService_GetTables_args__isset {
      class TCLIService_GetTables_args {
       public:

    - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
    -
        TCLIService_GetTables_args(const TCLIService_GetTables_args&);
        TCLIService_GetTables_args& operator=(const TCLIService_GetTables_args&);
        TCLIService_GetTables_args() {
    @@ -1000,23 +891,18 @@ class TCLIService_GetTables_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 TCLIService_GetTables_args& obj);
      };


      class TCLIService_GetTables_pargs {
       public:

    - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
    -

        virtual ~TCLIService_GetTables_pargs() throw();
        const TGetTablesReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_pargs& obj);
      };

      typedef struct _TCLIService_GetTables_result__isset {
    @@ -1027,9 +913,6 @@ typedef struct _TCLIService_GetTables_result__isset {
      class TCLIService_GetTables_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTables_result(const TCLIService_GetTables_result&);
        TCLIService_GetTables_result& operator=(const TCLIService_GetTables_result&);
        TCLIService_GetTables_result() {
    @@ -1057,7 +940,6 @@ class TCLIService_GetTables_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 TCLIService_GetTables_result& obj);
      };

      typedef struct _TCLIService_GetTables_presult__isset {
    @@ -1068,9 +950,6 @@ typedef struct _TCLIService_GetTables_presult__isset {
      class TCLIService_GetTables_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTables_presult() throw();
        TGetTablesResp* success;
    @@ -1079,7 +958,6 @@ class TCLIService_GetTables_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_presult& obj);
      };

      typedef struct _TCLIService_GetTableTypes_args__isset {
    @@ -1090,9 +968,6 @@ typedef struct _TCLIService_GetTableTypes_args__isset {
      class TCLIService_GetTableTypes_args {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -
        TCLIService_GetTableTypes_args(const TCLIService_GetTableTypes_args&);
        TCLIService_GetTableTypes_args& operator=(const TCLIService_GetTableTypes_args&);
        TCLIService_GetTableTypes_args() {
    @@ -1120,23 +995,18 @@ class TCLIService_GetTableTypes_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 TCLIService_GetTableTypes_args& obj);
      };


      class TCLIService_GetTableTypes_pargs {
       public:

    - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
    - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
    -

        virtual ~TCLIService_GetTableTypes_pargs() throw();
        const TGetTableTypesReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_pargs& obj);
      };

      typedef struct _TCLIService_GetTableTypes_result__isset {
    @@ -1147,9 +1017,6 @@ typedef struct _TCLIService_GetTableTypes_result__isset {
      class TCLIService_GetTableTypes_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetTableTypes_result(const TCLIService_GetTableTypes_result&);
        TCLIService_GetTableTypes_result& operator=(const TCLIService_GetTableTypes_result&);
        TCLIService_GetTableTypes_result() {
    @@ -1177,7 +1044,6 @@ class TCLIService_GetTableTypes_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 TCLIService_GetTableTypes_result& obj);
      };

      typedef struct _TCLIService_GetTableTypes_presult__isset {
    @@ -1188,9 +1054,6 @@ typedef struct _TCLIService_GetTableTypes_presult__isset {
      class TCLIService_GetTableTypes_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetTableTypes_presult() throw();
        TGetTableTypesResp* success;
    @@ -1199,7 +1062,6 @@ class TCLIService_GetTableTypes_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_presult& obj);
      };

      typedef struct _TCLIService_GetColumns_args__isset {
    @@ -1210,9 +1072,6 @@ typedef struct _TCLIService_GetColumns_args__isset {
      class TCLIService_GetColumns_args {
       public:

    - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
    -
        TCLIService_GetColumns_args(const TCLIService_GetColumns_args&);
        TCLIService_GetColumns_args& operator=(const TCLIService_GetColumns_args&);
        TCLIService_GetColumns_args() {
    @@ -1240,23 +1099,18 @@ class TCLIService_GetColumns_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 TCLIService_GetColumns_args& obj);
      };


      class TCLIService_GetColumns_pargs {
       public:

    - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
    -

        virtual ~TCLIService_GetColumns_pargs() throw();
        const TGetColumnsReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_pargs& obj);
      };

      typedef struct _TCLIService_GetColumns_result__isset {
    @@ -1267,9 +1121,6 @@ typedef struct _TCLIService_GetColumns_result__isset {
      class TCLIService_GetColumns_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetColumns_result(const TCLIService_GetColumns_result&);
        TCLIService_GetColumns_result& operator=(const TCLIService_GetColumns_result&);
        TCLIService_GetColumns_result() {
    @@ -1297,7 +1148,6 @@ class TCLIService_GetColumns_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 TCLIService_GetColumns_result& obj);
      };

      typedef struct _TCLIService_GetColumns_presult__isset {
    @@ -1308,9 +1158,6 @@ typedef struct _TCLIService_GetColumns_presult__isset {
      class TCLIService_GetColumns_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetColumns_presult() throw();
        TGetColumnsResp* success;
    @@ -1319,7 +1166,6 @@ class TCLIService_GetColumns_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_presult& obj);
      };

      typedef struct _TCLIService_GetFunctions_args__isset {
    @@ -1330,9 +1176,6 @@ typedef struct _TCLIService_GetFunctions_args__isset {
      class TCLIService_GetFunctions_args {
       public:

    - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
    - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
    -
        TCLIService_GetFunctions_args(const TCLIService_GetFunctions_args&);
        TCLIService_GetFunctions_args& operator=(const TCLIService_GetFunctions_args&);
        TCLIService_GetFunctions_args() {
    @@ -1360,23 +1203,18 @@ class TCLIService_GetFunctions_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 TCLIService_GetFunctions_args& obj);
      };


      class TCLIService_GetFunctions_pargs {
       public:

    - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
    - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
    -

        virtual ~TCLIService_GetFunctions_pargs() throw();
        const TGetFunctionsReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_pargs& obj);
      };

      typedef struct _TCLIService_GetFunctions_result__isset {
    @@ -1387,9 +1225,6 @@ typedef struct _TCLIService_GetFunctions_result__isset {
      class TCLIService_GetFunctions_result {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -
        TCLIService_GetFunctions_result(const TCLIService_GetFunctions_result&);
        TCLIService_GetFunctions_result& operator=(const TCLIService_GetFunctions_result&);
        TCLIService_GetFunctions_result() {
    @@ -1417,7 +1252,6 @@ class TCLIService_GetFunctions_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 TCLIService_GetFunctions_result& obj);
      };

      typedef struct _TCLIService_GetFunctions_presult__isset {
    @@ -1428,9 +1262,6 @@ typedef struct _TCLIService_GetFunctions_presult__isset {
      class TCLIService_GetFunctions_presult {
       public:

    - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
    - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
    -

        virtual ~TCLIService_GetFunctions_presult() throw();
        TGetFunctionsResp* success;
    @@ -1439,7 +1270,6 @@ class TCLIService_GetFunctions_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_presult& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_args__isset {
    @@ -1450,9 +1280,6 @@ typedef struct _TCLIService_GetOperationStatus_args__isset {
      class TCLIService_GetOperationStatus_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_GetOperationStatus_args(const TCLIService_GetOperationStatus_args&);
        TCLIService_GetOperationStatus_args& operator=(const TCLIService_GetOperationStatus_args&);
        TCLIService_GetOperationStatus_args() {
    @@ -1480,23 +1307,18 @@ class TCLIService_GetOperationStatus_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 TCLIService_GetOperationStatus_args& obj);
      };


      class TCLIService_GetOperationStatus_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_GetOperationStatus_pargs() throw();
        const TGetOperationStatusReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_pargs& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_result__isset {
    @@ -1507,9 +1329,6 @@ typedef struct _TCLIService_GetOperationStatus_result__isset {
      class TCLIService_GetOperationStatus_result {
       public:

    - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
    - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
    -
        TCLIService_GetOperationStatus_result(const TCLIService_GetOperationStatus_result&);
        TCLIService_GetOperationStatus_result& operator=(const TCLIService_GetOperationStatus_result&);
        TCLIService_GetOperationStatus_result() {
    @@ -1537,7 +1356,6 @@ class TCLIService_GetOperationStatus_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 TCLIService_GetOperationStatus_result& obj);
      };

      typedef struct _TCLIService_GetOperationStatus_presult__isset {
    @@ -1548,9 +1366,6 @@ typedef struct _TCLIService_GetOperationStatus_presult__isset {
      class TCLIService_GetOperationStatus_presult {
       public:

    - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
    - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
    -

        virtual ~TCLIService_GetOperationStatus_presult() throw();
        TGetOperationStatusResp* success;
    @@ -1559,7 +1374,6 @@ class TCLIService_GetOperationStatus_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_presult& obj);
      };

      typedef struct _TCLIService_CancelOperation_args__isset {
    @@ -1570,9 +1384,6 @@ typedef struct _TCLIService_CancelOperation_args__isset {
      class TCLIService_CancelOperation_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_CancelOperation_args(const TCLIService_CancelOperation_args&);
        TCLIService_CancelOperation_args& operator=(const TCLIService_CancelOperation_args&);
        TCLIService_CancelOperation_args() {
    @@ -1600,23 +1411,18 @@ class TCLIService_CancelOperation_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 TCLIService_CancelOperation_args& obj);
      };


      class TCLIService_CancelOperation_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_CancelOperation_pargs() throw();
        const TCancelOperationReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_pargs& obj);
      };

      typedef struct _TCLIService_CancelOperation_result__isset {
    @@ -1627,9 +1433,6 @@ typedef struct _TCLIService_CancelOperation_result__isset {
      class TCLIService_CancelOperation_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CancelOperation_result(const TCLIService_CancelOperation_result&);
        TCLIService_CancelOperation_result& operator=(const TCLIService_CancelOperation_result&);
        TCLIService_CancelOperation_result() {
    @@ -1657,7 +1460,6 @@ class TCLIService_CancelOperation_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 TCLIService_CancelOperation_result& obj);
      };

      typedef struct _TCLIService_CancelOperation_presult__isset {
    @@ -1668,9 +1470,6 @@ typedef struct _TCLIService_CancelOperation_presult__isset {
      class TCLIService_CancelOperation_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CancelOperation_presult() throw();
        TCancelOperationResp* success;
    @@ -1679,7 +1478,6 @@ class TCLIService_CancelOperation_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_presult& obj);
      };

      typedef struct _TCLIService_CloseOperation_args__isset {
    @@ -1690,9 +1488,6 @@ typedef struct _TCLIService_CloseOperation_args__isset {
      class TCLIService_CloseOperation_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_CloseOperation_args(const TCLIService_CloseOperation_args&);
        TCLIService_CloseOperation_args& operator=(const TCLIService_CloseOperation_args&);
        TCLIService_CloseOperation_args() {
    @@ -1720,23 +1515,18 @@ class TCLIService_CloseOperation_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 TCLIService_CloseOperation_args& obj);
      };


      class TCLIService_CloseOperation_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_CloseOperation_pargs() throw();
        const TCloseOperationReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_pargs& obj);
      };

      typedef struct _TCLIService_CloseOperation_result__isset {
    @@ -1747,9 +1537,6 @@ typedef struct _TCLIService_CloseOperation_result__isset {
      class TCLIService_CloseOperation_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CloseOperation_result(const TCLIService_CloseOperation_result&);
        TCLIService_CloseOperation_result& operator=(const TCLIService_CloseOperation_result&);
        TCLIService_CloseOperation_result() {
    @@ -1777,7 +1564,6 @@ class TCLIService_CloseOperation_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 TCLIService_CloseOperation_result& obj);
      };

      typedef struct _TCLIService_CloseOperation_presult__isset {
    @@ -1788,9 +1574,6 @@ typedef struct _TCLIService_CloseOperation_presult__isset {
      class TCLIService_CloseOperation_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CloseOperation_presult() throw();
        TCloseOperationResp* success;
    @@ -1799,7 +1582,6 @@ class TCLIService_CloseOperation_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_presult& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_args__isset {
    @@ -1810,9 +1592,6 @@ typedef struct _TCLIService_GetResultSetMetadata_args__isset {
      class TCLIService_GetResultSetMetadata_args {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -
        TCLIService_GetResultSetMetadata_args(const TCLIService_GetResultSetMetadata_args&);
        TCLIService_GetResultSetMetadata_args& operator=(const TCLIService_GetResultSetMetadata_args&);
        TCLIService_GetResultSetMetadata_args() {
    @@ -1840,23 +1619,18 @@ class TCLIService_GetResultSetMetadata_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 TCLIService_GetResultSetMetadata_args& obj);
      };


      class TCLIService_GetResultSetMetadata_pargs {
       public:

    - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
    - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
    -

        virtual ~TCLIService_GetResultSetMetadata_pargs() throw();
        const TGetResultSetMetadataReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_pargs& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_result__isset {
    @@ -1867,9 +1641,6 @@ typedef struct _TCLIService_GetResultSetMetadata_result__isset {
      class TCLIService_GetResultSetMetadata_result {
       public:

    - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
    - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
    -
        TCLIService_GetResultSetMetadata_result(const TCLIService_GetResultSetMetadata_result&);
        TCLIService_GetResultSetMetadata_result& operator=(const TCLIService_GetResultSetMetadata_result&);
        TCLIService_GetResultSetMetadata_result() {
    @@ -1897,7 +1668,6 @@ class TCLIService_GetResultSetMetadata_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 TCLIService_GetResultSetMetadata_result& obj);
      };

      typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
    @@ -1908,9 +1678,6 @@ typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
      class TCLIService_GetResultSetMetadata_presult {
       public:

    - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
    - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
    -

        virtual ~TCLIService_GetResultSetMetadata_presult() throw();
        TGetResultSetMetadataResp* success;
    @@ -1919,7 +1686,6 @@ class TCLIService_GetResultSetMetadata_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_presult& obj);
      };

      typedef struct _TCLIService_FetchResults_args__isset {
    @@ -1930,9 +1696,6 @@ typedef struct _TCLIService_FetchResults_args__isset {
      class TCLIService_FetchResults_args {
       public:

    - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
    -
        TCLIService_FetchResults_args(const TCLIService_FetchResults_args&);
        TCLIService_FetchResults_args& operator=(const TCLIService_FetchResults_args&);
        TCLIService_FetchResults_args() {
    @@ -1960,23 +1723,18 @@ class TCLIService_FetchResults_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 TCLIService_FetchResults_args& obj);
      };


      class TCLIService_FetchResults_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
    -

        virtual ~TCLIService_FetchResults_pargs() throw();
        const TFetchResultsReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_pargs& obj);
      };

      typedef struct _TCLIService_FetchResults_result__isset {
    @@ -1987,9 +1745,6 @@ typedef struct _TCLIService_FetchResults_result__isset {
      class TCLIService_FetchResults_result {
       public:

    - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
    - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
    -
        TCLIService_FetchResults_result(const TCLIService_FetchResults_result&);
        TCLIService_FetchResults_result& operator=(const TCLIService_FetchResults_result&);
        TCLIService_FetchResults_result() {
    @@ -2017,7 +1772,6 @@ class TCLIService_FetchResults_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 TCLIService_FetchResults_result& obj);
      };

      typedef struct _TCLIService_FetchResults_presult__isset {
    @@ -2028,9 +1782,6 @@ typedef struct _TCLIService_FetchResults_presult__isset {
      class TCLIService_FetchResults_presult {
       public:

    - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
    - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
    -

        virtual ~TCLIService_FetchResults_presult() throw();
        TFetchResultsResp* success;
    @@ -2039,7 +1790,6 @@ class TCLIService_FetchResults_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_presult& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_args__isset {
    @@ -2050,9 +1800,6 @@ typedef struct _TCLIService_GetDelegationToken_args__isset {
      class TCLIService_GetDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
    -
        TCLIService_GetDelegationToken_args(const TCLIService_GetDelegationToken_args&);
        TCLIService_GetDelegationToken_args& operator=(const TCLIService_GetDelegationToken_args&);
        TCLIService_GetDelegationToken_args() {
    @@ -2080,23 +1827,18 @@ class TCLIService_GetDelegationToken_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 TCLIService_GetDelegationToken_args& obj);
      };


      class TCLIService_GetDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
    -

        virtual ~TCLIService_GetDelegationToken_pargs() throw();
        const TGetDelegationTokenReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_result__isset {
    @@ -2107,9 +1849,6 @@ typedef struct _TCLIService_GetDelegationToken_result__isset {
      class TCLIService_GetDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
    -
        TCLIService_GetDelegationToken_result(const TCLIService_GetDelegationToken_result&);
        TCLIService_GetDelegationToken_result& operator=(const TCLIService_GetDelegationToken_result&);
        TCLIService_GetDelegationToken_result() {
    @@ -2137,7 +1876,6 @@ class TCLIService_GetDelegationToken_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 TCLIService_GetDelegationToken_result& obj);
      };

      typedef struct _TCLIService_GetDelegationToken_presult__isset {
    @@ -2148,9 +1886,6 @@ typedef struct _TCLIService_GetDelegationToken_presult__isset {
      class TCLIService_GetDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
    - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
    -

        virtual ~TCLIService_GetDelegationToken_presult() throw();
        TGetDelegationTokenResp* success;
    @@ -2159,7 +1894,6 @@ class TCLIService_GetDelegationToken_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_presult& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_args__isset {
    @@ -2170,9 +1904,6 @@ typedef struct _TCLIService_CancelDelegationToken_args__isset {
      class TCLIService_CancelDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -
        TCLIService_CancelDelegationToken_args(const TCLIService_CancelDelegationToken_args&);
        TCLIService_CancelDelegationToken_args& operator=(const TCLIService_CancelDelegationToken_args&);
        TCLIService_CancelDelegationToken_args() {
    @@ -2200,23 +1931,18 @@ class TCLIService_CancelDelegationToken_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 TCLIService_CancelDelegationToken_args& obj);
      };


      class TCLIService_CancelDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -

        virtual ~TCLIService_CancelDelegationToken_pargs() throw();
        const TCancelDelegationTokenReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_result__isset {
    @@ -2227,9 +1953,6 @@ typedef struct _TCLIService_CancelDelegationToken_result__isset {
      class TCLIService_CancelDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_CancelDelegationToken_result(const TCLIService_CancelDelegationToken_result&);
        TCLIService_CancelDelegationToken_result& operator=(const TCLIService_CancelDelegationToken_result&);
        TCLIService_CancelDelegationToken_result() {
    @@ -2257,7 +1980,6 @@ class TCLIService_CancelDelegationToken_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 TCLIService_CancelDelegationToken_result& obj);
      };

      typedef struct _TCLIService_CancelDelegationToken_presult__isset {
    @@ -2268,9 +1990,6 @@ typedef struct _TCLIService_CancelDelegationToken_presult__isset {
      class TCLIService_CancelDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_CancelDelegationToken_presult() throw();
        TCancelDelegationTokenResp* success;
    @@ -2279,7 +1998,6 @@ class TCLIService_CancelDelegationToken_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_presult& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_args__isset {
    @@ -2290,9 +2008,6 @@ typedef struct _TCLIService_RenewDelegationToken_args__isset {
      class TCLIService_RenewDelegationToken_args {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -
        TCLIService_RenewDelegationToken_args(const TCLIService_RenewDelegationToken_args&);
        TCLIService_RenewDelegationToken_args& operator=(const TCLIService_RenewDelegationToken_args&);
        TCLIService_RenewDelegationToken_args() {
    @@ -2320,23 +2035,18 @@ class TCLIService_RenewDelegationToken_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 TCLIService_RenewDelegationToken_args& obj);
      };


      class TCLIService_RenewDelegationToken_pargs {
       public:

    - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
    -

        virtual ~TCLIService_RenewDelegationToken_pargs() throw();
        const TRenewDelegationTokenReq* req;

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_pargs& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_result__isset {
    @@ -2347,9 +2057,6 @@ typedef struct _TCLIService_RenewDelegationToken_result__isset {
      class TCLIService_RenewDelegationToken_result {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -
        TCLIService_RenewDelegationToken_result(const TCLIService_RenewDelegationToken_result&);
        TCLIService_RenewDelegationToken_result& operator=(const TCLIService_RenewDelegationToken_result&);
        TCLIService_RenewDelegationToken_result() {
    @@ -2377,7 +2084,6 @@ class TCLIService_RenewDelegationToken_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 TCLIService_RenewDelegationToken_result& obj);
      };

      typedef struct _TCLIService_RenewDelegationToken_presult__isset {
    @@ -2388,9 +2094,6 @@ typedef struct _TCLIService_RenewDelegationToken_presult__isset {
      class TCLIService_RenewDelegationToken_presult {
       public:

    - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
    -

        virtual ~TCLIService_RenewDelegationToken_presult() throw();
        TRenewDelegationTokenResp* success;
    @@ -2399,7 +2102,6 @@ class TCLIService_RenewDelegationToken_presult {

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

    - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_presult& obj);
      };

      class TCLIServiceClient : virtual public TCLIServiceIf {
    @@ -2760,6 +2462,103 @@ class TCLIServiceMultiface : virtual public TCLIServiceIf {

      };

    +// The 'concurrent' client is a thread safe client that correctly handles
    +// out of order responses. It is slower than the regular client, so should
    +// only be used when you need to share a connection among multiple threads
    +class TCLIServiceConcurrentClient : virtual public TCLIServiceIf {
    + public:
    + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
    + setProtocol(prot);
    + }
    + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
    + setProtocol(iprot,oprot);
    + }
    + private:
    + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
    + setProtocol(prot,prot);
    + }
    + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
    + piprot_=iprot;
    + poprot_=oprot;
    + iprot_ = iprot.get();
    + oprot_ = oprot.get();
    + }
    + public:
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
    + return piprot_;
    + }
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
    + return poprot_;
    + }
    + void OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req);
    + int32_t send_OpenSession(const TOpenSessionReq& req);
    + void recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid);
    + void CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req);
    + int32_t send_CloseSession(const TCloseSessionReq& req);
    + void recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid);
    + void GetInfo(TGetInfoResp& _return, const TGetInfoReq& req);
    + int32_t send_GetInfo(const TGetInfoReq& req);
    + void recv_GetInfo(TGetInfoResp& _return, const int32_t seqid);
    + void ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req);
    + int32_t send_ExecuteStatement(const TExecuteStatementReq& req);
    + void recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid);
    + void GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req);
    + int32_t send_GetTypeInfo(const TGetTypeInfoReq& req);
    + void recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid);
    + void GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req);
    + int32_t send_GetCatalogs(const TGetCatalogsReq& req);
    + void recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid);
    + void GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req);
    + int32_t send_GetSchemas(const TGetSchemasReq& req);
    + void recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid);
    + void GetTables(TGetTablesResp& _return, const TGetTablesReq& req);
    + int32_t send_GetTables(const TGetTablesReq& req);
    + void recv_GetTables(TGetTablesResp& _return, const int32_t seqid);
    + void GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req);
    + int32_t send_GetTableTypes(const TGetTableTypesReq& req);
    + void recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid);
    + void GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req);
    + int32_t send_GetColumns(const TGetColumnsReq& req);
    + void recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid);
    + void GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req);
    + int32_t send_GetFunctions(const TGetFunctionsReq& req);
    + void recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid);
    + void GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req);
    + int32_t send_GetOperationStatus(const TGetOperationStatusReq& req);
    + void recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid);
    + void CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req);
    + int32_t send_CancelOperation(const TCancelOperationReq& req);
    + void recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid);
    + void CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req);
    + int32_t send_CloseOperation(const TCloseOperationReq& req);
    + void recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid);
    + void GetResultSetMetadata(TGetResultSetMetadataResp& _return, const TGetResultSetMetadataReq& req);
    + int32_t send_GetResultSetMetadata(const TGetResultSetMetadataReq& req);
    + void recv_GetResultSetMetadata(TGetResultSetMetadataResp& _return, const int32_t seqid);
    + void FetchResults(TFetchResultsResp& _return, const TFetchResultsReq& req);
    + int32_t send_FetchResults(const TFetchResultsReq& req);
    + void recv_FetchResults(TFetchResultsResp& _return, const int32_t seqid);
    + void GetDelegationToken(TGetDelegationTokenResp& _return, const TGetDelegationTokenReq& req);
    + int32_t send_GetDelegationToken(const TGetDelegationTokenReq& req);
    + void recv_GetDelegationToken(TGetDelegationTokenResp& _return, const int32_t seqid);
    + void CancelDelegationToken(TCancelDelegationTokenResp& _return, const TCancelDelegationTokenReq& req);
    + int32_t send_CancelDelegationToken(const TCancelDelegationTokenReq& req);
    + void recv_CancelDelegationToken(TCancelDelegationTokenResp& _return, const int32_t seqid);
    + void RenewDelegationToken(TRenewDelegationTokenResp& _return, const TRenewDelegationTokenReq& req);
    + int32_t send_RenewDelegationToken(const TRenewDelegationTokenReq& req);
    + void recv_RenewDelegationToken(TRenewDelegationTokenResp& _return, const int32_t seqid);
    + protected:
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_;
    + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_;
    + ::apache::thrift::protocol::TProtocol* iprot_;
    + ::apache::thrift::protocol::TProtocol* oprot_;
    + ::apache::thrift::async::TConcurrentClientSyncInfo sync_;
    +};
    +
    +#ifdef _WIN32
    + #pragma warning( pop )
    +#endif
    +
      }}}}} // namespace

      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    index dcca5c8..60eeff7 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    index 8993394..9310717 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 742cfdc..b852379 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.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -280,11 +280,9 @@ void TTypeQualifierValue::__set_stringValue(const std::string& 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};
    -
      uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -333,7 +331,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeQualifierValue");

        if (this->__isset.i32Value) {
    @@ -348,7 +346,6 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -370,13 +367,12 @@ TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& o
        __isset = other1.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) {
    - using apache::thrift::to_string;
    +void TTypeQualifierValue::printTo(std::ostream& out) const {
    + 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 << "i32Value="; (__isset.i32Value ? (out << to_string(i32Value)) : (out << "<null>"));
    + out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -388,11 +384,9 @@ void TTypeQualifiers::__set_qualifiers(const std::map<std::string, TTypeQualifie
        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};
    -
      uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -451,7 +445,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeQualifiers");

        xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1);
    @@ -469,7 +463,6 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co

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

    @@ -485,12 +478,11 @@ 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;
    +void TTypeQualifiers::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeQualifiers(";
    - out << "qualifiers=" << to_string(obj.qualifiers);
    + out << "qualifiers=" << to_string(qualifiers);
        out << ")";
    - return out;
      }


    @@ -507,11 +499,9 @@ void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& 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};
    -
      uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -565,7 +555,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TPrimitiveTypeEntry");

        xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1);
    @@ -579,7 +569,6 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -601,13 +590,12 @@ TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& o
        __isset = other14.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TPrimitiveTypeEntry::printTo(std::ostream& out) const {
    + 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 << "type=" << to_string(type);
    + out << ", " << "typeQualifiers="; (__isset.typeQualifiers ? (out << to_string(typeQualifiers)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -619,11 +607,9 @@ 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};
    -
      uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -667,7 +653,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TArrayTypeEntry");

        xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -676,7 +662,6 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

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

    @@ -692,12 +677,11 @@ 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;
    +void TArrayTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TArrayTypeEntry(";
    - out << "objectTypePtr=" << to_string(obj.objectTypePtr);
    + out << "objectTypePtr=" << to_string(objectTypePtr);
        out << ")";
    - return out;
      }


    @@ -713,11 +697,9 @@ 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};
    -
      uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -772,7 +754,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TMapTypeEntry");

        xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1);
    @@ -785,7 +767,6 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -804,13 +785,12 @@ TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) {
        valueTypePtr = other18.valueTypePtr;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TMapTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TMapTypeEntry(";
    - out << "keyTypePtr=" << to_string(obj.keyTypePtr);
    - out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr);
    + out << "keyTypePtr=" << to_string(keyTypePtr);
    + out << ", " << "valueTypePtr=" << to_string(valueTypePtr);
        out << ")";
    - return out;
      }


    @@ -822,11 +802,9 @@ void TStructTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntr
        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};
    -
      uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -885,7 +863,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStructTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
    @@ -903,7 +881,6 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c

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

    @@ -919,12 +896,11 @@ 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;
    +void TStructTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStructTypeEntry(";
    - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << "nameToTypePtr=" << to_string(nameToTypePtr);
        out << ")";
    - return out;
      }


    @@ -936,11 +912,9 @@ void TUnionTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntry
        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};
    -
      uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -999,7 +973,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TUnionTypeEntry");

        xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
    @@ -1017,7 +991,6 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co

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

    @@ -1033,12 +1006,11 @@ 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;
    +void TUnionTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TUnionTypeEntry(";
    - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
    + out << "nameToTypePtr=" << to_string(nameToTypePtr);
        out << ")";
    - return out;
      }


    @@ -1050,11 +1022,9 @@ 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};
    -
      uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1098,7 +1068,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TUserDefinedTypeEntry");

        xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -1107,7 +1077,6 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr

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

    @@ -1123,12 +1092,11 @@ TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEn
        typeClassName = other40.typeClassName;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TUserDefinedTypeEntry::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TUserDefinedTypeEntry(";
    - out << "typeClassName=" << to_string(obj.typeClassName);
    + out << "typeClassName=" << to_string(typeClassName);
        out << ")";
    - return out;
      }


    @@ -1160,11 +1128,9 @@ 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};
    -
      uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1245,7 +1211,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeEntry");

        xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1274,7 +1240,6 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -1308,17 +1273,16 @@ TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) {
        __isset = other42.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) {
    - using apache::thrift::to_string;
    +void TTypeEntry::printTo(std::ostream& out) const {
    + 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 << "primitiveEntry=" << to_string(primitiveEntry);
    + out << ", " << "arrayEntry=" << to_string(arrayEntry);
    + out << ", " << "mapEntry=" << to_string(mapEntry);
    + out << ", " << "structEntry=" << to_string(structEntry);
    + out << ", " << "unionEntry=" << to_string(unionEntry);
    + out << ", " << "userDefinedTypeEntry=" << to_string(userDefinedTypeEntry);
        out << ")";
    - return out;
      }


    @@ -1330,11 +1294,9 @@ 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};
    -
      uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1390,7 +1352,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTypeDesc");

        xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1);
    @@ -1407,7 +1369,6 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -1423,12 +1384,11 @@ 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;
    +void TTypeDesc::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTypeDesc(";
    - out << "types=" << to_string(obj.types);
    + out << "types=" << to_string(types);
        out << ")";
    - return out;
      }


    @@ -1453,11 +1413,9 @@ void TColumnDesc::__set_comment(const std::string& 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};
    -
      uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1531,7 +1489,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumnDesc");

        xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1);
    @@ -1553,7 +1511,6 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1581,15 +1538,14 @@ TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) {
        __isset = other52.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) {
    - using apache::thrift::to_string;
    +void TColumnDesc::printTo(std::ostream& out) const {
    + 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 << "columnName=" << to_string(columnName);
    + out << ", " << "typeDesc=" << to_string(typeDesc);
    + out << ", " << "position=" << to_string(position);
    + out << ", " << "comment="; (__isset.comment ? (out << to_string(comment)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1601,11 +1557,9 @@ 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};
    -
      uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1661,7 +1615,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TTableSchema");

        xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
    @@ -1678,7 +1632,6 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -1694,12 +1647,11 @@ 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;
    +void TTableSchema::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TTableSchema(";
    - out << "columns=" << to_string(obj.columns);
    + out << "columns=" << to_string(columns);
        out << ")";
    - return out;
      }


    @@ -1712,11 +1664,9 @@ void TBoolValue::__set_value(const bool 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};
    -
      uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1757,7 +1707,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBoolValue");

        if (this->__isset.value) {
    @@ -1767,7 +1717,6 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1786,12 +1735,11 @@ TBoolValue& TBoolValue::operator=(const TBoolValue& other62) {
        __isset = other62.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) {
    - using apache::thrift::to_string;
    +void TBoolValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBoolValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1804,11 +1752,9 @@ void TByteValue::__set_value(const int8_t 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};
    -
      uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1849,7 +1795,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TByteValue");

        if (this->__isset.value) {
    @@ -1859,7 +1805,6 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1878,12 +1823,11 @@ TByteValue& TByteValue::operator=(const TByteValue& other64) {
        __isset = other64.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TByteValue& obj) {
    - using apache::thrift::to_string;
    +void TByteValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TByteValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1896,11 +1840,9 @@ void TI16Value::__set_value(const int16_t 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};
    -
      uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1941,7 +1883,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI16Value");

        if (this->__isset.value) {
    @@ -1951,7 +1893,6 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -1970,12 +1911,11 @@ TI16Value& TI16Value::operator=(const TI16Value& other66) {
        __isset = other66.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI16Value& obj) {
    - using apache::thrift::to_string;
    +void TI16Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI16Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -1988,11 +1928,9 @@ void TI32Value::__set_value(const int32_t 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};
    -
      uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2033,7 +1971,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI32Value");

        if (this->__isset.value) {
    @@ -2043,7 +1981,6 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2062,12 +1999,11 @@ TI32Value& TI32Value::operator=(const TI32Value& other68) {
        __isset = other68.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI32Value& obj) {
    - using apache::thrift::to_string;
    +void TI32Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI32Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2080,11 +2016,9 @@ void TI64Value::__set_value(const int64_t 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};
    -
      uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2125,7 +2059,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI64Value");

        if (this->__isset.value) {
    @@ -2135,7 +2069,6 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2154,12 +2087,11 @@ TI64Value& TI64Value::operator=(const TI64Value& other70) {
        __isset = other70.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI64Value& obj) {
    - using apache::thrift::to_string;
    +void TI64Value::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI64Value(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2172,11 +2104,9 @@ void TDoubleValue::__set_value(const double 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};
    -
      uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2217,7 +2147,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TDoubleValue");

        if (this->__isset.value) {
    @@ -2227,7 +2157,6 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2246,12 +2175,11 @@ TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) {
        __isset = other72.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) {
    - using apache::thrift::to_string;
    +void TDoubleValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TDoubleValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2264,11 +2192,9 @@ void TStringValue::__set_value(const std::string& 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};
    -
      uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2309,7 +2235,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStringValue");

        if (this->__isset.value) {
    @@ -2319,7 +2245,6 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -2338,12 +2263,11 @@ TStringValue& TStringValue::operator=(const TStringValue& other74) {
        __isset = other74.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStringValue& obj) {
    - using apache::thrift::to_string;
    +void TStringValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStringValue(";
    - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
    + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -2379,11 +2303,9 @@ 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};
    -
      uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2472,7 +2394,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumnValue");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2505,7 +2427,6 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -2542,18 +2463,17 @@ TColumnValue& TColumnValue::operator=(const TColumnValue& other76) {
        __isset = other76.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) {
    - using apache::thrift::to_string;
    +void TColumnValue::printTo(std::ostream& out) const {
    + 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 << "boolVal=" << to_string(boolVal);
    + out << ", " << "byteVal=" << to_string(byteVal);
    + out << ", " << "i16Val=" << to_string(i16Val);
    + out << ", " << "i32Val=" << to_string(i32Val);
    + out << ", " << "i64Val=" << to_string(i64Val);
    + out << ", " << "doubleVal=" << to_string(doubleVal);
    + out << ", " << "stringVal=" << to_string(stringVal);
        out << ")";
    - return out;
      }


    @@ -2565,11 +2485,9 @@ 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};
    -
      uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2625,7 +2543,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TRow");

        xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2642,7 +2560,6 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -2658,12 +2575,11 @@ 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;
    +void TRow::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TRow(";
    - out << "colVals=" << to_string(obj.colVals);
    + out << "colVals=" << to_string(colVals);
        out << ")";
    - return out;
      }


    @@ -2679,11 +2595,9 @@ 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) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2750,7 +2664,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBoolColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2771,7 +2685,6 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -2790,13 +2703,12 @@ TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) {
        nulls = other92.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) {
    - using apache::thrift::to_string;
    +void TBoolColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBoolColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -2812,11 +2724,9 @@ 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};
    -
      uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2883,7 +2793,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TByteColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -2904,7 +2814,6 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -2923,13 +2832,12 @@ TByteColumn& TByteColumn::operator=(const TByteColumn& other100) {
        nulls = other100.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) {
    - using apache::thrift::to_string;
    +void TByteColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TByteColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -2945,11 +2853,9 @@ 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};
    -
      uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3016,7 +2922,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI16Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3037,7 +2943,6 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -3056,13 +2961,12 @@ TI16Column& TI16Column::operator=(const TI16Column& other108) {
        nulls = other108.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI16Column& obj) {
    - using apache::thrift::to_string;
    +void TI16Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI16Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3078,11 +2982,9 @@ 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};
    -
      uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3149,7 +3051,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI32Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3170,7 +3072,6 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -3189,13 +3090,12 @@ TI32Column& TI32Column::operator=(const TI32Column& other116) {
        nulls = other116.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI32Column& obj) {
    - using apache::thrift::to_string;
    +void TI32Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI32Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3211,11 +3111,9 @@ 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};
    -
      uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3282,7 +3180,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TI64Column");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3303,7 +3201,6 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -3322,13 +3219,12 @@ TI64Column& TI64Column::operator=(const TI64Column& other124) {
        nulls = other124.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TI64Column& obj) {
    - using apache::thrift::to_string;
    +void TI64Column::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TI64Column(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3344,11 +3240,9 @@ 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};
    -
      uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3415,7 +3309,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TDoubleColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3436,7 +3330,6 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -3455,13 +3348,12 @@ TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) {
        nulls = other132.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) {
    - using apache::thrift::to_string;
    +void TDoubleColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TDoubleColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3477,11 +3369,9 @@ 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};
    -
      uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3548,7 +3438,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStringColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3569,7 +3459,6 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -3588,13 +3477,12 @@ TStringColumn& TStringColumn::operator=(const TStringColumn& other140) {
        nulls = other140.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) {
    - using apache::thrift::to_string;
    +void TStringColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStringColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3610,11 +3498,9 @@ 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};
    -
      uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3681,7 +3567,7 @@ 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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TBinaryColumn");

        xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
    @@ -3702,7 +3588,6 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -3721,13 +3606,12 @@ TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) {
        nulls = other148.nulls;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) {
    - using apache::thrift::to_string;
    +void TBinaryColumn::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TBinaryColumn(";
    - out << "values=" << to_string(obj.values);
    - out << ", " << "nulls=" << to_string(obj.nulls);
    + out << "values=" << to_string(values);
    + out << ", " << "nulls=" << to_string(nulls);
        out << ")";
    - return out;
      }


    @@ -3767,11 +3651,9 @@ 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};
    -
      uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3868,7 +3750,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TColumn");

        xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3905,7 +3787,6 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {

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

    @@ -3945,19 +3826,18 @@ TColumn& TColumn::operator=(const TColumn& other150) {
        __isset = other150.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TColumn& obj) {
    - using apache::thrift::to_string;
    +void TColumn::printTo(std::ostream& out) const {
    + 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 << "boolVal=" << to_string(boolVal);
    + out << ", " << "byteVal=" << to_string(byteVal);
    + out << ", " << "i16Val=" << to_string(i16Val);
    + out << ", " << "i32Val=" << to_string(i32Val);
    + out << ", " << "i64Val=" << to_string(i64Val);
    + out << ", " << "doubleVal=" << to_string(doubleVal);
    + out << ", " << "stringVal=" << to_string(stringVal);
    + out << ", " << "binaryVal=" << to_string(binaryVal);
        out << ")";
    - return out;
      }


    @@ -3978,11 +3858,9 @@ void TRowSet::__set_columns(const std::vector<TColumn> & 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};
    -
      uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4069,7 +3947,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TRowSet");

        xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1);
    @@ -4103,7 +3981,6 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4128,14 +4005,13 @@ TRowSet& TRowSet::operator=(const TRowSet& other164) {
        __isset = other164.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TRowSet& obj) {
    - using apache::thrift::to_string;
    +void TRowSet::printTo(std::ostream& out) const {
    + 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 << "startRowOffset=" << to_string(startRowOffset);
    + out << ", " << "rows=" << to_string(rows);
    + out << ", " << "columns="; (__isset.columns ? (out << to_string(columns)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4167,11 +4043,9 @@ void TStatus::__set_errorMessage(const std::string& 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};
    -
      uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4261,7 +4135,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();
    + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
        xfer += oprot->writeStructBegin("TStatus");

        xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1);
    @@ -4298,7 +4172,6 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4329,16 +4202,15 @@ TStatus& TStatus::operator=(const TStatus& other173) {
        __isset = other173.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TStatus& obj) {
    - using apache::thrift::to_string;
    +void TStatus::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TStatus(";
    - out << "statusCode=" << to_string(obj.statusCode);
    - out << ", " << "infoMessages="; (obj.__isset.infoMessages ? (out << to_string(obj.infoMessages)) : (out << "<null>"));
    - out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "<null>"));
    - out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "<null>"));
    - out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "<null>"));
    + out << "statusCode=" << to_string(statusCode);
    + out << ", " << "infoMessages="; (__isset.infoMessages ? (out << to_string(infoMessages)) : (out << "<null>"));
    + out << ", " << "sqlState="; (__isset.sqlState ? (out << to_string(sqlState)) : (out << "<null>"));
    + out << ", " << "errorCode="; (__isset.errorCode ? (out << to_string(errorCode)) : (out << "<null>"));
    + out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4354,11 +4226,9 @@ void THandleIdentifier::__set_secret(const std::string& val) {
        this->secret = val;
      }

    -const char* THandleIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
    -const uint8_t THandleIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
    -
      uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4413,7 +4283,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1);
    @@ -4426,7 +4296,6 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot)

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

    @@ -4445,13 +4314,12 @@ THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other17
        secret = other175.secret;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) {
    - using apache::thrift::to_string;
    +void THandleIdentifier::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "THandleIdentifier(";
    - out << "guid=" << to_string(obj.guid);
    - out << ", " << "secret=" << to_string(obj.secret);
    + out << "guid=" << to_string(guid);
    + out << ", " << "secret=" << to_string(secret);
        out << ")";
    - return out;
      }


    @@ -4463,11 +4331,9 @@ void TSessionHandle::__set_sessionId(const THandleIdentifier& val) {
        this->sessionId = val;
      }

    -const char* TSessionHandle::ascii_fingerprint = "A756D3DBE614FB13F70BF7F7B6EB3D73";
    -const uint8_t TSessionHandle::binary_fingerprint[16] = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
    -
      uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4511,7 +4377,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -4520,7 +4386,6 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con

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

    @@ -4536,12 +4401,11 @@ TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) {
        sessionId = other177.sessionId;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) {
    - using apache::thrift::to_string;
    +void TSessionHandle::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TSessionHandle(";
    - out << "sessionId=" << to_string(obj.sessionId);
    + out << "sessionId=" << to_string(sessionId);
        out << ")";
    - return out;
      }


    @@ -4566,11 +4430,9 @@ void TOperationHandle::__set_modifiedRowCount(const double val) {
      __isset.modifiedRowCount = true;
      }

    -const char* TOperationHandle::ascii_fingerprint = "29FD80F4F96804A30FCC59C23D2E5349";
    -const uint8_t TOperationHandle::binary_fingerprint[16] = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
    -
      uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4646,7 +4508,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -4668,7 +4530,6 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4696,15 +4557,14 @@ TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180)
        __isset = other180.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) {
    - using apache::thrift::to_string;
    +void TOperationHandle::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOperationHandle(";
    - out << "operationId=" << to_string(obj.operationId);
    - out << ", " << "operationType=" << to_string(obj.operationType);
    - out << ", " << "hasResultSet=" << to_string(obj.hasResultSet);
    - out << ", " << "modifiedRowCount="; (obj.__isset.modifiedRowCount ? (out << to_string(obj.modifiedRowCount)) : (out << "<null>"));
    + out << "operationId=" << to_string(operationId);
    + out << ", " << "operationType=" << to_string(operationType);
    + out << ", " << "hasResultSet=" << to_string(hasResultSet);
    + out << ", " << "modifiedRowCount="; (__isset.modifiedRowCount ? (out << to_string(modifiedRowCount)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4731,11 +4591,9 @@ void TOpenSessionReq::__set_configuration(const std::map<std::string, std::strin
      __isset.configuration = true;
      }

    -const char* TOpenSessionReq::ascii_fingerprint = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
    -const uint8_t TOpenSessionReq::binary_fingerprint[16] = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
    -
      uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -4820,7 +4678,7 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1);
    @@ -4853,7 +4711,6 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -4881,15 +4738,14 @@ TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) {
        __isset = other191.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) {
    - using apache::thrift::to_string;
    +void TOpenSessionReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOpenSessionReq(";
    - out << "client_protocol=" << to_string(obj.client_protocol);
    - out << ", " << "username="; (obj.__isset.username ? (out << to_string(obj.username)) : (out << "<null>"));
    - out << ", " << "password="; (obj.__isset.password ? (out << to_string(obj.password)) : (out << "<null>"));
    - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
    + out << "client_protocol=" << to_string(client_protocol);
    + out << ", " << "username="; (__isset.username ? (out << to_string(username)) : (out << "<null>"));
    + out << ", " << "password="; (__isset.password ? (out << to_string(password)) : (out << "<null>"));
    + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -4915,11 +4771,9 @@ void TOpenSessionResp::__set_configuration(const std::map<std::string, std::stri
      __isset.configuration = true;
      }

    -const char* TOpenSessionResp::ascii_fingerprint = "CFE7D7F4E9EC671F2518ED74FEE9F163";
    -const uint8_t TOpenSessionResp::binary_fingerprint[16] = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
    -
      uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5007,7 +4861,7 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5039,7 +4893,6 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5067,15 +4920,14 @@ TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202)
        __isset = other202.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) {
    - using apache::thrift::to_string;
    +void TOpenSessionResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TOpenSessionResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "serverProtocolVersion=" << to_string(obj.serverProtocolVersion);
    - out << ", " << "sessionHandle="; (obj.__isset.sessionHandle ? (out << to_string(obj.sessionHandle)) : (out << "<null>"));
    - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
    + out << "status=" << to_string(status);
    + out << ", " << "serverProtocolVersion=" << to_string(serverProtocolVersion);
    + out << ", " << "sessionHandle="; (__isset.sessionHandle ? (out << to_string(sessionHandle)) : (out << "<null>"));
    + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5087,11 +4939,9 @@ void TCloseSessionReq::__set_sessionHandle(const TSessionHandle& val) {
        this->sessionHandle = val;
      }

    -const char* TCloseSessionReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
    -const uint8_t TCloseSessionReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
      uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5135,7 +4985,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5144,7 +4994,6 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c

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

    @@ -5160,12 +5009,11 @@ TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204)
        sessionHandle = other204.sessionHandle;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) {
    - using apache::thrift::to_string;
    +void TCloseSessionReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TCloseSessionReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    + out << "sessionHandle=" << to_string(sessionHandle);
        out << ")";
    - return out;
      }


    @@ -5177,11 +5025,9 @@ void TCloseSessionResp::__set_status(const TStatus& val) {
        this->status = val;
      }

    -const char* TCloseSessionResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2";
    -const uint8_t TCloseSessionResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
      uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5225,7 +5071,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5234,7 +5080,6 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot)

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

    @@ -5250,12 +5095,11 @@ TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other20
        status = other206.status;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) {
    - using apache::thrift::to_string;
    +void TCloseSessionResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TCloseSessionResp(";
    - out << "status=" << to_string(obj.status);
    + out << "status=" << to_string(status);
        out << ")";
    - return out;
      }


    @@ -5287,11 +5131,9 @@ void TGetInfoValue::__set_lenValue(const int64_t val) {
        this->lenValue = val;
      }

    -const char* TGetInfoValue::ascii_fingerprint = "057FED11279FD7248CFE73EE82ED579E";
    -const uint8_t TGetInfoValue::binary_fingerprint[16] = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
    -
      uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5372,7 +5214,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1);
    @@ -5401,7 +5243,6 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -5435,17 +5276,16 @@ TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) {
        __isset = other208.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoValue::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoValue(";
    - out << "stringValue=" << to_string(obj.stringValue);
    - out << ", " << "smallIntValue=" << to_string(obj.smallIntValue);
    - out << ", " << "integerBitmask=" << to_string(obj.integerBitmask);
    - out << ", " << "integerFlag=" << to_string(obj.integerFlag);
    - out << ", " << "binaryValue=" << to_string(obj.binaryValue);
    - out << ", " << "lenValue=" << to_string(obj.lenValue);
    + out << "stringValue=" << to_string(stringValue);
    + out << ", " << "smallIntValue=" << to_string(smallIntValue);
    + out << ", " << "integerBitmask=" << to_string(integerBitmask);
    + out << ", " << "integerFlag=" << to_string(integerFlag);
    + out << ", " << "binaryValue=" << to_string(binaryValue);
    + out << ", " << "lenValue=" << to_string(lenValue);
        out << ")";
    - return out;
      }


    @@ -5461,11 +5301,9 @@ void TGetInfoReq::__set_infoType(const TGetInfoType::type val) {
        this->infoType = val;
      }

    -const char* TGetInfoReq::ascii_fingerprint = "95675B1A0BADE5F7EDE323809DB679B2";
    -const uint8_t TGetInfoReq::binary_fingerprint[16] = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
    -
      uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5522,7 +5360,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5535,7 +5373,6 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -5554,13 +5391,12 @@ TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) {
        infoType = other211.infoType;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    - out << ", " << "infoType=" << to_string(obj.infoType);
    + out << "sessionHandle=" << to_string(sessionHandle);
    + out << ", " << "infoType=" << to_string(infoType);
        out << ")";
    - return out;
      }


    @@ -5576,11 +5412,9 @@ void TGetInfoResp::__set_infoValue(const TGetInfoValue& val) {
        this->infoValue = val;
      }

    -const char* TGetInfoResp::ascii_fingerprint = "72AFA10A82728B51FDE91092012868DE";
    -const uint8_t TGetInfoResp::binary_fingerprint[16] = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
    -
      uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5635,7 +5469,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5648,7 +5482,6 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -5667,13 +5500,12 @@ TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) {
        infoValue = other213.infoValue;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) {
    - using apache::thrift::to_string;
    +void TGetInfoResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TGetInfoResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "infoValue=" << to_string(obj.infoValue);
    + out << "status=" << to_string(status);
    + out << ", " << "infoValue=" << to_string(infoValue);
        out << ")";
    - return out;
      }


    @@ -5699,11 +5531,9 @@ void TExecuteStatementReq::__set_runAsync(const bool val) {
      __isset.runAsync = true;
      }

    -const char* TExecuteStatementReq::ascii_fingerprint = "FED75DB77E66D76EC1939A51FB0D96FA";
    -const uint8_t TExecuteStatementReq::binary_fingerprint[16] = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
    -
      uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5789,7 +5619,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot

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

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5821,7 +5651,6 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5849,15 +5678,14 @@ TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq
        __isset = other223.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) {
    - using apache::thrift::to_string;
    +void TExecuteStatementReq::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TExecuteStatementReq(";
    - out << "sessionHandle=" << to_string(obj.sessionHandle);
    - out << ", " << "statement=" << to_string(obj.statement);
    - out << ", " << "confOverlay="; (obj.__isset.confOverlay ? (out << to_string(obj.confOverlay)) : (out << "<null>"));
    - out << ", " << "runAsync="; (obj.__isset.runAsync ? (out << to_string(obj.runAsync)) : (out << "<null>"));
    + out << "sessionHandle=" << to_string(sessionHandle);
    + out << ", " << "statement=" << to_string(statement);
    + out << ", " << "confOverlay="; (__isset.confOverlay ? (out << to_string(confOverlay)) : (out << "<null>"));
    + out << ", " << "runAsync="; (__isset.runAsync ? (out << to_string(runAsync)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5874,11 +5702,9 @@ void TExecuteStatementResp::__set_operationHandle(const TOperationHandle& val) {
      __isset.operationHandle = true;
      }

    -const char* TExecuteStatementResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286";
    -const uint8_t TExecuteStatementResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
      uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5930,7 +5756,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro

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

        xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -5944,7 +5770,6 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr
        }
        xfer += oprot->writeFieldStop();
        xfer += oprot->writeStructEnd();
    - oprot->decrementRecursionDepth();
        return xfer;
      }

    @@ -5966,13 +5791,12 @@ TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementR
        __isset = other225.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) {
    - using apache::thrift::to_string;
    +void TExecuteStatementResp::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "TExecuteStatementResp(";
    - out << "status=" << to_string(obj.status);
    - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "<null>"));
    + out << "status=" << to_string(status);
    + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "<null>"));
        out << ")";
    - return out;
      }


    @@ -5984,11 +5808,9 @@ void TGetTypeInfoReq::__set_sessionHandle(const TSessionHandle& val) {
        this->sessionHandle = val;
      }

    -const char* TGetTypeInfoReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
    -const uint8_t TGetTypeInfoReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
      uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -6032,7 +5854,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -6041,7 +5863,6 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co

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

    @@ -6057,12 +5878,11 @@ TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) {
        sessionHandle = other227.sessionHandle;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) {
    - using apache::thrift::to_str

    <TRUNCATED>
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.h b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    index 4536b41..b078c99 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -338,9 +338,6 @@ typedef struct _TTypeQualifierValue__isset {
      class TTypeQualifierValue {
       public:

    - static const char* ascii_fingerprint; // = "A7801670116150C65ACA43E6F679BA79";
    - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};
    -
        TTypeQualifierValue(const TTypeQualifierValue&);
        TTypeQualifierValue& operator=(const TTypeQualifierValue&);
        TTypeQualifierValue() : i32Value(0), stringValue() {
    @@ -377,18 +374,21 @@ class TTypeQualifierValue {
        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 TTypeQualifierValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeQualifierValue &a, TTypeQualifierValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTypeQualifiers {
       public:

    - static const char* ascii_fingerprint; // = "6C72981CFA989214285648FA8C196C47";
    - static const uint8_t binary_fingerprint[16]; // = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};
    -
        TTypeQualifiers(const TTypeQualifiers&);
        TTypeQualifiers& operator=(const TTypeQualifiers&);
        TTypeQualifiers() {
    @@ -414,11 +414,17 @@ class TTypeQualifiers {
        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 TTypeQualifiers& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeQualifiers &a, TTypeQualifiers &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TPrimitiveTypeEntry__isset {
        _TPrimitiveTypeEntry__isset() : typeQualifiers(false) {}
        bool typeQualifiers :1;
    @@ -427,9 +433,6 @@ typedef struct _TPrimitiveTypeEntry__isset {
      class TPrimitiveTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "755674F6A5C8EB47868686AE386FBC1C";
    - static const uint8_t binary_fingerprint[16]; // = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};
    -
        TPrimitiveTypeEntry(const TPrimitiveTypeEntry&);
        TPrimitiveTypeEntry& operator=(const TPrimitiveTypeEntry&);
        TPrimitiveTypeEntry() : type((TTypeId::type)0) {
    @@ -464,18 +467,21 @@ class TPrimitiveTypeEntry {
        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 TPrimitiveTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TArrayTypeEntry {
       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};
    -
        TArrayTypeEntry(const TArrayTypeEntry&);
        TArrayTypeEntry& operator=(const TArrayTypeEntry&);
        TArrayTypeEntry() : objectTypePtr(0) {
    @@ -501,18 +507,21 @@ class TArrayTypeEntry {
        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 TArrayTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TArrayTypeEntry &a, TArrayTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TMapTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
    - static const uint8_t binary_fingerprint[16]; // = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};
    -
        TMapTypeEntry(const TMapTypeEntry&);
        TMapTypeEntry& operator=(const TMapTypeEntry&);
        TMapTypeEntry() : keyTypePtr(0), valueTypePtr(0) {
    @@ -543,18 +552,21 @@ class TMapTypeEntry {
        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 TMapTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TMapTypeEntry &a, TMapTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TStructTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
    - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
        TStructTypeEntry(const TStructTypeEntry&);
        TStructTypeEntry& operator=(const TStructTypeEntry&);
        TStructTypeEntry() {
    @@ -580,18 +592,21 @@ class TStructTypeEntry {
        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 TStructTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStructTypeEntry &a, TStructTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TUnionTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
    - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
    -
        TUnionTypeEntry(const TUnionTypeEntry&);
        TUnionTypeEntry& operator=(const TUnionTypeEntry&);
        TUnionTypeEntry() {
    @@ -617,18 +632,21 @@ class TUnionTypeEntry {
        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 TUnionTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TUnionTypeEntry &a, TUnionTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TUserDefinedTypeEntry {
       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};
    -
        TUserDefinedTypeEntry(const TUserDefinedTypeEntry&);
        TUserDefinedTypeEntry& operator=(const TUserDefinedTypeEntry&);
        TUserDefinedTypeEntry() : typeClassName() {
    @@ -654,11 +672,17 @@ class TUserDefinedTypeEntry {
        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 TUserDefinedTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TTypeEntry__isset {
        _TTypeEntry__isset() : primitiveEntry(false), arrayEntry(false), mapEntry(false), structEntry(false), unionEntry(false), userDefinedTypeEntry(false) {}
        bool primitiveEntry :1;
    @@ -672,9 +696,6 @@ typedef struct _TTypeEntry__isset {
      class TTypeEntry {
       public:

    - static const char* ascii_fingerprint; // = "2FE56D9097E325DAA7E933738C6D325F";
    - static const uint8_t binary_fingerprint[16]; // = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};
    -
        TTypeEntry(const TTypeEntry&);
        TTypeEntry& operator=(const TTypeEntry&);
        TTypeEntry() {
    @@ -727,18 +748,21 @@ class TTypeEntry {
        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 TTypeEntry& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeEntry &a, TTypeEntry &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTypeDesc {
       public:

    - static const char* ascii_fingerprint; // = "90B3C5A0B73419A84E85E0E48C452AA5";
    - static const uint8_t binary_fingerprint[16]; // = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};
    -
        TTypeDesc(const TTypeDesc&);
        TTypeDesc& operator=(const TTypeDesc&);
        TTypeDesc() {
    @@ -764,11 +788,17 @@ class TTypeDesc {
        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 TTypeDesc& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTypeDesc &a, TTypeDesc &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumnDesc__isset {
        _TColumnDesc__isset() : comment(false) {}
        bool comment :1;
    @@ -777,9 +807,6 @@ typedef struct _TColumnDesc__isset {
      class TColumnDesc {
       public:

    - static const char* ascii_fingerprint; // = "EABED9009D5FCABFCA65612069F2A849";
    - static const uint8_t binary_fingerprint[16]; // = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};
    -
        TColumnDesc(const TColumnDesc&);
        TColumnDesc& operator=(const TColumnDesc&);
        TColumnDesc() : columnName(), position(0), comment() {
    @@ -824,18 +851,21 @@ class TColumnDesc {
        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 TColumnDesc& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumnDesc &a, TColumnDesc &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TTableSchema {
       public:

    - static const char* ascii_fingerprint; // = "7A1811E49313E5977107FC667B20E39D";
    - static const uint8_t binary_fingerprint[16]; // = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};
    -
        TTableSchema(const TTableSchema&);
        TTableSchema& operator=(const TTableSchema&);
        TTableSchema() {
    @@ -861,11 +891,17 @@ class TTableSchema {
        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 TTableSchema& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TTableSchema &a, TTableSchema &b);

    +inline std::ostream& operator<<(std::ostream& out, const TTableSchema& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TBoolValue__isset {
        _TBoolValue__isset() : value(false) {}
        bool value :1;
    @@ -874,9 +910,6 @@ typedef struct _TBoolValue__isset {
      class TBoolValue {
       public:

    - static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD";
    - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
    -
        TBoolValue(const TBoolValue&);
        TBoolValue& operator=(const TBoolValue&);
        TBoolValue() : value(0) {
    @@ -906,11 +939,17 @@ class TBoolValue {
        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 TBoolValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBoolValue &a, TBoolValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBoolValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TByteValue__isset {
        _TByteValue__isset() : value(false) {}
        bool value :1;
    @@ -919,9 +958,6 @@ typedef struct _TByteValue__isset {
      class TByteValue {
       public:

    - static const char* ascii_fingerprint; // = "9C15298ACB5D04AEA9B52D5DDE6F9208";
    - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};
    -
        TByteValue(const TByteValue&);
        TByteValue& operator=(const TByteValue&);
        TByteValue() : value(0) {
    @@ -951,11 +987,17 @@ class TByteValue {
        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 TByteValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TByteValue &a, TByteValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TByteValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI16Value__isset {
        _TI16Value__isset() : value(false) {}
        bool value :1;
    @@ -964,9 +1006,6 @@ typedef struct _TI16Value__isset {
      class TI16Value {
       public:

    - static const char* ascii_fingerprint; // = "5DAC9C51C7E1106BF936FC71860BE9D5";
    - static const uint8_t binary_fingerprint[16]; // = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};
    -
        TI16Value(const TI16Value&);
        TI16Value& operator=(const TI16Value&);
        TI16Value() : value(0) {
    @@ -996,11 +1035,17 @@ class TI16Value {
        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 TI16Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI16Value &a, TI16Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI16Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI32Value__isset {
        _TI32Value__isset() : value(false) {}
        bool value :1;
    @@ -1009,9 +1054,6 @@ typedef struct _TI32Value__isset {
      class TI32Value {
       public:

    - static const char* ascii_fingerprint; // = "E7A96B151330359E84C0A3AC91BCBACD";
    - static const uint8_t binary_fingerprint[16]; // = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};
    -
        TI32Value(const TI32Value&);
        TI32Value& operator=(const TI32Value&);
        TI32Value() : value(0) {
    @@ -1041,11 +1083,17 @@ class TI32Value {
        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 TI32Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI32Value &a, TI32Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI32Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TI64Value__isset {
        _TI64Value__isset() : value(false) {}
        bool value :1;
    @@ -1054,9 +1102,6 @@ typedef struct _TI64Value__isset {
      class TI64Value {
       public:

    - static const char* ascii_fingerprint; // = "148F3AAAC1D9859963D5E800D187BF26";
    - static const uint8_t binary_fingerprint[16]; // = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};
    -
        TI64Value(const TI64Value&);
        TI64Value& operator=(const TI64Value&);
        TI64Value() : value(0) {
    @@ -1086,11 +1131,17 @@ class TI64Value {
        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 TI64Value& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI64Value &a, TI64Value &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI64Value& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TDoubleValue__isset {
        _TDoubleValue__isset() : value(false) {}
        bool value :1;
    @@ -1099,9 +1150,6 @@ typedef struct _TDoubleValue__isset {
      class TDoubleValue {
       public:

    - static const char* ascii_fingerprint; // = "3586E570A474C4A8603B4FF74903B3A6";
    - static const uint8_t binary_fingerprint[16]; // = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};
    -
        TDoubleValue(const TDoubleValue&);
        TDoubleValue& operator=(const TDoubleValue&);
        TDoubleValue() : value(0) {
    @@ -1131,11 +1179,17 @@ class TDoubleValue {
        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 TDoubleValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TDoubleValue &a, TDoubleValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TStringValue__isset {
        _TStringValue__isset() : value(false) {}
        bool value :1;
    @@ -1144,9 +1198,6 @@ typedef struct _TStringValue__isset {
      class TStringValue {
       public:

    - static const char* ascii_fingerprint; // = "66E694018C17E5B65A59AE8F55CCA3CD";
    - static const uint8_t binary_fingerprint[16]; // = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};
    -
        TStringValue(const TStringValue&);
        TStringValue& operator=(const TStringValue&);
        TStringValue() : value() {
    @@ -1176,11 +1227,17 @@ class TStringValue {
        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 TStringValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStringValue &a, TStringValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStringValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumnValue__isset {
        _TColumnValue__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false) {}
        bool boolVal :1;
    @@ -1195,9 +1252,6 @@ typedef struct _TColumnValue__isset {
      class TColumnValue {
       public:

    - static const char* ascii_fingerprint; // = "C2DDD988447EA7999A8285AA38AAE9AD";
    - static const uint8_t binary_fingerprint[16]; // = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};
    -
        TColumnValue(const TColumnValue&);
        TColumnValue& operator=(const TColumnValue&);
        TColumnValue() {
    @@ -1255,18 +1309,21 @@ class TColumnValue {
        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 TColumnValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumnValue &a, TColumnValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumnValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TRow {
       public:

    - static const char* ascii_fingerprint; // = "E73FD1FCA0CA58A669FC3E02FB68D534";
    - static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};
    -
        TRow(const TRow&);
        TRow& operator=(const TRow&);
        TRow() {
    @@ -1292,18 +1349,21 @@ class TRow {
        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 TRow& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRow &a, TRow &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRow& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TBoolColumn {
       public:

    - static const char* ascii_fingerprint; // = "F9058324D96DB7F974D8ACDC01C54219";
    - static const uint8_t binary_fingerprint[16]; // = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
    -
        TBoolColumn(const TBoolColumn&);
        TBoolColumn& operator=(const TBoolColumn&);
        TBoolColumn() : nulls() {
    @@ -1334,18 +1394,21 @@ class TBoolColumn {
        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 TBoolColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBoolColumn &a, TBoolColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TByteColumn {
       public:

    - static const char* ascii_fingerprint; // = "1CB300106BAA463A70BB2A2395900F48";
    - static const uint8_t binary_fingerprint[16]; // = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};
    -
        TByteColumn(const TByteColumn&);
        TByteColumn& operator=(const TByteColumn&);
        TByteColumn() : nulls() {
    @@ -1376,18 +1439,21 @@ class TByteColumn {
        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 TByteColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TByteColumn &a, TByteColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TByteColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI16Column {
       public:

    - static const char* ascii_fingerprint; // = "6574CDB1F121C8DB47FB257A3F104BDB";
    - static const uint8_t binary_fingerprint[16]; // = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};
    -
        TI16Column(const TI16Column&);
        TI16Column& operator=(const TI16Column&);
        TI16Column() : nulls() {
    @@ -1418,18 +1484,21 @@ class TI16Column {
        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 TI16Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI16Column &a, TI16Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI16Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI32Column {
       public:

    - static const char* ascii_fingerprint; // = "CCCCE89C7E9DA10280F5663700677313";
    - static const uint8_t binary_fingerprint[16]; // = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};
    -
        TI32Column(const TI32Column&);
        TI32Column& operator=(const TI32Column&);
        TI32Column() : nulls() {
    @@ -1460,18 +1529,21 @@ class TI32Column {
        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 TI32Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI32Column &a, TI32Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI32Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TI64Column {
       public:

    - static const char* ascii_fingerprint; // = "925353917FC0AF87976A2338011F5A31";
    - static const uint8_t binary_fingerprint[16]; // = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};
    -
        TI64Column(const TI64Column&);
        TI64Column& operator=(const TI64Column&);
        TI64Column() : nulls() {
    @@ -1502,18 +1574,21 @@ class TI64Column {
        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 TI64Column& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TI64Column &a, TI64Column &b);

    +inline std::ostream& operator<<(std::ostream& out, const TI64Column& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TDoubleColumn {
       public:

    - static const char* ascii_fingerprint; // = "8FF1C050A8D7FD247AEB23CD71539C09";
    - static const uint8_t binary_fingerprint[16]; // = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};
    -
        TDoubleColumn(const TDoubleColumn&);
        TDoubleColumn& operator=(const TDoubleColumn&);
        TDoubleColumn() : nulls() {
    @@ -1544,18 +1619,21 @@ class TDoubleColumn {
        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 TDoubleColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TDoubleColumn &a, TDoubleColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TStringColumn {
       public:

    - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
    - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
        TStringColumn(const TStringColumn&);
        TStringColumn& operator=(const TStringColumn&);
        TStringColumn() : nulls() {
    @@ -1586,18 +1664,21 @@ class TStringColumn {
        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 TStringColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStringColumn &a, TStringColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStringColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TBinaryColumn {
       public:

    - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
    - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
    -
        TBinaryColumn(const TBinaryColumn&);
        TBinaryColumn& operator=(const TBinaryColumn&);
        TBinaryColumn() : nulls() {
    @@ -1628,11 +1709,17 @@ class TBinaryColumn {
        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 TBinaryColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TBinaryColumn &a, TBinaryColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TColumn__isset {
        _TColumn__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false), binaryVal(false) {}
        bool boolVal :1;
    @@ -1648,9 +1735,6 @@ typedef struct _TColumn__isset {
      class TColumn {
       public:

    - static const char* ascii_fingerprint; // = "E6ADD10B4CDDE61A19E8878CC7039A17";
    - static const uint8_t binary_fingerprint[16]; // = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};
    -
        TColumn(const TColumn&);
        TColumn& operator=(const TColumn&);
        TColumn() {
    @@ -1713,11 +1797,17 @@ class TColumn {
        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 TColumn& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TColumn &a, TColumn &b);

    +inline std::ostream& operator<<(std::ostream& out, const TColumn& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TRowSet__isset {
        _TRowSet__isset() : columns(false) {}
        bool columns :1;
    @@ -1726,9 +1816,6 @@ typedef struct _TRowSet__isset {
      class TRowSet {
       public:

    - static const char* ascii_fingerprint; // = "46DA30A870489C7A58105AE0080DAEBF";
    - static const uint8_t binary_fingerprint[16]; // = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};
    -
        TRowSet(const TRowSet&);
        TRowSet& operator=(const TRowSet&);
        TRowSet() : startRowOffset(0) {
    @@ -1768,11 +1855,17 @@ class TRowSet {
        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 TRowSet& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRowSet &a, TRowSet &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRowSet& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TStatus__isset {
        _TStatus__isset() : infoMessages(false), sqlState(false), errorCode(false), errorMessage(false) {}
        bool infoMessages :1;
    @@ -1784,9 +1877,6 @@ typedef struct _TStatus__isset {
      class TStatus {
       public:

    - static const char* ascii_fingerprint; // = "D5DEF49634A59C615C1B3A6F7D0DADB5";
    - static const uint8_t binary_fingerprint[16]; // = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};
    -
        TStatus(const TStatus&);
        TStatus& operator=(const TStatus&);
        TStatus() : statusCode((TStatusCode::type)0), sqlState(), errorCode(0), errorMessage() {
    @@ -1842,18 +1932,21 @@ class TStatus {
        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 TStatus& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TStatus &a, TStatus &b);

    +inline std::ostream& operator<<(std::ostream& out, const TStatus& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class THandleIdentifier {
       public:

    - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
    - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
    -
        THandleIdentifier(const THandleIdentifier&);
        THandleIdentifier& operator=(const THandleIdentifier&);
        THandleIdentifier() : guid(), secret() {
    @@ -1884,18 +1977,21 @@ class THandleIdentifier {
        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 THandleIdentifier& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(THandleIdentifier &a, THandleIdentifier &b);

    +inline std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TSessionHandle {
       public:

    - static const char* ascii_fingerprint; // = "A756D3DBE614FB13F70BF7F7B6EB3D73";
    - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
    -
        TSessionHandle(const TSessionHandle&);
        TSessionHandle& operator=(const TSessionHandle&);
        TSessionHandle() {
    @@ -1921,11 +2017,17 @@ class TSessionHandle {
        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 TSessionHandle& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TSessionHandle &a, TSessionHandle &b);

    +inline std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOperationHandle__isset {
        _TOperationHandle__isset() : modifiedRowCount(false) {}
        bool modifiedRowCount :1;
    @@ -1934,9 +2036,6 @@ typedef struct _TOperationHandle__isset {
      class TOperationHandle {
       public:

    - static const char* ascii_fingerprint; // = "29FD80F4F96804A30FCC59C23D2E5349";
    - static const uint8_t binary_fingerprint[16]; // = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
    -
        TOperationHandle(const TOperationHandle&);
        TOperationHandle& operator=(const TOperationHandle&);
        TOperationHandle() : operationType((TOperationType::type)0), hasResultSet(0), modifiedRowCount(0) {
    @@ -1981,11 +2080,17 @@ class TOperationHandle {
        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 TOperationHandle& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOperationHandle &a, TOperationHandle &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOpenSessionReq__isset {
        _TOpenSessionReq__isset() : username(false), password(false), configuration(false) {}
        bool username :1;
    @@ -1996,9 +2101,6 @@ typedef struct _TOpenSessionReq__isset {
      class TOpenSessionReq {
       public:

    - static const char* ascii_fingerprint; // = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
    - static const uint8_t binary_fingerprint[16]; // = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
    -
        TOpenSessionReq(const TOpenSessionReq&);
        TOpenSessionReq& operator=(const TOpenSessionReq&);
        TOpenSessionReq() : client_protocol((TProtocolVersion::type)7), username(), password() {
    @@ -2049,11 +2151,17 @@ class TOpenSessionReq {
        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 TOpenSessionReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOpenSessionReq &a, TOpenSessionReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TOpenSessionResp__isset {
        _TOpenSessionResp__isset() : sessionHandle(false), configuration(false) {}
        bool sessionHandle :1;
    @@ -2063,9 +2171,6 @@ typedef struct _TOpenSessionResp__isset {
      class TOpenSessionResp {
       public:

    - static const char* ascii_fingerprint; // = "CFE7D7F4E9EC671F2518ED74FEE9F163";
    - static const uint8_t binary_fingerprint[16]; // = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
    -
        TOpenSessionResp(const TOpenSessionResp&);
        TOpenSessionResp& operator=(const TOpenSessionResp&);
        TOpenSessionResp() : serverProtocolVersion((TProtocolVersion::type)7) {
    @@ -2114,18 +2219,21 @@ class TOpenSessionResp {
        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 TOpenSessionResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TOpenSessionResp &a, TOpenSessionResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseSessionReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TCloseSessionReq(const TCloseSessionReq&);
        TCloseSessionReq& operator=(const TCloseSessionReq&);
        TCloseSessionReq() {
    @@ -2151,18 +2259,21 @@ class TCloseSessionReq {
        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 TCloseSessionReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseSessionReq &a, TCloseSessionReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseSessionResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TCloseSessionResp(const TCloseSessionResp&);
        TCloseSessionResp& operator=(const TCloseSessionResp&);
        TCloseSessionResp() {
    @@ -2188,11 +2299,17 @@ class TCloseSessionResp {
        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 TCloseSessionResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseSessionResp &a, TCloseSessionResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetInfoValue__isset {
        _TGetInfoValue__isset() : stringValue(false), smallIntValue(false), integerBitmask(false), integerFlag(false), binaryValue(false), lenValue(false) {}
        bool stringValue :1;
    @@ -2206,9 +2323,6 @@ typedef struct _TGetInfoValue__isset {
      class TGetInfoValue {
       public:

    - static const char* ascii_fingerprint; // = "057FED11279FD7248CFE73EE82ED579E";
    - static const uint8_t binary_fingerprint[16]; // = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
    -
        TGetInfoValue(const TGetInfoValue&);
        TGetInfoValue& operator=(const TGetInfoValue&);
        TGetInfoValue() : stringValue(), smallIntValue(0), integerBitmask(0), integerFlag(0), binaryValue(0), lenValue(0) {
    @@ -2261,18 +2375,21 @@ class TGetInfoValue {
        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 TGetInfoValue& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoValue &a, TGetInfoValue &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetInfoReq {
       public:

    - static const char* ascii_fingerprint; // = "95675B1A0BADE5F7EDE323809DB679B2";
    - static const uint8_t binary_fingerprint[16]; // = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
    -
        TGetInfoReq(const TGetInfoReq&);
        TGetInfoReq& operator=(const TGetInfoReq&);
        TGetInfoReq() : infoType((TGetInfoType::type)0) {
    @@ -2303,18 +2420,21 @@ class TGetInfoReq {
        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 TGetInfoReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoReq &a, TGetInfoReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetInfoResp {
       public:

    - static const char* ascii_fingerprint; // = "72AFA10A82728B51FDE91092012868DE";
    - static const uint8_t binary_fingerprint[16]; // = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
    -
        TGetInfoResp(const TGetInfoResp&);
        TGetInfoResp& operator=(const TGetInfoResp&);
        TGetInfoResp() {
    @@ -2345,11 +2465,17 @@ class TGetInfoResp {
        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 TGetInfoResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetInfoResp &a, TGetInfoResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TExecuteStatementReq__isset {
        _TExecuteStatementReq__isset() : confOverlay(false), runAsync(true) {}
        bool confOverlay :1;
    @@ -2359,9 +2485,6 @@ typedef struct _TExecuteStatementReq__isset {
      class TExecuteStatementReq {
       public:

    - static const char* ascii_fingerprint; // = "FED75DB77E66D76EC1939A51FB0D96FA";
    - static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
    -
        TExecuteStatementReq(const TExecuteStatementReq&);
        TExecuteStatementReq& operator=(const TExecuteStatementReq&);
        TExecuteStatementReq() : statement(), runAsync(false) {
    @@ -2408,11 +2531,17 @@ class TExecuteStatementReq {
        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 TExecuteStatementReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TExecuteStatementReq &a, TExecuteStatementReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TExecuteStatementResp__isset {
        _TExecuteStatementResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2421,9 +2550,6 @@ typedef struct _TExecuteStatementResp__isset {
      class TExecuteStatementResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TExecuteStatementResp(const TExecuteStatementResp&);
        TExecuteStatementResp& operator=(const TExecuteStatementResp&);
        TExecuteStatementResp() {
    @@ -2458,18 +2584,21 @@ class TExecuteStatementResp {
        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 TExecuteStatementResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TExecuteStatementResp &a, TExecuteStatementResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetTypeInfoReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TGetTypeInfoReq(const TGetTypeInfoReq&);
        TGetTypeInfoReq& operator=(const TGetTypeInfoReq&);
        TGetTypeInfoReq() {
    @@ -2495,11 +2624,17 @@ class TGetTypeInfoReq {
        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 TGetTypeInfoReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetTypeInfoResp__isset {
        _TGetTypeInfoResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2508,9 +2643,6 @@ typedef struct _TGetTypeInfoResp__isset {
      class TGetTypeInfoResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetTypeInfoResp(const TGetTypeInfoResp&);
        TGetTypeInfoResp& operator=(const TGetTypeInfoResp&);
        TGetTypeInfoResp() {
    @@ -2545,18 +2677,21 @@ class TGetTypeInfoResp {
        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 TGetTypeInfoResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetCatalogsReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TGetCatalogsReq(const TGetCatalogsReq&);
        TGetCatalogsReq& operator=(const TGetCatalogsReq&);
        TGetCatalogsReq() {
    @@ -2582,11 +2717,17 @@ class TGetCatalogsReq {
        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 TGetCatalogsReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetCatalogsReq &a, TGetCatalogsReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetCatalogsResp__isset {
        _TGetCatalogsResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2595,9 +2736,6 @@ typedef struct _TGetCatalogsResp__isset {
      class TGetCatalogsResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetCatalogsResp(const TGetCatalogsResp&);
        TGetCatalogsResp& operator=(const TGetCatalogsResp&);
        TGetCatalogsResp() {
    @@ -2632,11 +2770,17 @@ class TGetCatalogsResp {
        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 TGetCatalogsResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetCatalogsResp &a, TGetCatalogsResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetSchemasReq__isset {
        _TGetSchemasReq__isset() : catalogName(false), schemaName(false) {}
        bool catalogName :1;
    @@ -2646,9 +2790,6 @@ typedef struct _TGetSchemasReq__isset {
      class TGetSchemasReq {
       public:

    - static const char* ascii_fingerprint; // = "28A9D12DE8393DD3E73FC1E5AE6E113B";
    - static const uint8_t binary_fingerprint[16]; // = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B};
    -
        TGetSchemasReq(const TGetSchemasReq&);
        TGetSchemasReq& operator=(const TGetSchemasReq&);
        TGetSchemasReq() : catalogName(), schemaName() {
    @@ -2690,11 +2831,17 @@ class TGetSchemasReq {
        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 TGetSchemasReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetSchemasReq &a, TGetSchemasReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetSchemasResp__isset {
        _TGetSchemasResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2703,9 +2850,6 @@ typedef struct _TGetSchemasResp__isset {
      class TGetSchemasResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetSchemasResp(const TGetSchemasResp&);
        TGetSchemasResp& operator=(const TGetSchemasResp&);
        TGetSchemasResp() {
    @@ -2740,11 +2884,17 @@ class TGetSchemasResp {
        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 TGetSchemasResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetSchemasResp &a, TGetSchemasResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetTablesReq__isset {
        _TGetTablesReq__isset() : catalogName(false), schemaName(false), tableName(false), tableTypes(false) {}
        bool catalogName :1;
    @@ -2756,9 +2906,6 @@ typedef struct _TGetTablesReq__isset {
      class TGetTablesReq {
       public:

    - static const char* ascii_fingerprint; // = "C80DFEE06850052F5A445BE81ED763DB";
    - static const uint8_t binary_fingerprint[16]; // = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB};
    -
        TGetTablesReq(const TGetTablesReq&);
        TGetTablesReq& operator=(const TGetTablesReq&);
        TGetTablesReq() : catalogName(), schemaName(), tableName() {
    @@ -2814,11 +2961,17 @@ class TGetTablesReq {
        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 TGetTablesReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTablesReq &a, TGetTablesReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetTablesResp__isset {
        _TGetTablesResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2827,9 +2980,6 @@ typedef struct _TGetTablesResp__isset {
      class TGetTablesResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetTablesResp(const TGetTablesResp&);
        TGetTablesResp& operator=(const TGetTablesResp&);
        TGetTablesResp() {
    @@ -2864,18 +3014,21 @@ class TGetTablesResp {
        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 TGetTablesResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTablesResp &a, TGetTablesResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetTableTypesReq {
       public:

    - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
    - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
    -
        TGetTableTypesReq(const TGetTableTypesReq&);
        TGetTableTypesReq& operator=(const TGetTableTypesReq&);
        TGetTableTypesReq() {
    @@ -2901,11 +3054,17 @@ class TGetTableTypesReq {
        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 TGetTableTypesReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTableTypesReq &a, TGetTableTypesReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetTableTypesResp__isset {
        _TGetTableTypesResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -2914,9 +3073,6 @@ typedef struct _TGetTableTypesResp__isset {
      class TGetTableTypesResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetTableTypesResp(const TGetTableTypesResp&);
        TGetTableTypesResp& operator=(const TGetTableTypesResp&);
        TGetTableTypesResp() {
    @@ -2951,11 +3107,17 @@ class TGetTableTypesResp {
        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 TGetTableTypesResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetTableTypesResp &a, TGetTableTypesResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetColumnsReq__isset {
        _TGetColumnsReq__isset() : catalogName(false), schemaName(false), tableName(false), columnName(false) {}
        bool catalogName :1;
    @@ -2967,9 +3129,6 @@ typedef struct _TGetColumnsReq__isset {
      class TGetColumnsReq {
       public:

    - static const char* ascii_fingerprint; // = "72D0F28ED33A49B7306DF63EEE956C28";
    - static const uint8_t binary_fingerprint[16]; // = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28};
    -
        TGetColumnsReq(const TGetColumnsReq&);
        TGetColumnsReq& operator=(const TGetColumnsReq&);
        TGetColumnsReq() : catalogName(), schemaName(), tableName(), columnName() {
    @@ -3025,11 +3184,17 @@ class TGetColumnsReq {
        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 TGetColumnsReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetColumnsReq &a, TGetColumnsReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetColumnsResp__isset {
        _TGetColumnsResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -3038,9 +3203,6 @@ typedef struct _TGetColumnsResp__isset {
      class TGetColumnsResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetColumnsResp(const TGetColumnsResp&);
        TGetColumnsResp& operator=(const TGetColumnsResp&);
        TGetColumnsResp() {
    @@ -3075,11 +3237,17 @@ class TGetColumnsResp {
        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 TGetColumnsResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetColumnsResp &a, TGetColumnsResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetFunctionsReq__isset {
        _TGetFunctionsReq__isset() : catalogName(false), schemaName(false) {}
        bool catalogName :1;
    @@ -3089,9 +3257,6 @@ typedef struct _TGetFunctionsReq__isset {
      class TGetFunctionsReq {
       public:

    - static const char* ascii_fingerprint; // = "0887E0916ADE4521BF6017B534493138";
    - static const uint8_t binary_fingerprint[16]; // = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38};
    -
        TGetFunctionsReq(const TGetFunctionsReq&);
        TGetFunctionsReq& operator=(const TGetFunctionsReq&);
        TGetFunctionsReq() : catalogName(), schemaName(), functionName() {
    @@ -3138,11 +3303,17 @@ class TGetFunctionsReq {
        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 TGetFunctionsReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetFunctionsReq &a, TGetFunctionsReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetFunctionsResp__isset {
        _TGetFunctionsResp__isset() : operationHandle(false) {}
        bool operationHandle :1;
    @@ -3151,9 +3322,6 @@ typedef struct _TGetFunctionsResp__isset {
      class TGetFunctionsResp {
       public:

    - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
    - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
    -
        TGetFunctionsResp(const TGetFunctionsResp&);
        TGetFunctionsResp& operator=(const TGetFunctionsResp&);
        TGetFunctionsResp() {
    @@ -3188,18 +3356,21 @@ class TGetFunctionsResp {
        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 TGetFunctionsResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetFunctionsResp &a, TGetFunctionsResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetOperationStatusReq {
       public:

    - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
    - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
    -
        TGetOperationStatusReq(const TGetOperationStatusReq&);
        TGetOperationStatusReq& operator=(const TGetOperationStatusReq&);
        TGetOperationStatusReq() {
    @@ -3225,11 +3396,17 @@ class TGetOperationStatusReq {
        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 TGetOperationStatusReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetOperationStatusReq &a, TGetOperationStatusReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetOperationStatusResp__isset {
        _TGetOperationStatusResp__isset() : operationState(false), sqlState(false), errorCode(false), errorMessage(false) {}
        bool operationState :1;
    @@ -3241,9 +3418,6 @@ typedef struct _TGetOperationStatusResp__isset {
      class TGetOperationStatusResp {
       public:

    - static const char* ascii_fingerprint; // = "BD124DB87A5A2E7D11945BD1B17F013D";
    - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D};
    -
        TGetOperationStatusResp(const TGetOperationStatusResp&);
        TGetOperationStatusResp& operator=(const TGetOperationStatusResp&);
        TGetOperationStatusResp() : operationState((TOperationState::type)0), sqlState(), errorCode(0), errorMessage() {
    @@ -3299,18 +3473,21 @@ class TGetOperationStatusResp {
        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 TGetOperationStatusResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetOperationStatusResp &a, TGetOperationStatusResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCancelOperationReq {
       public:

    - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
    - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
    -
        TCancelOperationReq(const TCancelOperationReq&);
        TCancelOperationReq& operator=(const TCancelOperationReq&);
        TCancelOperationReq() {
    @@ -3336,18 +3513,21 @@ class TCancelOperationReq {
        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 TCancelOperationReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCancelOperationReq &a, TCancelOperationReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCancelOperationResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TCancelOperationResp(const TCancelOperationResp&);
        TCancelOperationResp& operator=(const TCancelOperationResp&);
        TCancelOperationResp() {
    @@ -3373,18 +3553,21 @@ class TCancelOperationResp {
        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 TCancelOperationResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCancelOperationResp &a, TCancelOperationResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseOperationReq {
       public:

    - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
    - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
    -
        TCloseOperationReq(const TCloseOperationReq&);
        TCloseOperationReq& operator=(const TCloseOperationReq&);
        TCloseOperationReq() {
    @@ -3410,18 +3593,21 @@ class TCloseOperationReq {
        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 TCloseOperationReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseOperationReq &a, TCloseOperationReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCloseOperationResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TCloseOperationResp(const TCloseOperationResp&);
        TCloseOperationResp& operator=(const TCloseOperationResp&);
        TCloseOperationResp() {
    @@ -3447,18 +3633,21 @@ class TCloseOperationResp {
        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 TCloseOperationResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCloseOperationResp &a, TCloseOperationResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetResultSetMetadataReq {
       public:

    - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
    - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
    -
        TGetResultSetMetadataReq(const TGetResultSetMetadataReq&);
        TGetResultSetMetadataReq& operator=(const TGetResultSetMetadataReq&);
        TGetResultSetMetadataReq() {
    @@ -3484,11 +3673,17 @@ class TGetResultSetMetadataReq {
        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 TGetResultSetMetadataReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetResultSetMetadataReq &a, TGetResultSetMetadataReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetResultSetMetadataResp__isset {
        _TGetResultSetMetadataResp__isset() : schema(false) {}
        bool schema :1;
    @@ -3497,9 +3692,6 @@ typedef struct _TGetResultSetMetadataResp__isset {
      class TGetResultSetMetadataResp {
       public:

    - static const char* ascii_fingerprint; // = "42CD49B7F49CC1B6D4E6F5FA2D7BE812";
    - static const uint8_t binary_fingerprint[16]; // = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12};
    -
        TGetResultSetMetadataResp(const TGetResultSetMetadataResp&);
        TGetResultSetMetadataResp& operator=(const TGetResultSetMetadataResp&);
        TGetResultSetMetadataResp() {
    @@ -3534,11 +3726,17 @@ class TGetResultSetMetadataResp {
        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 TGetResultSetMetadataResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetResultSetMetadataResp &a, TGetResultSetMetadataResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TFetchResultsReq__isset {
        _TFetchResultsReq__isset() : fetchType(true) {}
        bool fetchType :1;
    @@ -3547,9 +3745,6 @@ typedef struct _TFetchResultsReq__isset {
      class TFetchResultsReq {
       public:

    - static const char* ascii_fingerprint; // = "B4CB1E4F8F8F4D50183DD372AD11753A";
    - static const uint8_t binary_fingerprint[16]; // = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A};
    -
        TFetchResultsReq(const TFetchResultsReq&);
        TFetchResultsReq& operator=(const TFetchResultsReq&);
        TFetchResultsReq() : orientation((TFetchOrientation::type)0), maxRows(0), fetchType(0) {
    @@ -3596,11 +3791,17 @@ class TFetchResultsReq {
        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 TFetchResultsReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TFetchResultsReq &a, TFetchResultsReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TFetchResultsResp__isset {
        _TFetchResultsResp__isset() : hasMoreRows(false), results(false) {}
        bool hasMoreRows :1;
    @@ -3610,9 +3811,6 @@ typedef struct _TFetchResultsResp__isset {
      class TFetchResultsResp {
       public:

    - static const char* ascii_fingerprint; // = "FC43BC2D6F3B76D4DB0F34226A745C8E";
    - static const uint8_t binary_fingerprint[16]; // = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E};
    -
        TFetchResultsResp(const TFetchResultsResp&);
        TFetchResultsResp& operator=(const TFetchResultsResp&);
        TFetchResultsResp() : hasMoreRows(0) {
    @@ -3654,18 +3852,21 @@ class TFetchResultsResp {
        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 TFetchResultsResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TFetchResultsResp &a, TFetchResultsResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TGetDelegationTokenReq {
       public:

    - static const char* ascii_fingerprint; // = "07EA0311716A27924914E4354ED22D6C";
    - static const uint8_t binary_fingerprint[16]; // = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C};
    -
        TGetDelegationTokenReq(const TGetDelegationTokenReq&);
        TGetDelegationTokenReq& operator=(const TGetDelegationTokenReq&);
        TGetDelegationTokenReq() : owner(), renewer() {
    @@ -3701,11 +3902,17 @@ class TGetDelegationTokenReq {
        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 TGetDelegationTokenReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetDelegationTokenReq &a, TGetDelegationTokenReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _TGetDelegationTokenResp__isset {
        _TGetDelegationTokenResp__isset() : delegationToken(false) {}
        bool delegationToken :1;
    @@ -3714,9 +3921,6 @@ typedef struct _TGetDelegationTokenResp__isset {
      class TGetDelegationTokenResp {
       public:

    - static const char* ascii_fingerprint; // = "C0E132DC412CEA08D771EAC38CEA1DA6";
    - static const uint8_t binary_fingerprint[16]; // = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6};
    -
        TGetDelegationTokenResp(const TGetDelegationTokenResp&);
        TGetDelegationTokenResp& operator=(const TGetDelegationTokenResp&);
        TGetDelegationTokenResp() : delegationToken() {
    @@ -3751,18 +3955,21 @@ class TGetDelegationTokenResp {
        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 TGetDelegationTokenResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TGetDelegationTokenResp &a, TGetDelegationTokenResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCancelDelegationTokenReq {
       public:

    - static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75";
    - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75};
    -
        TCancelDelegationTokenReq(const TCancelDelegationTokenReq&);
        TCancelDelegationTokenReq& operator=(const TCancelDelegationTokenReq&);
        TCancelDelegationTokenReq() : delegationToken() {
    @@ -3793,18 +4000,21 @@ class TCancelDelegationTokenReq {
        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 TCancelDelegationTokenReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCancelDelegationTokenReq &a, TCancelDelegationTokenReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TCancelDelegationTokenResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TCancelDelegationTokenResp(const TCancelDelegationTokenResp&);
        TCancelDelegationTokenResp& operator=(const TCancelDelegationTokenResp&);
        TCancelDelegationTokenResp() {
    @@ -3830,18 +4040,21 @@ class TCancelDelegationTokenResp {
        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 TCancelDelegationTokenResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TCancelDelegationTokenResp &a, TCancelDelegationTokenResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TRenewDelegationTokenReq {
       public:

    - static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75";
    - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75};
    -
        TRenewDelegationTokenReq(const TRenewDelegationTokenReq&);
        TRenewDelegationTokenReq& operator=(const TRenewDelegationTokenReq&);
        TRenewDelegationTokenReq() : delegationToken() {
    @@ -3872,18 +4085,21 @@ class TRenewDelegationTokenReq {
        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 TRenewDelegationTokenReq& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRenewDelegationTokenReq &a, TRenewDelegationTokenReq &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +

      class TRenewDelegationTokenResp {
       public:

    - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
    - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
    -
        TRenewDelegationTokenResp(const TRenewDelegationTokenResp&);
        TRenewDelegationTokenResp& operator=(const TRenewDelegationTokenResp&);
        TRenewDelegationTokenResp() {
    @@ -3909,11 +4125,17 @@ class TRenewDelegationTokenResp {
        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 TRenewDelegationTokenResp& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b);

    +inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      }}}}} // namespace

      #endif
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    ----------------------------------------------------------------------
    diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.cpp b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    index 7dae2f8..7e2c028 100644
    --- a/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    +++ b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -15,6 +15,7 @@ TCLIService_OpenSession_args::~TCLIService_OpenSession_args() throw() {

      uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -55,7 +56,7 @@ uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtoco

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -64,7 +65,6 @@ uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtoc

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

    @@ -75,7 +75,7 @@ TCLIService_OpenSession_pargs::~TCLIService_OpenSession_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -84,7 +84,6 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto

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

    @@ -95,6 +94,7 @@ TCLIService_OpenSession_result::~TCLIService_OpenSession_result() throw() {

      uint32_t TCLIService_OpenSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -156,6 +156,7 @@ TCLIService_OpenSession_presult::~TCLIService_OpenSession_presult() throw() {

      uint32_t TCLIService_OpenSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -201,6 +202,7 @@ TCLIService_CloseSession_args::~TCLIService_CloseSession_args() throw() {

      uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -241,7 +243,7 @@ uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtoc

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -250,7 +252,6 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto

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

    @@ -261,7 +262,7 @@ TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -270,7 +271,6 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt

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

    @@ -281,6 +281,7 @@ TCLIService_CloseSession_result::~TCLIService_CloseSession_result() throw() {

      uint32_t TCLIService_CloseSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -342,6 +343,7 @@ TCLIService_CloseSession_presult::~TCLIService_CloseSession_presult() throw() {

      uint32_t TCLIService_CloseSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -387,6 +389,7 @@ TCLIService_GetInfo_args::~TCLIService_GetInfo_args() throw() {

      uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -427,7 +430,7 @@ uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* i

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -436,7 +439,6 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol*

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

    @@ -447,7 +449,7 @@ TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -456,7 +458,6 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol*

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

    @@ -467,6 +468,7 @@ TCLIService_GetInfo_result::~TCLIService_GetInfo_result() throw() {

      uint32_t TCLIService_GetInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -528,6 +530,7 @@ TCLIService_GetInfo_presult::~TCLIService_GetInfo_presult() throw() {

      uint32_t TCLIService_GetInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -573,6 +576,7 @@ TCLIService_ExecuteStatement_args::~TCLIService_ExecuteStatement_args() throw()

      uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -613,7 +617,7 @@ uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TPr

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -622,7 +626,6 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP

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

    @@ -633,7 +636,7 @@ TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw(

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -642,7 +645,6 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T

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

    @@ -653,6 +655,7 @@ TCLIService_ExecuteStatement_result::~TCLIService_ExecuteStatement_result() thro

      uint32_t TCLIService_ExecuteStatement_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -714,6 +717,7 @@ TCLIService_ExecuteStatement_presult::~TCLIService_ExecuteStatement_presult() th

      uint32_t TCLIService_ExecuteStatement_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -759,6 +763,7 @@ TCLIService_GetTypeInfo_args::~TCLIService_GetTypeInfo_args() throw() {

      uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -799,7 +804,7 @@ uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtoco

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -808,7 +813,6 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc

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

    @@ -819,7 +823,7 @@ TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -828,7 +832,6 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto

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

    @@ -839,6 +842,7 @@ TCLIService_GetTypeInfo_result::~TCLIService_GetTypeInfo_result() throw() {

      uint32_t TCLIService_GetTypeInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -900,6 +904,7 @@ TCLIService_GetTypeInfo_presult::~TCLIService_GetTypeInfo_presult() throw() {

      uint32_t TCLIService_GetTypeInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -945,6 +950,7 @@ TCLIService_GetCatalogs_args::~TCLIService_GetCatalogs_args() throw() {

      uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -985,7 +991,7 @@ uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtoco

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -994,7 +1000,6 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc

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

    @@ -1005,7 +1010,7 @@ TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1014,7 +1019,6 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto

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

    @@ -1025,6 +1029,7 @@ TCLIService_GetCatalogs_result::~TCLIService_GetCatalogs_result() throw() {

      uint32_t TCLIService_GetCatalogs_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1086,6 +1091,7 @@ TCLIService_GetCatalogs_presult::~TCLIService_GetCatalogs_presult() throw() {

      uint32_t TCLIService_GetCatalogs_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1131,6 +1137,7 @@ TCLIService_GetSchemas_args::~TCLIService_GetSchemas_args() throw() {

      uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1171,7 +1178,7 @@ uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1180,7 +1187,6 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco

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

    @@ -1191,7 +1197,7 @@ TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1200,7 +1206,6 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc

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

    @@ -1211,6 +1216,7 @@ TCLIService_GetSchemas_result::~TCLIService_GetSchemas_result() throw() {

      uint32_t TCLIService_GetSchemas_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1272,6 +1278,7 @@ TCLIService_GetSchemas_presult::~TCLIService_GetSchemas_presult() throw() {

      uint32_t TCLIService_GetSchemas_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1317,6 +1324,7 @@ TCLIService_GetTables_args::~TCLIService_GetTables_args() throw() {

      uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1357,7 +1365,7 @@ uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol*

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1366,7 +1374,6 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol

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

    @@ -1377,7 +1384,7 @@ TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1386,7 +1393,6 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco

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

    @@ -1397,6 +1403,7 @@ TCLIService_GetTables_result::~TCLIService_GetTables_result() throw() {

      uint32_t TCLIService_GetTables_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1458,6 +1465,7 @@ TCLIService_GetTables_presult::~TCLIService_GetTables_presult() throw() {

      uint32_t TCLIService_GetTables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1503,6 +1511,7 @@ TCLIService_GetTableTypes_args::~TCLIService_GetTableTypes_args() throw() {

      uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1543,7 +1552,7 @@ uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProto

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1552,7 +1561,6 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt

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

    @@ -1563,7 +1571,7 @@ TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1572,7 +1580,6 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro

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

    @@ -1583,6 +1590,7 @@ TCLIService_GetTableTypes_result::~TCLIService_GetTableTypes_result() throw() {

      uint32_t TCLIService_GetTableTypes_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1644,6 +1652,7 @@ TCLIService_GetTableTypes_presult::~TCLIService_GetTableTypes_presult() throw()

      uint32_t TCLIService_GetTableTypes_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1689,6 +1698,7 @@ TCLIService_GetColumns_args::~TCLIService_GetColumns_args() throw() {

      uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1729,7 +1739,7 @@ uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1738,7 +1748,6 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco

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

    @@ -1749,7 +1758,7 @@ TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1758,7 +1767,6 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc

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

    @@ -1769,6 +1777,7 @@ TCLIService_GetColumns_result::~TCLIService_GetColumns_result() throw() {

      uint32_t TCLIService_GetColumns_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1830,6 +1839,7 @@ TCLIService_GetColumns_presult::~TCLIService_GetColumns_presult() throw() {

      uint32_t TCLIService_GetColumns_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1875,6 +1885,7 @@ TCLIService_GetFunctions_args::~TCLIService_GetFunctions_args() throw() {

      uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -1915,7 +1926,7 @@ uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtoc

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1924,7 +1935,6 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto

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

    @@ -1935,7 +1945,7 @@ TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -1944,7 +1954,6 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt

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

    @@ -1955,6 +1964,7 @@ TCLIService_GetFunctions_result::~TCLIService_GetFunctions_result() throw() {

      uint32_t TCLIService_GetFunctions_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2016,6 +2026,7 @@ TCLIService_GetFunctions_presult::~TCLIService_GetFunctions_presult() throw() {

      uint32_t TCLIService_GetFunctions_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2061,6 +2072,7 @@ TCLIService_GetOperationStatus_args::~TCLIService_GetOperationStatus_args() thro

      uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2101,7 +2113,7 @@ uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::T

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2110,7 +2122,6 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::

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

    @@ -2121,7 +2132,7 @@ TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() th

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2130,7 +2141,6 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol:

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

    @@ -2141,6 +2151,7 @@ TCLIService_GetOperationStatus_result::~TCLIService_GetOperationStatus_result()

      uint32_t TCLIService_GetOperationStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2202,6 +2213,7 @@ TCLIService_GetOperationStatus_presult::~TCLIService_GetOperationStatus_presult(

      uint32_t TCLIService_GetOperationStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2247,6 +2259,7 @@ TCLIService_CancelOperation_args::~TCLIService_CancelOperation_args() throw() {

      uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2287,7 +2300,7 @@ uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TPro

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2296,7 +2309,6 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr

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

    @@ -2307,7 +2319,7 @@ TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw()

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2316,7 +2328,6 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP

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

    @@ -2327,6 +2338,7 @@ TCLIService_CancelOperation_result::~TCLIService_CancelOperation_result() throw(

      uint32_t TCLIService_CancelOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2388,6 +2400,7 @@ TCLIService_CancelOperation_presult::~TCLIService_CancelOperation_presult() thro

      uint32_t TCLIService_CancelOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2433,6 +2446,7 @@ TCLIService_CloseOperation_args::~TCLIService_CloseOperation_args() throw() {

      uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2473,7 +2487,7 @@ uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProt

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2482,7 +2496,6 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro

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

    @@ -2493,7 +2506,7 @@ TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2502,7 +2515,6 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr

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

    @@ -2513,6 +2525,7 @@ TCLIService_CloseOperation_result::~TCLIService_CloseOperation_result() throw()

      uint32_t TCLIService_CloseOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2574,6 +2587,7 @@ TCLIService_CloseOperation_presult::~TCLIService_CloseOperation_presult() throw(

      uint32_t TCLIService_CloseOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2619,6 +2633,7 @@ TCLIService_GetResultSetMetadata_args::~TCLIService_GetResultSetMetadata_args()

      uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2659,7 +2674,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol:

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2668,7 +2683,6 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol

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

    @@ -2679,7 +2693,7 @@ TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs(

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2688,7 +2702,6 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco

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

    @@ -2699,6 +2712,7 @@ TCLIService_GetResultSetMetadata_result::~TCLIService_GetResultSetMetadata_resul

      uint32_t TCLIService_GetResultSetMetadata_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2760,6 +2774,7 @@ TCLIService_GetResultSetMetadata_presult::~TCLIService_GetResultSetMetadata_pres

      uint32_t TCLIService_GetResultSetMetadata_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2805,6 +2820,7 @@ TCLIService_FetchResults_args::~TCLIService_FetchResults_args() throw() {

      uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2845,7 +2861,7 @@ uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtoc

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2854,7 +2870,6 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto

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

    @@ -2865,7 +2880,7 @@ TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() {

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -2874,7 +2889,6 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt

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

    @@ -2885,6 +2899,7 @@ TCLIService_FetchResults_result::~TCLIService_FetchResults_result() throw() {

      uint32_t TCLIService_FetchResults_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2946,6 +2961,7 @@ TCLIService_FetchResults_presult::~TCLIService_FetchResults_presult() throw() {

      uint32_t TCLIService_FetchResults_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -2991,6 +3007,7 @@ TCLIService_GetDelegationToken_args::~TCLIService_GetDelegationToken_args() thro

      uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3031,7 +3048,7 @@ uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::T

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3040,7 +3057,6 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::

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

    @@ -3051,7 +3067,7 @@ TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() th

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3060,7 +3076,6 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol:

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

    @@ -3071,6 +3086,7 @@ TCLIService_GetDelegationToken_result::~TCLIService_GetDelegationToken_result()

      uint32_t TCLIService_GetDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3132,6 +3148,7 @@ TCLIService_GetDelegationToken_presult::~TCLIService_GetDelegationToken_presult(

      uint32_t TCLIService_GetDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3177,6 +3194,7 @@ TCLIService_CancelDelegationToken_args::~TCLIService_CancelDelegationToken_args(

      uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3217,7 +3235,7 @@ uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3226,7 +3244,6 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco

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

    @@ -3237,7 +3254,7 @@ TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_parg

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3246,7 +3263,6 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc

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

    @@ -3257,6 +3273,7 @@ TCLIService_CancelDelegationToken_result::~TCLIService_CancelDelegationToken_res

      uint32_t TCLIService_CancelDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3318,6 +3335,7 @@ TCLIService_CancelDelegationToken_presult::~TCLIService_CancelDelegationToken_pr

      uint32_t TCLIService_CancelDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3363,6 +3381,7 @@ TCLIService_RenewDelegationToken_args::~TCLIService_RenewDelegationToken_args()

      uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3403,7 +3422,7 @@ uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol:

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3412,7 +3431,6 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol

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

    @@ -3423,7 +3441,7 @@ TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs(

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

        xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
    @@ -3432,7 +3450,6 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco

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

    @@ -3443,6 +3460,7 @@ TCLIService_RenewDelegationToken_result::~TCLIService_RenewDelegationToken_resul

      uint32_t TCLIService_RenewDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -3504,6 +3522,7 @@ TCLIService_RenewDelegationToken_presult::~TCLIService_RenewDelegationToken_pres

      uint32_t TCLIService_RenewDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -5695,5 +5714,1602 @@ void TCLIServiceProcessor::process_RenewDelegationToken(int32_t seqid, ::apache:
        ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new TCLIServiceProcessor(handler));
        return processor;
      }
    +
    +void TCLIServiceConcurrentClient::OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req)
    +{
    + int32_t seqid = send_OpenSession(req);
    + recv_OpenSession(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_OpenSession(const TOpenSessionReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("OpenSession", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_OpenSession_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("OpenSession") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_OpenSession_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "OpenSession failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req)
    +{
    + int32_t seqid = send_CloseSession(req);
    + recv_CloseSession(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CloseSession(const TCloseSessionReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CloseSession", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CloseSession_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CloseSession") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CloseSession_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseSession failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetInfo(TGetInfoResp& _return, const TGetInfoReq& req)
    +{
    + int32_t seqid = send_GetInfo(req);
    + recv_GetInfo(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetInfo(const TGetInfoReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetInfo", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetInfo_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetInfo(TGetInfoResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetInfo") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetInfo_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetInfo failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req)
    +{
    + int32_t seqid = send_ExecuteStatement(req);
    + recv_ExecuteStatement(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_ExecuteStatement(const TExecuteStatementReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("ExecuteStatement", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_ExecuteStatement_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("ExecuteStatement") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_ExecuteStatement_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "ExecuteStatement failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req)
    +{
    + int32_t seqid = send_GetTypeInfo(req);
    + recv_GetTypeInfo(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTypeInfo(const TGetTypeInfoReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTypeInfo", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTypeInfo_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTypeInfo") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTypeInfo_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTypeInfo failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req)
    +{
    + int32_t seqid = send_GetCatalogs(req);
    + recv_GetCatalogs(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetCatalogs(const TGetCatalogsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetCatalogs", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetCatalogs_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetCatalogs") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetCatalogs_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCatalogs failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req)
    +{
    + int32_t seqid = send_GetSchemas(req);
    + recv_GetSchemas(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetSchemas(const TGetSchemasReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetSchemas", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetSchemas_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetSchemas") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetSchemas_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetSchemas failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTables(TGetTablesResp& _return, const TGetTablesReq& req)
    +{
    + int32_t seqid = send_GetTables(req);
    + recv_GetTables(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTables(const TGetTablesReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTables", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTables_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTables(TGetTablesResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTables") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTables_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTables failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req)
    +{
    + int32_t seqid = send_GetTableTypes(req);
    + recv_GetTableTypes(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetTableTypes(const TGetTableTypesReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetTableTypes", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetTableTypes_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetTableTypes") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetTableTypes_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTableTypes failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req)
    +{
    + int32_t seqid = send_GetColumns(req);
    + recv_GetColumns(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetColumns(const TGetColumnsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetColumns", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetColumns_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetColumns") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetColumns_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetColumns failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req)
    +{
    + int32_t seqid = send_GetFunctions(req);
    + recv_GetFunctions(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetFunctions(const TGetFunctionsReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetFunctions", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetFunctions_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetFunctions") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetFunctions_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetFunctions failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req)
    +{
    + int32_t seqid = send_GetOperationStatus(req);
    + recv_GetOperationStatus(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_GetOperationStatus(const TGetOperationStatusReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("GetOperationStatus", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_GetOperationStatus_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("GetOperationStatus") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_GetOperationStatus_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetOperationStatus failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req)
    +{
    + int32_t seqid = send_CancelOperation(req);
    + recv_CancelOperation(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CancelOperation(const TCancelOperationReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CancelOperation", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CancelOperation_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CancelOperation") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CancelOperation_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CancelOperation failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will temporarily unlock the readMutex, and let other clients get work done
    + this->sync_.waitForWork(seqid);
    + } // end while(true)
    +}
    +
    +void TCLIServiceConcurrentClient::CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req)
    +{
    + int32_t seqid = send_CloseOperation(req);
    + recv_CloseOperation(_return, seqid);
    +}
    +
    +int32_t TCLIServiceConcurrentClient::send_CloseOperation(const TCloseOperationReq& req)
    +{
    + int32_t cseqid = this->sync_.generateSeqId();
    + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
    + oprot_->writeMessageBegin("CloseOperation", ::apache::thrift::protocol::T_CALL, cseqid);
    +
    + TCLIService_CloseOperation_pargs args;
    + args.req = &req;
    + args.write(oprot_);
    +
    + oprot_->writeMessageEnd();
    + oprot_->getTransport()->writeEnd();
    + oprot_->getTransport()->flush();
    +
    + sentry.commit();
    + return cseqid;
    +}
    +
    +void TCLIServiceConcurrentClient::recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid)
    +{
    +
    + int32_t rseqid = 0;
    + std::string fname;
    + ::apache::thrift::protocol::TMessageType mtype;
    +
    + // the read mutex gets dropped and reacquired as part of waitForWork()
    + // The destructor of this sentry wakes up other clients
    + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
    +
    + while(true) {
    + if(!this->sync_.getPending(fname, mtype, rseqid)) {
    + iprot_->readMessageBegin(fname, mtype, rseqid);
    + }
    + if(seqid == rseqid) {
    + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
    + ::apache::thrift::TApplicationException x;
    + x.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + sentry.commit();
    + throw x;
    + }
    + if (mtype != ::apache::thrift::protocol::T_REPLY) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    + }
    + if (fname.compare("CloseOperation") != 0) {
    + iprot_->skip(::apache::thrift::protocol::T_STRUCT);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + // in a bad state, don't commit
    + using ::apache::thrift::protocol::TProtocolException;
    + throw TProtocolException(TProtocolException::INVALID_DATA);
    + }
    + TCLIService_CloseOperation_presult result;
    + result.success = &_return;
    + result.read(iprot_);
    + iprot_->readMessageEnd();
    + iprot_->getTransport()->readEnd();
    +
    + if (result.__isset.success) {
    + // _return pointer has now been filled
    + sentry.commit();
    + return;
    + }
    + // in a bad state, don't commit
    + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseOperation failed: unknown result");
    + }
    + // seqid != rseqid
    + this->sync_.updatePending(fname, mtype, rseqid);
    +
    + // this will tempo

    <TRUNCATED>
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.cpp b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    index a37ff7c..c05f86d 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-cpp/serde_types.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.h b/serde/src/gen/thrift/gen-cpp/serde_types.h
    index eb7659a..bdaab33 100644
    --- a/serde/src/gen/thrift/gen-cpp/serde_types.h
    +++ b/serde/src/gen/thrift/gen-cpp/serde_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    index 0fa57e7..9538dae 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    index cba3296..45fdc28 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    index 0cd19b9..c76e2fd 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -22,11 +22,9 @@ void InnerStruct::__set_field0(const int32_t val) {
        this->field0 = val;
      }

    -const char* InnerStruct::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
    -const uint8_t InnerStruct::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
    -
      uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -67,7 +65,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1);
    @@ -76,7 +74,6 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const

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

    @@ -95,12 +92,11 @@ InnerStruct& InnerStruct::operator=(const InnerStruct& other1) {
        __isset = other1.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) {
    - using apache::thrift::to_string;
    +void InnerStruct::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "InnerStruct(";
    - out << "field0=" << to_string(obj.field0);
    + out << "field0=" << to_string(field0);
        out << ")";
    - return out;
      }


    @@ -120,11 +116,9 @@ void ThriftTestObj::__set_field3(const std::vector<InnerStruct> & val) {
        this->field3 = val;
      }

    -const char* ThriftTestObj::ascii_fingerprint = "2BA5D8DAACFBBE6599779830A6185706";
    -const uint8_t ThriftTestObj::binary_fingerprint[16] = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
    -
      uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {

    + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
        uint32_t xfer = 0;
        std::string fname;
        ::apache::thrift::protocol::TType ftype;
    @@ -193,7 +187,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {

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

        xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1);
    @@ -218,7 +212,6 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons

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

    @@ -243,14 +236,13 @@ ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) {
        __isset = other9.__isset;
        return *this;
      }
    -std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) {
    - using apache::thrift::to_string;
    +void ThriftTestObj::printTo(std::ostream& out) const {
    + using ::apache::thrift::to_string;
        out << "ThriftTestObj(";
    - out << "field1=" << to_string(obj.field1);
    - out << ", " << "field2=" << to_string(obj.field2);
    - out << ", " << "field3=" << to_string(obj.field3);
    + out << "field1=" << to_string(field1);
    + out << ", " << "field2=" << to_string(field2);
    + out << ", " << "field3=" << to_string(field3);
        out << ")";
    - return out;
      }



    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.h b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    index 8c57e48..a59346a 100644
    --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -31,9 +31,6 @@ typedef struct _InnerStruct__isset {
      class InnerStruct {
       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};
    -
        InnerStruct(const InnerStruct&);
        InnerStruct& operator=(const InnerStruct&);
        InnerStruct() : field0(0) {
    @@ -61,11 +58,17 @@ class InnerStruct {
        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 InnerStruct& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(InnerStruct &a, InnerStruct &b);

    +inline std::ostream& operator<<(std::ostream& out, const InnerStruct& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +
      typedef struct _ThriftTestObj__isset {
        _ThriftTestObj__isset() : field1(false), field2(false), field3(false) {}
        bool field1 :1;
    @@ -76,9 +79,6 @@ typedef struct _ThriftTestObj__isset {
      class ThriftTestObj {
       public:

    - static const char* ascii_fingerprint; // = "2BA5D8DAACFBBE6599779830A6185706";
    - static const uint8_t binary_fingerprint[16]; // = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
    -
        ThriftTestObj(const ThriftTestObj&);
        ThriftTestObj& operator=(const ThriftTestObj&);
        ThriftTestObj() : field1(0), field2() {
    @@ -116,11 +116,17 @@ class ThriftTestObj {
        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 ThriftTestObj& obj);
    + virtual void printTo(std::ostream& out) const;
      };

      void swap(ThriftTestObj &a, ThriftTestObj &b);

    +inline std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj)
    +{
    + obj.printTo(out);
    + return out;
    +}
    +


      #endif

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    index 7902849..8b3eeb7 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    index b29780d..01a84fe 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -185,7 +185,7 @@ public class InnerStruct implements org.apache.thrift.TBase<InnerStruct, InnerSt
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case FIELD0:
    - return Integer.valueOf(getField0());
    + return getField0();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    index 7fdd99a..d2f78f5 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -293,7 +293,7 @@ public class ThriftTestObj implements org.apache.thrift.TBase<ThriftTestObj, Thr
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case FIELD1:
    - return Integer.valueOf(getField1());
    + return getField1();

          case FIELD2:
            return getField2();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    index c4a7e4f..6f0c721 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -700,7 +700,7 @@ public class Complex implements org.apache.thrift.TBase<Complex, Complex._Fields
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case AINT:
    - return Integer.valueOf(getAint());
    + return getAint();

          case A_STRING:
            return getAString();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    index 84b5728..ea7747f 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -273,13 +273,13 @@ public class IntString implements org.apache.thrift.TBase<IntString, IntString._
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case MYINT:
    - return Integer.valueOf(getMyint());
    + return getMyint();

          case MY_STRING:
            return getMyString();

          case UNDERSCORE_INT:
    - return Integer.valueOf(getUnderscore_int());
    + return getUnderscore_int();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    index b5bf63c..b8f8dfd 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -1238,22 +1238,22 @@ public class MegaStruct implements org.apache.thrift.TBase<MegaStruct, MegaStruc
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case MY_BOOL:
    - return Boolean.valueOf(isMy_bool());
    + return isMy_bool();

          case MY_BYTE:
    - return Byte.valueOf(getMy_byte());
    + return getMy_byte();

          case MY_16BIT_INT:
    - return Short.valueOf(getMy_16bit_int());
    + return getMy_16bit_int();

          case MY_32BIT_INT:
    - return Integer.valueOf(getMy_32bit_int());
    + return getMy_32bit_int();

          case MY_64BIT_INT:
    - return Long.valueOf(getMy_64bit_int());
    + return getMy_64bit_int();

          case MY_DOUBLE:
    - return Double.valueOf(getMy_double());
    + return getMy_double();

          case MY_STRING:
            return getMy_string();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    index 42dd95c..10f10d2 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    index 03f88c5..e5baf36 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    index 2a70482..92d5a0a 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    index a349f65..a331638 100644
    --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-php/Types.php
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-php/Types.php b/serde/src/gen/thrift/gen-php/Types.php
    index 8bb2fe3..27c5b25 100644
    --- a/serde/src/gen/thrift/gen-php/Types.php
    +++ b/serde/src/gen/thrift/gen-php/Types.php
    @@ -1,8 +1,6 @@
      <?php
    -namespace ;
    -
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    index 94dc455..8370698 100644
    --- a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    +++ b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
    @@ -2,7 +2,7 @@
      namespace org\apache\hadoop\hive\serde;

      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/serde/src/gen/thrift/gen-py/complex/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/complex/constants.py b/serde/src/gen/thrift/gen-py/complex/constants.py
    index 99717a9..4a6492b 100644
    --- a/serde/src/gen/thrift/gen-py/complex/constants.py
    +++ b/serde/src/gen/thrift/gen-py/complex/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-py/complex/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/complex/ttypes.py b/serde/src/gen/thrift/gen-py/complex/ttypes.py
    index 7f757da..d39de75 100644
    --- a/serde/src/gen/thrift/gen-py/complex/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/complex/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -60,27 +60,27 @@ class PropValueUnion:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.intValue = iprot.readI32();
    + self.intValue = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I64:
    - self.longValue = iprot.readI64();
    + self.longValue = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.STRING:
    - self.stringValue = iprot.readString();
    + self.stringValue = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.DOUBLE:
    - self.doubleValue = iprot.readDouble();
    + self.doubleValue = iprot.readDouble()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.BOOL:
    - self.flag = iprot.readBool();
    + self.flag = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 6:
    @@ -88,7 +88,7 @@ class PropValueUnion:
                self.lString = []
                (_etype3, _size0) = iprot.readListBegin()
                for _i4 in xrange(_size0):
    - _elem5 = iprot.readString();
    + _elem5 = iprot.readString()
                  self.lString.append(_elem5)
                iprot.readListEnd()
              else:
    @@ -98,8 +98,8 @@ class PropValueUnion:
                self.unionMStringString = {}
                (_ktype7, _vtype8, _size6 ) = iprot.readMapBegin()
                for _i10 in xrange(_size6):
    - _key11 = iprot.readString();
    - _val12 = iprot.readString();
    + _key11 = iprot.readString()
    + _val12 = iprot.readString()
                  self.unionMStringString[_key11] = _val12
                iprot.readMapEnd()
              else:
    @@ -209,17 +209,17 @@ class IntString:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.myint = iprot.readI32();
    + self.myint = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.myString = iprot.readString();
    + self.myString = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I32:
    - self.underscore_int = iprot.readI32();
    + self.underscore_int = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -321,12 +321,12 @@ class Complex:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.aint = iprot.readI32();
    + self.aint = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.aString = iprot.readString();
    + self.aString = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:
    @@ -334,7 +334,7 @@ class Complex:
                self.lint = []
                (_etype19, _size16) = iprot.readListBegin()
                for _i20 in xrange(_size16):
    - _elem21 = iprot.readI32();
    + _elem21 = iprot.readI32()
                  self.lint.append(_elem21)
                iprot.readListEnd()
              else:
    @@ -344,7 +344,7 @@ class Complex:
                self.lString = []
                (_etype25, _size22) = iprot.readListBegin()
                for _i26 in xrange(_size22):
    - _elem27 = iprot.readString();
    + _elem27 = iprot.readString()
                  self.lString.append(_elem27)
                iprot.readListEnd()
              else:
    @@ -365,8 +365,8 @@ class Complex:
                self.mStringString = {}
                (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin()
                for _i38 in xrange(_size34):
    - _key39 = iprot.readString();
    - _val40 = iprot.readString();
    + _key39 = iprot.readString()
    + _val40 = iprot.readString()
                  self.mStringString[_key39] = _val40
                iprot.readMapEnd()
              else:
    @@ -376,15 +376,15 @@ class Complex:
                self.attributes = {}
                (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
                for _i45 in xrange(_size41):
    - _key46 = iprot.readString();
    + _key46 = iprot.readString()
                  _val47 = {}
                  (_ktype49, _vtype50, _size48 ) = iprot.readMapBegin()
                  for _i52 in xrange(_size48):
    - _key53 = iprot.readString();
    + _key53 = iprot.readString()
                    _val54 = {}
                    (_ktype56, _vtype57, _size55 ) = iprot.readMapBegin()
                    for _i59 in xrange(_size55):
    - _key60 = iprot.readString();
    + _key60 = iprot.readString()
                      _val61 = PropValueUnion()
                      _val61.read(iprot)
                      _val54[_key60] = _val61
    @@ -559,7 +559,7 @@ class SetIntString:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.aString = iprot.readString();
    + self.aString = iprot.readString()
              else:
                iprot.skip(ftype)
            else:

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

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    index c4c5a7f..93c9250 100644
    --- a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -59,12 +59,12 @@ class MiniStruct:
              break
            if fid == 1:
              if ftype == TType.STRING:
    - self.my_string = iprot.readString();
    + self.my_string = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.I32:
    - self.my_enum = iprot.readI32();
    + self.my_enum = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -191,42 +191,42 @@ class MegaStruct:
              break
            if fid == 1:
              if ftype == TType.BOOL:
    - self.my_bool = iprot.readBool();
    + self.my_bool = iprot.readBool()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.BYTE:
    - self.my_byte = iprot.readByte();
    + self.my_byte = iprot.readByte()
              else:
                iprot.skip(ftype)
            elif fid == 3:
              if ftype == TType.I16:
    - self.my_16bit_int = iprot.readI16();
    + self.my_16bit_int = iprot.readI16()
              else:
                iprot.skip(ftype)
            elif fid == 4:
              if ftype == TType.I32:
    - self.my_32bit_int = iprot.readI32();
    + self.my_32bit_int = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 5:
              if ftype == TType.I64:
    - self.my_64bit_int = iprot.readI64();
    + self.my_64bit_int = iprot.readI64()
              else:
                iprot.skip(ftype)
            elif fid == 6:
              if ftype == TType.DOUBLE:
    - self.my_double = iprot.readDouble();
    + self.my_double = iprot.readDouble()
              else:
                iprot.skip(ftype)
            elif fid == 7:
              if ftype == TType.STRING:
    - self.my_string = iprot.readString();
    + self.my_string = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 8:
              if ftype == TType.STRING:
    - self.my_binary = iprot.readString();
    + self.my_binary = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 9:
    @@ -234,8 +234,8 @@ class MegaStruct:
                self.my_string_string_map = {}
                (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
                for _i4 in xrange(_size0):
    - _key5 = iprot.readString();
    - _val6 = iprot.readString();
    + _key5 = iprot.readString()
    + _val6 = iprot.readString()
                  self.my_string_string_map[_key5] = _val6
                iprot.readMapEnd()
              else:
    @@ -245,8 +245,8 @@ class MegaStruct:
                self.my_string_enum_map = {}
                (_ktype8, _vtype9, _size7 ) = iprot.readMapBegin()
                for _i11 in xrange(_size7):
    - _key12 = iprot.readString();
    - _val13 = iprot.readI32();
    + _key12 = iprot.readString()
    + _val13 = iprot.readI32()
                  self.my_string_enum_map[_key12] = _val13
                iprot.readMapEnd()
              else:
    @@ -256,8 +256,8 @@ class MegaStruct:
                self.my_enum_string_map = {}
                (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin()
                for _i18 in xrange(_size14):
    - _key19 = iprot.readI32();
    - _val20 = iprot.readString();
    + _key19 = iprot.readI32()
    + _val20 = iprot.readString()
                  self.my_enum_string_map[_key19] = _val20
                iprot.readMapEnd()
              else:
    @@ -267,7 +267,7 @@ class MegaStruct:
                self.my_enum_struct_map = {}
                (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin()
                for _i25 in xrange(_size21):
    - _key26 = iprot.readI32();
    + _key26 = iprot.readI32()
                  _val27 = MiniStruct()
                  _val27.read(iprot)
                  self.my_enum_struct_map[_key26] = _val27
    @@ -279,11 +279,11 @@ class MegaStruct:
                self.my_enum_stringlist_map = {}
                (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin()
                for _i32 in xrange(_size28):
    - _key33 = iprot.readI32();
    + _key33 = iprot.readI32()
                  _val34 = []
                  (_etype38, _size35) = iprot.readListBegin()
                  for _i39 in xrange(_size35):
    - _elem40 = iprot.readString();
    + _elem40 = iprot.readString()
                    _val34.append(_elem40)
                  iprot.readListEnd()
                  self.my_enum_stringlist_map[_key33] = _val34
    @@ -295,7 +295,7 @@ class MegaStruct:
                self.my_enum_structlist_map = {}
                (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
                for _i45 in xrange(_size41):
    - _key46 = iprot.readI32();
    + _key46 = iprot.readI32()
                  _val47 = []
                  (_etype51, _size48) = iprot.readListBegin()
                  for _i52 in xrange(_size48):
    @@ -312,7 +312,7 @@ class MegaStruct:
                self.my_stringlist = []
                (_etype57, _size54) = iprot.readListBegin()
                for _i58 in xrange(_size54):
    - _elem59 = iprot.readString();
    + _elem59 = iprot.readString()
                  self.my_stringlist.append(_elem59)
                iprot.readListEnd()
              else:
    @@ -333,7 +333,7 @@ class MegaStruct:
                self.my_enumlist = []
                (_etype69, _size66) = iprot.readListBegin()
                for _i70 in xrange(_size66):
    - _elem71 = iprot.readI32();
    + _elem71 = iprot.readI32()
                  self.my_enumlist.append(_elem71)
                iprot.readListEnd()
              else:
    @@ -343,7 +343,7 @@ class MegaStruct:
                self.my_stringset = set()
                (_etype75, _size72) = iprot.readSetBegin()
                for _i76 in xrange(_size72):
    - _elem77 = iprot.readString();
    + _elem77 = iprot.readString()
                  self.my_stringset.add(_elem77)
                iprot.readSetEnd()
              else:
    @@ -353,7 +353,7 @@ class MegaStruct:
                self.my_enumset = set()
                (_etype81, _size78) = iprot.readSetBegin()
                for _i82 in xrange(_size78):
    - _elem83 = iprot.readI32();
    + _elem83 = iprot.readI32()
                  self.my_enumset.add(_elem83)
                iprot.readSetEnd()
              else:

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    index 1673073..6ef3bcf 100644
    --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    index daa619e..8621257 100644
    --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

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

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    index 1b64a7d..133a602 100644
    --- a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    +++ b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -42,7 +42,7 @@ class InnerStruct:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.field0 = iprot.readI32();
    + self.field0 = iprot.readI32()
              else:
                iprot.skip(ftype)
            else:
    @@ -113,12 +113,12 @@ class ThriftTestObj:
              break
            if fid == 1:
              if ftype == TType.I32:
    - self.field1 = iprot.readI32();
    + self.field1 = iprot.readI32()
              else:
                iprot.skip(ftype)
            elif fid == 2:
              if ftype == TType.STRING:
    - self.field2 = iprot.readString();
    + self.field2 = iprot.readString()
              else:
                iprot.skip(ftype)
            elif fid == 3:

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/complex_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/complex_constants.rb b/serde/src/gen/thrift/gen-rb/complex_constants.rb
    index 3df0b7a..8b75421 100644
    --- a/serde/src/gen/thrift/gen-rb/complex_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/complex_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/complex_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/complex_types.rb b/serde/src/gen/thrift/gen-rb/complex_types.rb
    index 13d981f..8a03efd 100644
    --- a/serde/src/gen/thrift/gen-rb/complex_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/complex_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    index 6eb3f07..ab01193 100644
    --- a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/megastruct_types.rb b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    index 7d425af..fb8ccdf 100644
    --- a/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/serde_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/serde_constants.rb b/serde/src/gen/thrift/gen-rb/serde_constants.rb
    index 56d9e76..f98441b 100644
    --- a/serde/src/gen/thrift/gen-rb/serde_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/serde_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/serde_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/serde_types.rb b/serde/src/gen/thrift/gen-rb/serde_types.rb
    index b3143d1..3bf85ab 100644
    --- a/serde/src/gen/thrift/gen-rb/serde_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/serde_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    index 1f9473e..a793bf2 100644
    --- a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    +++ b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    ----------------------------------------------------------------------
    diff --git a/serde/src/gen/thrift/gen-rb/testthrift_types.rb b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    index 80d5572..f265d42 100644
    --- a/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    +++ b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
    index 6e90d16..97acb5d 100644
    --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
    +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
    @@ -1,5 +1,5 @@
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -8,6 +8,7 @@

      from thrift.Thrift import TType, TMessageType, TException, TApplicationException
      import fb303.FacebookService
    +import logging
      from ttypes import *
      from thrift.Thrift import TProcessor
      from thrift.transport import TTransport
    @@ -523,15 +524,6 @@ class Iface(fb303.FacebookService.Iface):
          """
          pass

    - def get_num_partitions_by_filter(self, db_name, tbl_name, filter):
    - """
    - Parameters:
    - - db_name
    - - tbl_name
    - - filter
    - """
    - pass
    -
        def get_partitions_by_names(self, db_name, tbl_name, names):
          """
          Parameters:
    @@ -1127,7 +1119,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result")

        def setMetaConf(self, key, value):
          """
    @@ -1230,7 +1222,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result")

        def drop_database(self, name, deleteData, cascade):
          """
    @@ -1302,7 +1294,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result")

        def get_all_databases(self):
          self.send_get_all_databases()
    @@ -1330,7 +1322,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result")

        def alter_database(self, dbname, db):
          """
    @@ -1400,7 +1392,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result")

        def create_type(self, type):
          """
    @@ -1437,7 +1429,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result")

        def drop_type(self, type):
          """
    @@ -1472,7 +1464,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result")

        def get_type_all(self, name):
          """
    @@ -1505,7 +1497,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result")

        def get_fields(self, db_name, table_name):
          """
    @@ -1544,7 +1536,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result")

        def get_fields_with_environment_context(self, db_name, table_name, environment_context):
          """
    @@ -1585,7 +1577,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result")

        def get_schema(self, db_name, table_name):
          """
    @@ -1624,7 +1616,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result")

        def get_schema_with_environment_context(self, db_name, table_name, environment_context):
          """
    @@ -1665,7 +1657,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result")

        def create_table(self, tbl):
          """
    @@ -1852,7 +1844,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result")

        def get_table_meta(self, db_patterns, tbl_patterns, tbl_types):
          """
    @@ -1889,7 +1881,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_meta failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_meta failed: unknown result")

        def get_all_tables(self, db_name):
          """
    @@ -1922,7 +1914,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result")

        def get_table(self, dbname, tbl_name):
          """
    @@ -1959,7 +1951,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result")

        def get_table_objects_by_name(self, dbname, tbl_names):
          """
    @@ -1998,7 +1990,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result")

        def get_table_names_by_filter(self, dbname, filter, max_tables):
          """
    @@ -2039,7 +2031,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result")

        def alter_table(self, dbname, tbl_name, new_tbl):
          """
    @@ -2191,7 +2183,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result")

        def add_partition_with_environment_context(self, new_part, environment_context):
          """
    @@ -2230,7 +2222,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result")

        def add_partitions(self, new_parts):
          """
    @@ -2267,7 +2259,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result")

        def add_partitions_pspec(self, new_parts):
          """
    @@ -2304,7 +2296,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result")

        def append_partition(self, db_name, tbl_name, part_vals):
          """
    @@ -2345,7 +2337,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result")

        def add_partitions_req(self, request):
          """
    @@ -2382,7 +2374,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result")

        def append_partition_with_environment_context(self, db_name, tbl_name, part_vals, environment_context):
          """
    @@ -2425,7 +2417,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result")

        def append_partition_by_name(self, db_name, tbl_name, part_name):
          """
    @@ -2466,7 +2458,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result")

        def append_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, environment_context):
          """
    @@ -2509,7 +2501,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result")

        def drop_partition(self, db_name, tbl_name, part_vals, deleteData):
          """
    @@ -2550,7 +2542,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result")

        def drop_partition_with_environment_context(self, db_name, tbl_name, part_vals, deleteData, environment_context):
          """
    @@ -2593,7 +2585,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result")

        def drop_partition_by_name(self, db_name, tbl_name, part_name, deleteData):
          """
    @@ -2634,7 +2626,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result")

        def drop_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, deleteData, environment_context):
          """
    @@ -2677,7 +2669,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result")

        def drop_partitions_req(self, req):
          """
    @@ -2712,7 +2704,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result")

        def get_partition(self, db_name, tbl_name, part_vals):
          """
    @@ -2751,7 +2743,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result")

        def exchange_partition(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name):
          """
    @@ -2798,7 +2790,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result")

        def exchange_partitions(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name):
          """
    @@ -2845,7 +2837,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result")

        def get_partition_with_auth(self, db_name, tbl_name, part_vals, user_name, group_names):
          """
    @@ -2888,7 +2880,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result")

        def get_partition_by_name(self, db_name, tbl_name, part_name):
          """
    @@ -2927,7 +2919,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result")

        def get_partitions(self, db_name, tbl_name, max_parts):
          """
    @@ -2966,7 +2958,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result")

        def get_partitions_with_auth(self, db_name, tbl_name, max_parts, user_name, group_names):
          """
    @@ -3009,7 +3001,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result")

        def get_partitions_pspec(self, db_name, tbl_name, max_parts):
          """
    @@ -3048,7 +3040,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result")

        def get_partition_names(self, db_name, tbl_name, max_parts):
          """
    @@ -3085,7 +3077,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result")

        def get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts):
          """
    @@ -3126,7 +3118,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result")

        def get_partitions_ps_with_auth(self, db_name, tbl_name, part_vals, max_parts, user_name, group_names):
          """
    @@ -3171,7 +3163,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result")

        def get_partition_names_ps(self, db_name, tbl_name, part_vals, max_parts):
          """
    @@ -3212,7 +3204,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result")

        def get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts):
          """
    @@ -3253,7 +3245,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result")

        def get_part_specs_by_filter(self, db_name, tbl_name, filter, max_parts):
          """
    @@ -3294,7 +3286,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result")

        def get_partitions_by_expr(self, req):
          """
    @@ -3329,46 +3321,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result");
    -
    - def get_num_partitions_by_filter(self, db_name, tbl_name, filter):
    - """
    - Parameters:
    - - db_name
    - - tbl_name
    - - filter
    - """
    - self.send_get_num_partitions_by_filter(db_name, tbl_name, filter)
    - return self.recv_get_num_partitions_by_filter()
    -
    - def send_get_num_partitions_by_filter(self, db_name, tbl_name, filter):
    - self._oprot.writeMessageBegin('get_num_partitions_by_filter', TMessageType.CALL, self._seqid)
    - args = get_num_partitions_by_filter_args()
    - args.db_name = db_name
    - args.tbl_name = tbl_name
    - args.filter = filter
    - args.write(self._oprot)
    - self._oprot.writeMessageEnd()
    - self._oprot.trans.flush()
    -
    - def recv_get_num_partitions_by_filter(self):
    - iprot = self._iprot
    - (fname, mtype, rseqid) = iprot.readMessageBegin()
    - if mtype == TMessageType.EXCEPTION:
    - x = TApplicationException()
    - x.read(iprot)
    - iprot.readMessageEnd()
    - raise x
    - result = get_num_partitions_by_filter_result()
    - result.read(iprot)
    - iprot.readMessageEnd()
    - if result.success is not None:
    - return result.success
    - if result.o1 is not None:
    - raise result.o1
    - if result.o2 is not None:
    - raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_num_partitions_by_filter failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result")

        def get_partitions_by_names(self, db_name, tbl_name, names):
          """
    @@ -3407,7 +3360,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result")

        def alter_partition(self, db_name, tbl_name, new_part):
          """
    @@ -3594,7 +3547,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result")

        def get_config_value(self, name, defaultValue):
          """
    @@ -3629,7 +3582,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result")

        def partition_name_to_vals(self, part_name):
          """
    @@ -3662,7 +3615,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result")

        def partition_name_to_spec(self, part_name):
          """
    @@ -3695,7 +3648,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result")

        def markPartitionForEvent(self, db_name, tbl_name, part_vals, eventType):
          """
    @@ -3791,7 +3744,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o5
          if result.o6 is not None:
            raise result.o6
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result")

        def add_index(self, new_index, index_table):
          """
    @@ -3830,7 +3783,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result")

        def alter_index(self, dbname, base_tbl_name, idx_name, new_idx):
          """
    @@ -3910,7 +3863,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result")

        def get_index_by_name(self, db_name, tbl_name, index_name):
          """
    @@ -3949,7 +3902,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result")

        def get_indexes(self, db_name, tbl_name, max_indexes):
          """
    @@ -3988,7 +3941,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result")

        def get_index_names(self, db_name, tbl_name, max_indexes):
          """
    @@ -4025,7 +3978,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result")

        def update_table_column_statistics(self, stats_obj):
          """
    @@ -4064,7 +4017,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result")

        def update_partition_column_statistics(self, stats_obj):
          """
    @@ -4103,7 +4056,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result")

        def get_table_column_statistics(self, db_name, tbl_name, col_name):
          """
    @@ -4146,7 +4099,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result")

        def get_partition_column_statistics(self, db_name, tbl_name, part_name, col_name):
          """
    @@ -4191,7 +4144,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result")

        def get_table_statistics_req(self, request):
          """
    @@ -4226,7 +4179,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result")

        def get_partitions_statistics_req(self, request):
          """
    @@ -4261,7 +4214,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result")

        def get_aggr_stats_for(self, request):
          """
    @@ -4296,7 +4249,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result")

        def set_aggr_stats_for(self, request):
          """
    @@ -4335,7 +4288,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result")

        def delete_partition_column_statistics(self, db_name, tbl_name, part_name, col_name):
          """
    @@ -4380,7 +4333,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result")

        def delete_table_column_statistics(self, db_name, tbl_name, col_name):
          """
    @@ -4423,7 +4376,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o3
          if result.o4 is not None:
            raise result.o4
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result")

        def create_function(self, func):
          """
    @@ -4567,7 +4520,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result")

        def get_function(self, dbName, funcName):
          """
    @@ -4604,7 +4557,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result")

        def get_all_functions(self):
          self.send_get_all_functions()
    @@ -4632,7 +4585,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result")

        def create_role(self, role):
          """
    @@ -4665,7 +4618,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result")

        def drop_role(self, role_name):
          """
    @@ -4698,7 +4651,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result")

        def get_role_names(self):
          self.send_get_role_names()
    @@ -4726,7 +4679,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result")

        def grant_role(self, role_name, principal_name, principal_type, grantor, grantorType, grant_option):
          """
    @@ -4769,7 +4722,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result")

        def revoke_role(self, role_name, principal_name, principal_type):
          """
    @@ -4806,7 +4759,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result")

        def list_roles(self, principal_name, principal_type):
          """
    @@ -4841,7 +4794,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result")

        def grant_revoke_role(self, request):
          """
    @@ -4874,7 +4827,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result")

        def get_principals_in_role(self, request):
          """
    @@ -4907,7 +4860,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result")

        def get_role_grants_for_principal(self, request):
          """
    @@ -4940,7 +4893,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result")

        def get_privilege_set(self, hiveObject, user_name, group_names):
          """
    @@ -4977,7 +4930,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result")

        def list_privileges(self, principal_name, principal_type, hiveObject):
          """
    @@ -5014,7 +4967,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result")

        def grant_privileges(self, privileges):
          """
    @@ -5047,7 +5000,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result")

        def revoke_privileges(self, privileges):
          """
    @@ -5080,7 +5033,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result")

        def grant_revoke_privileges(self, request):
          """
    @@ -5113,7 +5066,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result")

        def set_ugi(self, user_name, group_names):
          """
    @@ -5148,7 +5101,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result")

        def get_delegation_token(self, token_owner, renewer_kerberos_principal_name):
          """
    @@ -5183,7 +5136,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result")

        def renew_delegation_token(self, token_str_form):
          """
    @@ -5216,7 +5169,7 @@ class Client(fb303.FacebookService.Client, Iface):
            return result.success
          if result.o1 is not None:
            raise result.o1
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result")

        def cancel_delegation_token(self, token_str_form):
          """
    @@ -5273,7 +5226,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result")

        def get_open_txns_info(self):
          self.send_get_open_txns_info()
    @@ -5299,7 +5252,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result")

        def open_txns(self, rqst):
          """
    @@ -5330,7 +5283,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result")

        def abort_txn(self, rqst):
          """
    @@ -5429,7 +5382,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o1
          if result.o2 is not None:
            raise result.o2
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result")

        def check_lock(self, rqst):
          """
    @@ -5466,7 +5419,7 @@ class Client(fb303.FacebookService.Client, Iface):
            raise result.o2
          if result.o3 is not None:
            raise result.o3
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result")

        def unlock(self, rqst):
          """
    @@ -5530,7 +5483,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result")

        def heartbeat(self, ids):
          """
    @@ -5596,7 +5549,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result")

        def compact(self, rqst):
          """
    @@ -5656,7 +5609,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result")

        def add_dynamic_partitions(self, rqst):
          """
    @@ -5720,7 +5673,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result")

        def get_current_notificationEventId(self):
          self.send_get_current_notificationEventId()
    @@ -5746,7 +5699,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result")

        def fire_listener_event(self, rqst):
          """
    @@ -5777,7 +5730,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result")

        def flushCache(self):
          self.send_flushCache()
    @@ -5832,7 +5785,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata_by_expr failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata_by_expr failed: unknown result")

        def get_file_metadata(self, req):
          """
    @@ -5863,7 +5816,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata failed: unknown result")

        def put_file_metadata(self, req):
          """
    @@ -5894,7 +5847,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "put_file_metadata failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "put_file_metadata failed: unknown result")

        def clear_file_metadata(self, req):
          """
    @@ -5925,7 +5878,7 @@ class Client(fb303.FacebookService.Client, Iface):
          iprot.readMessageEnd()
          if result.success is not None:
            return result.success
    - raise TApplicationException(TApplicationException.MISSING_RESULT, "clear_file_metadata failed: unknown result");
    + raise TApplicationException(TApplicationException.MISSING_RESULT, "clear_file_metadata failed: unknown result")

        def cache_file_metadata(self, req):
          """
    @@ -6020,7 +5973,6 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          self._processMap["get_partitions_by_filter"] = Processor.process_get_partitions_by_filter
          self._processMap["get_part_specs_by_filter"] = Processor.process_get_part_specs_by_filter
          self._processMap["get_partitions_by_expr"] = Processor.process_get_partitions_by_expr
    - self._processMap["get_num_partitions_by_filter"] = Processor.process_get_num_partitions_by_filter
          self._processMap["get_partitions_by_names"] = Processor.process_get_partitions_by_names
          self._processMap["alter_partition"] = Processor.process_alter_partition
          self._processMap["alter_partitions"] = Processor.process_alter_partitions
    @@ -6118,9 +6070,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = getMetaConf_result()
          try:
            result.success = self._handler.getMetaConf(args.key)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("getMetaConf", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("getMetaConf", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6132,9 +6092,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = setMetaConf_result()
          try:
            self._handler.setMetaConf(args.key, args.value)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("setMetaConf", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("setMetaConf", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6146,13 +6114,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = create_database_result()
          try:
            self._handler.create_database(args.database)
    - except AlreadyExistsException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except AlreadyExistsException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidObjectException, o2:
    + except InvalidObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("create_database", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("create_database", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6164,11 +6142,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_database_result()
          try:
            result.success = self._handler.get_database(args.name)
    - except NoSuchObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except NoSuchObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o2:
    + except MetaException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("get_database", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_database", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6180,13 +6167,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = drop_database_result()
          try:
            self._handler.drop_database(args.name, args.deleteData, args.cascade)
    - except NoSuchObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except NoSuchObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidOperationException, o2:
    + except InvalidOperationException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("drop_database", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("drop_database", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6198,9 +6195,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_databases_result()
          try:
            result.success = self._handler.get_databases(args.pattern)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("get_databases", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_databases", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6212,9 +6217,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_all_databases_result()
          try:
            result.success = self._handler.get_all_databases()
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("get_all_databases", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_all_databases", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6226,11 +6239,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = alter_database_result()
          try:
            self._handler.alter_database(args.dbname, args.db)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except NoSuchObjectException, o2:
    + except NoSuchObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("alter_database", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("alter_database", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6242,11 +6264,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_type_result()
          try:
            result.success = self._handler.get_type(args.name)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except NoSuchObjectException, o2:
    + except NoSuchObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("get_type", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_type", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6258,13 +6289,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = create_type_result()
          try:
            result.success = self._handler.create_type(args.type)
    - except AlreadyExistsException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except AlreadyExistsException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidObjectException, o2:
    + except InvalidObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("create_type", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("create_type", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6276,11 +6317,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = drop_type_result()
          try:
            result.success = self._handler.drop_type(args.type)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except NoSuchObjectException, o2:
    + except NoSuchObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("drop_type", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("drop_type", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6292,9 +6342,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_type_all_result()
          try:
            result.success = self._handler.get_type_all(args.name)
    - except MetaException, o2:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("get_type_all", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_type_all", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6306,13 +6364,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_fields_result()
          try:
            result.success = self._handler.get_fields(args.db_name, args.table_name)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except UnknownTableException, o2:
    + except UnknownTableException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_fields", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_fields", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6324,13 +6392,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_fields_with_environment_context_result()
          try:
            result.success = self._handler.get_fields_with_environment_context(args.db_name, args.table_name, args.environment_context)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except UnknownTableException, o2:
    + except UnknownTableException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_fields_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_fields_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6342,13 +6420,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_schema_result()
          try:
            result.success = self._handler.get_schema(args.db_name, args.table_name)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except UnknownTableException, o2:
    + except UnknownTableException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_schema", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_schema", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6360,13 +6448,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_schema_with_environment_context_result()
          try:
            result.success = self._handler.get_schema_with_environment_context(args.db_name, args.table_name, args.environment_context)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except UnknownTableException, o2:
    + except UnknownTableException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_schema_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_schema_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6378,15 +6476,26 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = create_table_result()
          try:
            self._handler.create_table(args.tbl)
    - except AlreadyExistsException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except AlreadyExistsException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidObjectException, o2:
    + except InvalidObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - except NoSuchObjectException, o4:
    + except NoSuchObjectException as o4:
    + msg_type = TMessageType.REPLY
            result.o4 = o4
    - oprot.writeMessageBegin("create_table", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("create_table", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6398,15 +6507,26 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = create_table_with_environment_context_result()
          try:
            self._handler.create_table_with_environment_context(args.tbl, args.environment_context)
    - except AlreadyExistsException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except AlreadyExistsException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidObjectException, o2:
    + except InvalidObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - except NoSuchObjectException, o4:
    + except NoSuchObjectException as o4:
    + msg_type = TMessageType.REPLY
            result.o4 = o4
    - oprot.writeMessageBegin("create_table_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("create_table_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6418,11 +6538,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = drop_table_result()
          try:
            self._handler.drop_table(args.dbname, args.name, args.deleteData)
    - except NoSuchObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except NoSuchObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("drop_table", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("drop_table", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6434,11 +6563,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = drop_table_with_environment_context_result()
          try:
            self._handler.drop_table_with_environment_context(args.dbname, args.name, args.deleteData, args.environment_context)
    - except NoSuchObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except NoSuchObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("drop_table_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("drop_table_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6450,9 +6588,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_tables_result()
          try:
            result.success = self._handler.get_tables(args.db_name, args.pattern)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("get_tables", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_tables", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6464,9 +6610,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_table_meta_result()
          try:
            result.success = self._handler.get_table_meta(args.db_patterns, args.tbl_patterns, args.tbl_types)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("get_table_meta", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_table_meta", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6478,9 +6632,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_all_tables_result()
          try:
            result.success = self._handler.get_all_tables(args.db_name)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - oprot.writeMessageBegin("get_all_tables", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_all_tables", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6492,14 +6654,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_table_result()
          try:
            result.success = self._handler.get_table(args.dbname, args.tbl_name)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except NoSuchObjectException, o2:
    + except NoSuchObjectException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("get_table", TMessageType.REPLY, seqid)
    - result.write(oprot)
    - oprot.writeMessageEnd()
    - oprot.trans.flush()
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_table", msg_type, seqid)
    + result.write(oprot)
    + oprot.writeMessageEnd()
    + oprot.trans.flush()

        def process_get_table_objects_by_name(self, seqid, iprot, oprot):
          args = get_table_objects_by_name_args()
    @@ -6508,13 +6679,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_table_objects_by_name_result()
          try:
            result.success = self._handler.get_table_objects_by_name(args.dbname, args.tbl_names)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidOperationException, o2:
    + except InvalidOperationException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_table_objects_by_name", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_table_objects_by_name", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6526,13 +6707,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = get_table_names_by_filter_result()
          try:
            result.success = self._handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables)
    - except MetaException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except MetaException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except InvalidOperationException, o2:
    + except InvalidOperationException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except UnknownDBException, o3:
    + except UnknownDBException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("get_table_names_by_filter", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("get_table_names_by_filter", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6544,11 +6735,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = alter_table_result()
          try:
            self._handler.alter_table(args.dbname, args.tbl_name, args.new_tbl)
    - except InvalidOperationException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidOperationException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o2:
    + except MetaException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("alter_table", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("alter_table", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6560,11 +6760,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = alter_table_with_environment_context_result()
          try:
            self._handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context)
    - except InvalidOperationException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidOperationException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o2:
    + except MetaException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("alter_table_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("alter_table_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6576,11 +6785,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = alter_table_with_cascade_result()
          try:
            self._handler.alter_table_with_cascade(args.dbname, args.tbl_name, args.new_tbl, args.cascade)
    - except InvalidOperationException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidOperationException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except MetaException, o2:
    + except MetaException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - oprot.writeMessageBegin("alter_table_with_cascade", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("alter_table_with_cascade", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6592,13 +6810,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = add_partition_result()
          try:
            result.success = self._handler.add_partition(args.new_part)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("add_partition", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("add_partition", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6610,13 +6838,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = add_partition_with_environment_context_result()
          try:
            result.success = self._handler.add_partition_with_environment_context(args.new_part, args.environment_context)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("add_partition_with_environment_context", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("add_partition_with_environment_context", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6628,13 +6866,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = add_partitions_result()
          try:
            result.success = self._handler.add_partitions(args.new_parts)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("add_partitions", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("add_partitions", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6646,13 +6894,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = add_partitions_pspec_result()
          try:
            result.success = self._handler.add_partitions_pspec(args.new_parts)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("add_partitions_pspec", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("add_partitions_pspec", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6664,13 +6922,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = append_partition_result()
          try:
            result.success = self._handler.append_partition(args.db_name, args.tbl_name, args.part_vals)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("append_partition", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("append_partition", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6682,13 +6950,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = add_partitions_req_result()
          try:
            result.success = self._handler.add_partitions_req(args.request)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMessageBegin("add_partitions_req", TMessageType.REPLY, seqid)
    + except Exception as ex:
    + msg_type = TMessageType.EXCEPTION
    + logging.exception(ex)
    + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    + oprot.writeMessageBegin("add_partitions_req", msg_type, seqid)
          result.write(oprot)
          oprot.writeMessageEnd()
          oprot.trans.flush()
    @@ -6700,13 +6978,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
          result = append_partition_with_environment_context_result()
          try:
            result.success = self._handler.append_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.environment_context)
    - except InvalidObjectException, o1:
    + msg_type = TMessageType.REPLY
    + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
    + raise
    + except InvalidObjectException as o1:
    + msg_type = TMessageType.REPLY
            result.o1 = o1
    - except AlreadyExistsException, o2:
    + except AlreadyExistsException as o2:
    + msg_type = TMessageType.REPLY
            result.o2 = o2
    - except MetaException, o3:
    + except MetaException as o3:
    + msg_type = TMessageType.REPLY
            result.o3 = o3
    - oprot.writeMes

    <TRUNCATED>
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
    index 28b816d..b9b7f3c 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
    index d41c5eb..037a383 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -640,7 +640,7 @@ public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLoc
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case LOCKID:
    - return Long.valueOf(getLockid());
    + return getLockid();

          case DBNAME:
            return getDbname();
    @@ -658,13 +658,13 @@ public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLoc
            return getType();

          case TXNID:
    - return Long.valueOf(getTxnid());
    + return getTxnid();

          case LASTHEARTBEAT:
    - return Long.valueOf(getLastheartbeat());
    + return getLastheartbeat();

          case ACQUIREDAT:
    - return Long.valueOf(getAcquiredat());
    + return getAcquiredat();

          case USER:
            return getUser();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
    index cf3a257..c32f50c 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
    index 20273b1..938f06b 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -748,10 +748,10 @@ public class StorageDescriptor implements org.apache.thrift.TBase<StorageDescrip
            return getOutputFormat();

          case COMPRESSED:
    - return Boolean.valueOf(isCompressed());
    + return isCompressed();

          case NUM_BUCKETS:
    - return Integer.valueOf(getNumBuckets());
    + return getNumBuckets();

          case SERDE_INFO:
            return getSerdeInfo();
    @@ -769,7 +769,7 @@ public class StorageDescriptor implements org.apache.thrift.TBase<StorageDescrip
            return getSkewedInfo();

          case STORED_AS_SUB_DIRECTORIES:
    - return Boolean.valueOf(isStoredAsSubDirectories());
    + return isStoredAsSubDirectories();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
    index 856a098..bd8a922 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -317,16 +317,16 @@ public class StringColumnStatsData implements org.apache.thrift.TBase<StringColu
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case MAX_COL_LEN:
    - return Long.valueOf(getMaxColLen());
    + return getMaxColLen();

          case AVG_COL_LEN:
    - return Double.valueOf(getAvgColLen());
    + return getAvgColLen();

          case NUM_NULLS:
    - return Long.valueOf(getNumNulls());
    + return getNumNulls();

          case NUM_DVS:
    - return Long.valueOf(getNumDVs());
    + return getNumDVs();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
    index 80a8d2f..5d683fb 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -798,13 +798,13 @@ public class Table implements org.apache.thrift.TBase<Table, Table._Fields>, jav
            return getOwner();

          case CREATE_TIME:
    - return Integer.valueOf(getCreateTime());
    + return getCreateTime();

          case LAST_ACCESS_TIME:
    - return Integer.valueOf(getLastAccessTime());
    + return getLastAccessTime();

          case RETENTION:
    - return Integer.valueOf(getRetention());
    + return getRetention();

          case SD:
            return getSd();
    @@ -828,7 +828,7 @@ public class Table implements org.apache.thrift.TBase<Table, Table._Fields>, jav
            return getPrivileges();

          case TEMPORARY:
    - return Boolean.valueOf(isTemporary());
    + return isTemporary();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
    index f9d011e..08a8e36 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
    index b1ef109..d0daee5 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
    index 1d23528..78d4250 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

      @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
    -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
    +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
      public class TableStatsResult implements org.apache.thrift.TBase<TableStatsResult, TableStatsResult._Fields>, java.io.Serializable, Cloneable, Comparable<TableStatsResult> {
        private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsResult");
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
    index 788d82c..689f646 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
    index 27d977d..47cdaf4 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -329,7 +329,7 @@ public class TxnInfo implements org.apache.thrift.TBase<TxnInfo, TxnInfo._Fields
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case ID:
    - return Long.valueOf(getId());
    + return getId();

          case STATE:
            return getState();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
    index d455229..10b5f9b 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
    index 69d6239..de59755 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
    index e9ec6f1..14cd42e 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
    index a0f254b..a5ea86f 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
    index cbb8410..538ce29 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
    index 6cbc999..95bd0dd 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
    index 22a048f..f28e808 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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

    @@ -185,7 +185,7 @@ public class UnlockRequest implements org.apache.thrift.TBase<UnlockRequest, Unl
        public Object getFieldValue(_Fields field) {
          switch (field) {
          case LOCKID:
    - return Long.valueOf(getLockid());
    + return getLockid();

          }
          throw new IllegalStateException();

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
    index f0dfa6f..12a2bce 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -34,7 +34,7 @@ import org.slf4j.Logger;
      import org.slf4j.LoggerFactory;

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


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
    index b6e0a29..5a666f2 100644
    --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
    +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
    index 2fe4590..75f4a47 100644
    --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
    +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
    @@ -1,7 +1,7 @@
      <?php
      namespace metastore;
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated
    @@ -533,15 +533,6 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf {
        /**
         * @param string $db_name
         * @param string $tbl_name
    - * @param string $filter
    - * @return int
    - * @throws \metastore\MetaException
    - * @throws \metastore\NoSuchObjectException
    - */
    - public function get_num_partitions_by_filter($db_name, $tbl_name, $filter);
    - /**
    - * @param string $db_name
    - * @param string $tbl_name
         * @param string[] $names
         * @return \metastore\Partition[]
         * @throws \metastore\MetaException
    @@ -4494,65 +4485,6 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas
          throw new \Exception("get_partitions_by_expr failed: unknown result");
        }

    - public function get_num_partitions_by_filter($db_name, $tbl_name, $filter)
    - {
    - $this->send_get_num_partitions_by_filter($db_name, $tbl_name, $filter);
    - return $this->recv_get_num_partitions_by_filter();
    - }
    -
    - public function send_get_num_partitions_by_filter($db_name, $tbl_name, $filter)
    - {
    - $args = new \metastore\ThriftHiveMetastore_get_num_partitions_by_filter_args();
    - $args->db_name = $db_name;
    - $args->tbl_name = $tbl_name;
    - $args->filter = $filter;
    - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
    - if ($bin_accel)
    - {
    - thrift_protocol_write_binary($this->output_, 'get_num_partitions_by_filter', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
    - }
    - else
    - {
    - $this->output_->writeMessageBegin('get_num_partitions_by_filter', TMessageType::CALL, $this->seqid_);
    - $args->write($this->output_);
    - $this->output_->writeMessageEnd();
    - $this->output_->getTransport()->flush();
    - }
    - }
    -
    - public function recv_get_num_partitions_by_filter()
    - {
    - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
    - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_num_partitions_by_filter_result', $this->input_->isStrictRead());
    - else
    - {
    - $rseqid = 0;
    - $fname = null;
    - $mtype = 0;
    -
    - $this->input_->readMessageBegin($fname, $mtype, $rseqid);
    - if ($mtype == TMessageType::EXCEPTION) {
    - $x = new TApplicationException();
    - $x->read($this->input_);
    - $this->input_->readMessageEnd();
    - throw $x;
    - }
    - $result = new \metastore\ThriftHiveMetastore_get_num_partitions_by_filter_result();
    - $result->read($this->input_);
    - $this->input_->readMessageEnd();
    - }
    - if ($result->success !== null) {
    - return $result->success;
    - }
    - if ($result->o1 !== null) {
    - throw $result->o1;
    - }
    - if ($result->o2 !== null) {
    - throw $result->o2;
    - }
    - throw new \Exception("get_num_partitions_by_filter failed: unknown result");
    - }
    -
        public function get_partitions_by_names($db_name, $tbl_name, array $names)
        {
          $this->send_get_partitions_by_names($db_name, $tbl_name, $names);
    @@ -24004,252 +23936,6 @@ class ThriftHiveMetastore_get_partitions_by_expr_result {

      }

    -class ThriftHiveMetastore_get_num_partitions_by_filter_args {
    - static $_TSPEC;
    -
    - /**
    - * @var string
    - */
    - public $db_name = null;
    - /**
    - * @var string
    - */
    - public $tbl_name = null;
    - /**
    - * @var string
    - */
    - public $filter = null;
    -
    - public function __construct($vals=null) {
    - if (!isset(self::$_TSPEC)) {
    - self::$_TSPEC = array(
    - 1 => array(
    - 'var' => 'db_name',
    - 'type' => TType::STRING,
    - ),
    - 2 => array(
    - 'var' => 'tbl_name',
    - 'type' => TType::STRING,
    - ),
    - 3 => array(
    - 'var' => 'filter',
    - 'type' => TType::STRING,
    - ),
    - );
    - }
    - if (is_array($vals)) {
    - if (isset($vals['db_name'])) {
    - $this->db_name = $vals['db_name'];
    - }
    - if (isset($vals['tbl_name'])) {
    - $this->tbl_name = $vals['tbl_name'];
    - }
    - if (isset($vals['filter'])) {
    - $this->filter = $vals['filter'];
    - }
    - }
    - }
    -
    - public function getName() {
    - return 'ThriftHiveMetastore_get_num_partitions_by_filter_args';
    - }
    -
    - public function read($input)
    - {
    - $xfer = 0;
    - $fname = null;
    - $ftype = 0;
    - $fid = 0;
    - $xfer += $input->readStructBegin($fname);
    - while (true)
    - {
    - $xfer += $input->readFieldBegin($fname, $ftype, $fid);
    - if ($ftype == TType::STOP) {
    - break;
    - }
    - switch ($fid)
    - {
    - case 1:
    - if ($ftype == TType::STRING) {
    - $xfer += $input->readString($this->db_name);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - case 2:
    - if ($ftype == TType::STRING) {
    - $xfer += $input->readString($this->tbl_name);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - case 3:
    - if ($ftype == TType::STRING) {
    - $xfer += $input->readString($this->filter);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - default:
    - $xfer += $input->skip($ftype);
    - break;
    - }
    - $xfer += $input->readFieldEnd();
    - }
    - $xfer += $input->readStructEnd();
    - return $xfer;
    - }
    -
    - public function write($output) {
    - $xfer = 0;
    - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_num_partitions_by_filter_args');
    - if ($this->db_name !== null) {
    - $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1);
    - $xfer += $output->writeString($this->db_name);
    - $xfer += $output->writeFieldEnd();
    - }
    - if ($this->tbl_name !== null) {
    - $xfer += $output->writeFieldBegin('tbl_name', TType::STRING, 2);
    - $xfer += $output->writeString($this->tbl_name);
    - $xfer += $output->writeFieldEnd();
    - }
    - if ($this->filter !== null) {
    - $xfer += $output->writeFieldBegin('filter', TType::STRING, 3);
    - $xfer += $output->writeString($this->filter);
    - $xfer += $output->writeFieldEnd();
    - }
    - $xfer += $output->writeFieldStop();
    - $xfer += $output->writeStructEnd();
    - return $xfer;
    - }
    -
    -}
    -
    -class ThriftHiveMetastore_get_num_partitions_by_filter_result {
    - static $_TSPEC;
    -
    - /**
    - * @var int
    - */
    - public $success = null;
    - /**
    - * @var \metastore\MetaException
    - */
    - public $o1 = null;
    - /**
    - * @var \metastore\NoSuchObjectException
    - */
    - public $o2 = null;
    -
    - public function __construct($vals=null) {
    - if (!isset(self::$_TSPEC)) {
    - self::$_TSPEC = array(
    - 0 => array(
    - 'var' => 'success',
    - 'type' => TType::I32,
    - ),
    - 1 => array(
    - 'var' => 'o1',
    - 'type' => TType::STRUCT,
    - 'class' => '\metastore\MetaException',
    - ),
    - 2 => array(
    - 'var' => 'o2',
    - 'type' => TType::STRUCT,
    - 'class' => '\metastore\NoSuchObjectException',
    - ),
    - );
    - }
    - if (is_array($vals)) {
    - if (isset($vals['success'])) {
    - $this->success = $vals['success'];
    - }
    - if (isset($vals['o1'])) {
    - $this->o1 = $vals['o1'];
    - }
    - if (isset($vals['o2'])) {
    - $this->o2 = $vals['o2'];
    - }
    - }
    - }
    -
    - public function getName() {
    - return 'ThriftHiveMetastore_get_num_partitions_by_filter_result';
    - }
    -
    - public function read($input)
    - {
    - $xfer = 0;
    - $fname = null;
    - $ftype = 0;
    - $fid = 0;
    - $xfer += $input->readStructBegin($fname);
    - while (true)
    - {
    - $xfer += $input->readFieldBegin($fname, $ftype, $fid);
    - if ($ftype == TType::STOP) {
    - break;
    - }
    - switch ($fid)
    - {
    - case 0:
    - if ($ftype == TType::I32) {
    - $xfer += $input->readI32($this->success);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - case 1:
    - if ($ftype == TType::STRUCT) {
    - $this->o1 = new \metastore\MetaException();
    - $xfer += $this->o1->read($input);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - case 2:
    - if ($ftype == TType::STRUCT) {
    - $this->o2 = new \metastore\NoSuchObjectException();
    - $xfer += $this->o2->read($input);
    - } else {
    - $xfer += $input->skip($ftype);
    - }
    - break;
    - default:
    - $xfer += $input->skip($ftype);
    - break;
    - }
    - $xfer += $input->readFieldEnd();
    - }
    - $xfer += $input->readStructEnd();
    - return $xfer;
    - }
    -
    - public function write($output) {
    - $xfer = 0;
    - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_num_partitions_by_filter_result');
    - if ($this->success !== null) {
    - $xfer += $output->writeFieldBegin('success', TType::I32, 0);
    - $xfer += $output->writeI32($this->success);
    - $xfer += $output->writeFieldEnd();
    - }
    - if ($this->o1 !== null) {
    - $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
    - $xfer += $this->o1->write($output);
    - $xfer += $output->writeFieldEnd();
    - }
    - if ($this->o2 !== null) {
    - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
    - $xfer += $this->o2->write($output);
    - $xfer += $output->writeFieldEnd();
    - }
    - $xfer += $output->writeFieldStop();
    - $xfer += $output->writeStructEnd();
    - return $xfer;
    - }
    -
    -}
    -
      class ThriftHiveMetastore_get_partitions_by_names_args {
        static $_TSPEC;


    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-php/metastore/Types.php
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php
    index 89e2c31..fe4c966 100644
    --- a/metastore/src/gen/thrift/gen-php/metastore/Types.php
    +++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php
    @@ -2,7 +2,7 @@
      namespace metastore;

      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
    index 216a0fa..9564ded 100755
    --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
    +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
    @@ -1,6 +1,6 @@
      #!/usr/bin/env python
      #
    -# Autogenerated by Thrift Compiler (0.9.2)
    +# Autogenerated by Thrift Compiler (0.9.3)
      #
      # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
      #
    @@ -82,7 +82,6 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
        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(' i32 get_num_partitions_by_filter(string db_name, string tbl_name, string filter)')
        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)')
    @@ -574,12 +573,6 @@ elif cmd == 'get_partitions_by_expr':
          sys.exit(1)
        pp.pprint(client.get_partitions_by_expr(eval(args[0]),))

    -elif cmd == 'get_num_partitions_by_filter':
    - if len(args) != 3:
    - print('get_num_partitions_by_filter requires 3 args')
    - sys.exit(1)
    - pp.pprint(client.get_num_partitions_by_filter(args[0],args[1],args[2],))
    -
      elif cmd == 'get_partitions_by_names':
        if len(args) != 3:
          print('get_partitions_by_names requires 3 args')
  • Amareshwari at Dec 21, 2015 at 8:50 am
    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
    index 0fee77b..383a0d2 100644
    --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
    +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
    @@ -312,11 +312,6 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf {
          printf("get_partitions_by_expr\n");
        }

    - int32_t get_num_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter) {
    - // Your implementation goes here
    - printf("get_num_partitions_by_filter\n");
    - }
    -
        void get_partitions_by_names(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & names) {
          // Your implementation goes here
          printf("get_partitions_by_names\n");

    http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
    index f61ac7d..f982bf2 100644
    --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
    +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * 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/e862ff80/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
    ----------------------------------------------------------------------
    diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
    index c95fec1..ae14bd1 100644
    --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
    +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
    @@ -1,5 +1,5 @@
      /**
    - * Autogenerated by Thrift Compiler (0.9.2)
    + * Autogenerated by Thrift Compiler (0.9.3)
       *
       * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
       * @generated