hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amareshw...@apache.org
Subject svn commit: r1165216 [2/19] - in /hive/branches/branch-0.8: ./ cli/ eclipse-templates/ ivy/ jdbc/ lib/ metastore/ metastore/src/gen/thrift/gen-cpp/ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ metastore/src/gen/thrift/gen...
Date Mon, 05 Sep 2011 09:08:20 GMT
Modified: hive/branches/branch-0.8/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.8/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp?rev=1165216&r1=1165215&r2=1165216&view=diff
==============================================================================
--- hive/branches/branch-0.8/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp (original)
+++ hive/branches/branch-0.8/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp Mon Sep  5 09:08:16 2011
@@ -1,5 +1,5 @@
 /**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  */
@@ -760,7 +760,7 @@ uint32_t ThriftHiveMetastore_get_databas
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter160;
       for (_iter160 = this->success.begin(); _iter160 != this->success.end(); ++_iter160)
       {
@@ -956,7 +956,7 @@ uint32_t ThriftHiveMetastore_get_all_dat
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter171;
       for (_iter171 = this->success.begin(); _iter171 != this->success.end(); ++_iter171)
       {
@@ -1975,7 +1975,7 @@ uint32_t ThriftHiveMetastore_get_type_al
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
     {
-      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::map<std::string, Type> ::const_iterator _iter184;
       for (_iter184 = this->success.begin(); _iter184 != this->success.end(); ++_iter184)
       {
@@ -2219,7 +2219,7 @@ uint32_t ThriftHiveMetastore_get_fields_
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<FieldSchema> ::const_iterator _iter197;
       for (_iter197 = this->success.begin(); _iter197 != this->success.end(); ++_iter197)
       {
@@ -2483,7 +2483,7 @@ uint32_t ThriftHiveMetastore_get_schema_
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<FieldSchema> ::const_iterator _iter208;
       for (_iter208 = this->success.begin(); _iter208 != this->success.end(); ++_iter208)
       {
@@ -3155,7 +3155,7 @@ uint32_t ThriftHiveMetastore_get_tables_
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter219;
       for (_iter219 = this->success.begin(); _iter219 != this->success.end(); ++_iter219)
       {
@@ -3365,7 +3365,7 @@ uint32_t ThriftHiveMetastore_get_all_tab
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter230;
       for (_iter230 = this->success.begin(); _iter230 != this->success.end(); ++_iter230)
       {
@@ -3724,7 +3724,7 @@ uint32_t ThriftHiveMetastore_get_table_o
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->tbl_names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tbl_names.size()));
     std::vector<std::string> ::const_iterator _iter241;
     for (_iter241 = this->tbl_names.begin(); _iter241 != this->tbl_names.end(); ++_iter241)
     {
@@ -3746,7 +3746,7 @@ uint32_t ThriftHiveMetastore_get_table_o
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->tbl_names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->tbl_names)).size()));
     std::vector<std::string> ::const_iterator _iter242;
     for (_iter242 = (*(this->tbl_names)).begin(); _iter242 != (*(this->tbl_names)).end(); ++_iter242)
     {
@@ -3845,7 +3845,7 @@ uint32_t ThriftHiveMetastore_get_table_o
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Table> ::const_iterator _iter248;
       for (_iter248 = this->success.begin(); _iter248 != this->success.end(); ++_iter248)
       {
@@ -4123,7 +4123,7 @@ uint32_t ThriftHiveMetastore_get_table_n
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter259;
       for (_iter259 = this->success.begin(); _iter259 != this->success.end(); ++_iter259)
       {
@@ -4707,7 +4707,7 @@ uint32_t ThriftHiveMetastore_add_partiti
   xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args");
   xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->new_parts.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->new_parts.size()));
     std::vector<Partition> ::const_iterator _iter270;
     for (_iter270 = this->new_parts.begin(); _iter270 != this->new_parts.end(); ++_iter270)
     {
@@ -4726,7 +4726,7 @@ uint32_t ThriftHiveMetastore_add_partiti
   xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs");
   xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, (*(this->new_parts)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->new_parts)).size()));
     std::vector<Partition> ::const_iterator _iter271;
     for (_iter271 = (*(this->new_parts)).begin(); _iter271 != (*(this->new_parts)).end(); ++_iter271)
     {
@@ -4975,7 +4975,7 @@ uint32_t ThriftHiveMetastore_append_part
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter277;
     for (_iter277 = this->part_vals.begin(); _iter277 != this->part_vals.end(); ++_iter277)
     {
@@ -5000,7 +5000,7 @@ uint32_t ThriftHiveMetastore_append_part
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter278;
     for (_iter278 = (*(this->part_vals)).begin(); _iter278 != (*(this->part_vals)).end(); ++_iter278)
     {
@@ -5503,7 +5503,7 @@ uint32_t ThriftHiveMetastore_drop_partit
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter284;
     for (_iter284 = this->part_vals.begin(); _iter284 != this->part_vals.end(); ++_iter284)
     {
@@ -5531,7 +5531,7 @@ uint32_t ThriftHiveMetastore_drop_partit
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter285;
     for (_iter285 = (*(this->part_vals)).begin(); _iter285 != (*(this->part_vals)).end(); ++_iter285)
     {
@@ -6003,7 +6003,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter291;
     for (_iter291 = this->part_vals.begin(); _iter291 != this->part_vals.end(); ++_iter291)
     {
@@ -6028,7 +6028,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter292;
     for (_iter292 = (*(this->part_vals)).begin(); _iter292 != (*(this->part_vals)).end(); ++_iter292)
     {
@@ -6285,7 +6285,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter303;
     for (_iter303 = this->part_vals.begin(); _iter303 != this->part_vals.end(); ++_iter303)
     {
@@ -6299,7 +6299,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
     std::vector<std::string> ::const_iterator _iter304;
     for (_iter304 = this->group_names.begin(); _iter304 != this->group_names.end(); ++_iter304)
     {
@@ -6324,7 +6324,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter305;
     for (_iter305 = (*(this->part_vals)).begin(); _iter305 != (*(this->part_vals)).end(); ++_iter305)
     {
@@ -6338,7 +6338,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
     std::vector<std::string> ::const_iterator _iter306;
     for (_iter306 = (*(this->group_names)).begin(); _iter306 != (*(this->group_names)).end(); ++_iter306)
     {
@@ -6881,7 +6881,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter312;
       for (_iter312 = this->success.begin(); _iter312 != this->success.end(); ++_iter312)
       {
@@ -7073,7 +7073,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
     std::vector<std::string> ::const_iterator _iter323;
     for (_iter323 = this->group_names.begin(); _iter323 != this->group_names.end(); ++_iter323)
     {
@@ -7104,7 +7104,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
     std::vector<std::string> ::const_iterator _iter324;
     for (_iter324 = (*(this->group_names)).begin(); _iter324 != (*(this->group_names)).end(); ++_iter324)
     {
@@ -7195,7 +7195,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter330;
       for (_iter330 = this->success.begin(); _iter330 != this->success.end(); ++_iter330)
       {
@@ -7445,7 +7445,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter341;
       for (_iter341 = this->success.begin(); _iter341 != this->success.end(); ++_iter341)
       {
@@ -7611,7 +7611,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter352;
     for (_iter352 = this->part_vals.begin(); _iter352 != this->part_vals.end(); ++_iter352)
     {
@@ -7639,7 +7639,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter353;
     for (_iter353 = (*(this->part_vals)).begin(); _iter353 != (*(this->part_vals)).end(); ++_iter353)
     {
@@ -7725,7 +7725,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter359;
       for (_iter359 = this->success.begin(); _iter359 != this->success.end(); ++_iter359)
       {
@@ -7919,7 +7919,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter375;
     for (_iter375 = this->part_vals.begin(); _iter375 != this->part_vals.end(); ++_iter375)
     {
@@ -7936,7 +7936,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
     std::vector<std::string> ::const_iterator _iter376;
     for (_iter376 = this->group_names.begin(); _iter376 != this->group_names.end(); ++_iter376)
     {
@@ -7961,7 +7961,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter377;
     for (_iter377 = (*(this->part_vals)).begin(); _iter377 != (*(this->part_vals)).end(); ++_iter377)
     {
@@ -7978,7 +7978,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
     std::vector<std::string> ::const_iterator _iter378;
     for (_iter378 = (*(this->group_names)).begin(); _iter378 != (*(this->group_names)).end(); ++_iter378)
     {
@@ -8069,7 +8069,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter384;
       for (_iter384 = this->success.begin(); _iter384 != this->success.end(); ++_iter384)
       {
@@ -8247,7 +8247,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::vector<std::string> ::const_iterator _iter395;
     for (_iter395 = this->part_vals.begin(); _iter395 != this->part_vals.end(); ++_iter395)
     {
@@ -8275,7 +8275,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::vector<std::string> ::const_iterator _iter396;
     for (_iter396 = (*(this->part_vals)).begin(); _iter396 != (*(this->part_vals)).end(); ++_iter396)
     {
@@ -8361,7 +8361,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter402;
       for (_iter402 = this->success.begin(); _iter402 != this->success.end(); ++_iter402)
       {
@@ -8621,7 +8621,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter413;
       for (_iter413 = this->success.begin(); _iter413 != this->success.end(); ++_iter413)
       {
@@ -8791,7 +8791,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->names.size()));
     std::vector<std::string> ::const_iterator _iter424;
     for (_iter424 = this->names.begin(); _iter424 != this->names.end(); ++_iter424)
     {
@@ -8816,7 +8816,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->names)).size()));
     std::vector<std::string> ::const_iterator _iter425;
     for (_iter425 = (*(this->names)).begin(); _iter425 != (*(this->names)).end(); ++_iter425)
     {
@@ -8907,7 +8907,7 @@ uint32_t ThriftHiveMetastore_get_partiti
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Partition> ::const_iterator _iter431;
       for (_iter431 = this->success.begin(); _iter431 != this->success.end(); ++_iter431)
       {
@@ -9527,7 +9527,7 @@ uint32_t ThriftHiveMetastore_partition_n
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter442;
       for (_iter442 = this->success.begin(); _iter442 != this->success.end(); ++_iter442)
       {
@@ -9740,7 +9740,7 @@ uint32_t ThriftHiveMetastore_partition_n
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
     {
-      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::map<std::string, std::string> ::const_iterator _iter455;
       for (_iter455 = this->success.begin(); _iter455 != this->success.end(); ++_iter455)
       {
@@ -9915,7 +9915,7 @@ uint32_t ThriftHiveMetastore_markPartiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
   {
-    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::map<std::string, std::string> ::const_iterator _iter471;
     for (_iter471 = this->part_vals.begin(); _iter471 != this->part_vals.end(); ++_iter471)
     {
@@ -9944,7 +9944,7 @@ uint32_t ThriftHiveMetastore_markPartiti
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
   {
-    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::map<std::string, std::string> ::const_iterator _iter472;
     for (_iter472 = (*(this->part_vals)).begin(); _iter472 != (*(this->part_vals)).end(); ++_iter472)
     {
@@ -10250,7 +10250,7 @@ uint32_t ThriftHiveMetastore_isPartition
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
   {
-    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->part_vals.size());
+    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->part_vals.size()));
     std::map<std::string, std::string> ::const_iterator _iter481;
     for (_iter481 = this->part_vals.begin(); _iter481 != this->part_vals.end(); ++_iter481)
     {
@@ -10279,7 +10279,7 @@ uint32_t ThriftHiveMetastore_isPartition
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
   {
-    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+    xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->part_vals)).size()));
     std::map<std::string, std::string> ::const_iterator _iter482;
     for (_iter482 = (*(this->part_vals)).begin(); _iter482 != (*(this->part_vals)).end(); ++_iter482)
     {
@@ -11598,7 +11598,7 @@ uint32_t ThriftHiveMetastore_get_indexes
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Index> ::const_iterator _iter488;
       for (_iter488 = this->success.begin(); _iter488 != this->success.end(); ++_iter488)
       {
@@ -11848,7 +11848,7 @@ uint32_t ThriftHiveMetastore_get_index_n
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter499;
       for (_iter499 = this->success.begin(); _iter499 != this->success.end(); ++_iter499)
       {
@@ -12400,7 +12400,7 @@ uint32_t ThriftHiveMetastore_get_role_na
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
       std::vector<std::string> ::const_iterator _iter510;
       for (_iter510 = this->success.begin(); _iter510 != this->success.end(); ++_iter510)
       {
@@ -13086,7 +13086,7 @@ uint32_t ThriftHiveMetastore_list_roles_
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<Role> ::const_iterator _iter525;
       for (_iter525 = this->success.begin(); _iter525 != this->success.end(); ++_iter525)
       {
@@ -13244,7 +13244,7 @@ uint32_t ThriftHiveMetastore_get_privile
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->group_names.size()));
     std::vector<std::string> ::const_iterator _iter536;
     for (_iter536 = this->group_names.begin(); _iter536 != this->group_names.end(); ++_iter536)
     {
@@ -13269,7 +13269,7 @@ uint32_t ThriftHiveMetastore_get_privile
   xfer += oprot->writeFieldEnd();
   xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
   {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->group_names)).size()));
     std::vector<std::string> ::const_iterator _iter537;
     for (_iter537 = (*(this->group_names)).begin(); _iter537 != (*(this->group_names)).end(); ++_iter537)
     {
@@ -13560,7 +13560,7 @@ uint32_t ThriftHiveMetastore_list_privil
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
       std::vector<HiveObjectPrivilege> ::const_iterator _iter544;
       for (_iter544 = this->success.begin(); _iter544 != this->success.end(); ++_iter544)
       {
@@ -14539,8 +14539,8 @@ void ThriftHiveMetastoreClient::send_cre
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_create_database()
@@ -14562,13 +14562,11 @@ void ThriftHiveMetastoreClient::recv_cre
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("create_database") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_create_database_presult result;
   result.read(iprot_);
@@ -14603,8 +14601,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_database(Database& _return)
@@ -14626,13 +14624,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_database") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_database_presult result;
   result.success = &_return;
@@ -14671,8 +14667,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_drop_database()
@@ -14694,13 +14690,11 @@ void ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_database") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_drop_database_presult result;
   result.read(iprot_);
@@ -14735,8 +14729,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_databases(std::vector<std::string> & _return)
@@ -14758,13 +14752,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_databases") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_databases_presult result;
   result.success = &_return;
@@ -14797,8 +14789,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_all_databases(std::vector<std::string> & _return)
@@ -14820,13 +14812,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_all_databases") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_all_databases_presult result;
   result.success = &_return;
@@ -14861,8 +14851,8 @@ void ThriftHiveMetastoreClient::send_alt
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_alter_database()
@@ -14884,13 +14874,11 @@ void ThriftHiveMetastoreClient::recv_alt
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("alter_database") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_alter_database_presult result;
   result.read(iprot_);
@@ -14922,8 +14910,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_type(Type& _return)
@@ -14945,13 +14933,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_type") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_type_presult result;
   result.success = &_return;
@@ -14988,8 +14974,8 @@ void ThriftHiveMetastoreClient::send_cre
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_create_type()
@@ -15011,13 +14997,11 @@ bool ThriftHiveMetastoreClient::recv_cre
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("create_type") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_create_type_presult result;
@@ -15057,8 +15041,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_drop_type()
@@ -15080,13 +15064,11 @@ bool ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_type") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_drop_type_presult result;
@@ -15123,8 +15105,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_type_all(std::map<std::string, Type> & _return)
@@ -15146,13 +15128,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_type_all") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_type_all_presult result;
   result.success = &_return;
@@ -15187,8 +15167,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_fields(std::vector<FieldSchema> & _return)
@@ -15210,13 +15190,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_fields") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_fields_presult result;
   result.success = &_return;
@@ -15257,8 +15235,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_schema(std::vector<FieldSchema> & _return)
@@ -15280,13 +15258,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_schema") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_schema_presult result;
   result.success = &_return;
@@ -15326,8 +15302,8 @@ void ThriftHiveMetastoreClient::send_cre
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_create_table()
@@ -15349,13 +15325,11 @@ void ThriftHiveMetastoreClient::recv_cre
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("create_table") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_create_table_presult result;
   result.read(iprot_);
@@ -15395,8 +15369,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_drop_table()
@@ -15418,13 +15392,11 @@ void ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_table") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_drop_table_presult result;
   result.read(iprot_);
@@ -15457,8 +15429,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_tables(std::vector<std::string> & _return)
@@ -15480,13 +15452,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_tables") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_tables_presult result;
   result.success = &_return;
@@ -15520,8 +15490,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_all_tables(std::vector<std::string> & _return)
@@ -15543,13 +15513,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_all_tables") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_all_tables_presult result;
   result.success = &_return;
@@ -15584,8 +15552,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_table(Table& _return)
@@ -15607,13 +15575,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_table") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_table_presult result;
   result.success = &_return;
@@ -15651,8 +15617,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_table_objects_by_name(std::vector<Table> & _return)
@@ -15674,13 +15640,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_table_objects_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_table_objects_by_name_presult result;
   result.success = &_return;
@@ -15722,8 +15686,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_table_names_by_filter(std::vector<std::string> & _return)
@@ -15745,13 +15709,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_table_names_by_filter") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_table_names_by_filter_presult result;
   result.success = &_return;
@@ -15793,8 +15755,8 @@ void ThriftHiveMetastoreClient::send_alt
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_alter_table()
@@ -15816,13 +15778,11 @@ void ThriftHiveMetastoreClient::recv_alt
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("alter_table") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_alter_table_presult result;
   result.read(iprot_);
@@ -15854,8 +15814,8 @@ void ThriftHiveMetastoreClient::send_add
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_add_partition(Partition& _return)
@@ -15877,13 +15837,11 @@ void ThriftHiveMetastoreClient::recv_add
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("add_partition") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_add_partition_presult result;
   result.success = &_return;
@@ -15923,8 +15881,8 @@ void ThriftHiveMetastoreClient::send_add
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 int32_t ThriftHiveMetastoreClient::recv_add_partitions()
@@ -15946,13 +15904,11 @@ int32_t ThriftHiveMetastoreClient::recv_
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("add_partitions") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   int32_t _return;
   ThriftHiveMetastore_add_partitions_presult result;
@@ -15994,8 +15950,8 @@ void ThriftHiveMetastoreClient::send_app
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_append_partition(Partition& _return)
@@ -16017,13 +15973,11 @@ void ThriftHiveMetastoreClient::recv_app
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("append_partition") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_append_partition_presult result;
   result.success = &_return;
@@ -16065,8 +16019,8 @@ void ThriftHiveMetastoreClient::send_app
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_append_partition_by_name(Partition& _return)
@@ -16088,13 +16042,11 @@ void ThriftHiveMetastoreClient::recv_app
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("append_partition_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_append_partition_by_name_presult result;
   result.success = &_return;
@@ -16137,8 +16089,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_drop_partition()
@@ -16160,13 +16112,11 @@ bool ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_partition") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_drop_partition_presult result;
@@ -16206,8 +16156,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_drop_partition_by_name()
@@ -16229,13 +16179,11 @@ bool ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_partition_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_drop_partition_by_name_presult result;
@@ -16274,8 +16222,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partition(Partition& _return)
@@ -16297,13 +16245,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partition") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partition_presult result;
   result.success = &_return;
@@ -16344,8 +16290,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partition_with_auth(Partition& _return)
@@ -16367,13 +16313,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partition_with_auth") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partition_with_auth_presult result;
   result.success = &_return;
@@ -16412,8 +16356,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partition_by_name(Partition& _return)
@@ -16435,13 +16379,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partition_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partition_by_name_presult result;
   result.success = &_return;
@@ -16480,8 +16422,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions(std::vector<Partition> & _return)
@@ -16503,13 +16445,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_presult result;
   result.success = &_return;
@@ -16550,8 +16490,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions_with_auth(std::vector<Partition> & _return)
@@ -16573,13 +16513,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions_with_auth") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_with_auth_presult result;
   result.success = &_return;
@@ -16618,8 +16556,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partition_names(std::vector<std::string> & _return)
@@ -16641,13 +16579,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partition_names") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partition_names_presult result;
   result.success = &_return;
@@ -16684,8 +16620,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions_ps(std::vector<Partition> & _return)
@@ -16707,13 +16643,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions_ps") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_ps_presult result;
   result.success = &_return;
@@ -16752,8 +16686,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions_ps_with_auth(std::vector<Partition> & _return)
@@ -16775,13 +16709,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions_ps_with_auth") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_ps_with_auth_presult result;
   result.success = &_return;
@@ -16821,8 +16753,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partition_names_ps(std::vector<std::string> & _return)
@@ -16844,13 +16776,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partition_names_ps") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partition_names_ps_presult result;
   result.success = &_return;
@@ -16887,8 +16817,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions_by_filter(std::vector<Partition> & _return)
@@ -16910,13 +16840,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions_by_filter") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_by_filter_presult result;
   result.success = &_return;
@@ -16955,8 +16883,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_partitions_by_names(std::vector<Partition> & _return)
@@ -16978,13 +16906,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_partitions_by_names") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_partitions_by_names_presult result;
   result.success = &_return;
@@ -17023,8 +16949,8 @@ void ThriftHiveMetastoreClient::send_alt
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_alter_partition()
@@ -17046,13 +16972,11 @@ void ThriftHiveMetastoreClient::recv_alt
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("alter_partition") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_alter_partition_presult result;
   result.read(iprot_);
@@ -17085,8 +17009,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_config_value(std::string& _return)
@@ -17108,13 +17032,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_config_value") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_config_value_presult result;
   result.success = &_return;
@@ -17148,8 +17070,8 @@ void ThriftHiveMetastoreClient::send_par
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_partition_name_to_vals(std::vector<std::string> & _return)
@@ -17171,13 +17093,11 @@ void ThriftHiveMetastoreClient::recv_par
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("partition_name_to_vals") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_partition_name_to_vals_presult result;
   result.success = &_return;
@@ -17211,8 +17131,8 @@ void ThriftHiveMetastoreClient::send_par
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_partition_name_to_spec(std::map<std::string, std::string> & _return)
@@ -17234,13 +17154,11 @@ void ThriftHiveMetastoreClient::recv_par
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("partition_name_to_spec") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_partition_name_to_spec_presult result;
   result.success = &_return;
@@ -17277,8 +17195,8 @@ void ThriftHiveMetastoreClient::send_mar
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_markPartitionForEvent()
@@ -17300,13 +17218,11 @@ void ThriftHiveMetastoreClient::recv_mar
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("markPartitionForEvent") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_markPartitionForEvent_presult result;
   result.read(iprot_);
@@ -17353,8 +17269,8 @@ void ThriftHiveMetastoreClient::send_isP
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_isPartitionMarkedForEvent()
@@ -17376,13 +17292,11 @@ bool ThriftHiveMetastoreClient::recv_isP
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("isPartitionMarkedForEvent") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_isPartitionMarkedForEvent_presult result;
@@ -17432,8 +17346,8 @@ void ThriftHiveMetastoreClient::send_add
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_add_index(Index& _return)
@@ -17455,13 +17369,11 @@ void ThriftHiveMetastoreClient::recv_add
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("add_index") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_add_index_presult result;
   result.success = &_return;
@@ -17504,8 +17416,8 @@ void ThriftHiveMetastoreClient::send_alt
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_alter_index()
@@ -17527,13 +17439,11 @@ void ThriftHiveMetastoreClient::recv_alt
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("alter_index") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_alter_index_presult result;
   result.read(iprot_);
@@ -17568,8 +17478,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_drop_index_by_name()
@@ -17591,13 +17501,11 @@ bool ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_index_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_drop_index_by_name_presult result;
@@ -17636,8 +17544,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_index_by_name(Index& _return)
@@ -17659,13 +17567,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_index_by_name") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_index_by_name_presult result;
   result.success = &_return;
@@ -17704,8 +17610,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_indexes(std::vector<Index> & _return)
@@ -17727,13 +17633,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_indexes") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_indexes_presult result;
   result.success = &_return;
@@ -17772,8 +17676,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_index_names(std::vector<std::string> & _return)
@@ -17795,13 +17699,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_index_names") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_index_names_presult result;
   result.success = &_return;
@@ -17835,8 +17737,8 @@ void ThriftHiveMetastoreClient::send_cre
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_create_role()
@@ -17858,13 +17760,11 @@ bool ThriftHiveMetastoreClient::recv_cre
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("create_role") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_create_role_presult result;
@@ -17898,8 +17798,8 @@ void ThriftHiveMetastoreClient::send_dro
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_drop_role()
@@ -17921,13 +17821,11 @@ bool ThriftHiveMetastoreClient::recv_dro
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("drop_role") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_drop_role_presult result;
@@ -17960,8 +17858,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_role_names(std::vector<std::string> & _return)
@@ -17983,13 +17881,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_role_names") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_role_names_presult result;
   result.success = &_return;
@@ -18028,8 +17924,8 @@ void ThriftHiveMetastoreClient::send_gra
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_grant_role()
@@ -18051,13 +17947,11 @@ bool ThriftHiveMetastoreClient::recv_gra
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("grant_role") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_grant_role_presult result;
@@ -18093,8 +17987,8 @@ void ThriftHiveMetastoreClient::send_rev
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 bool ThriftHiveMetastoreClient::recv_revoke_role()
@@ -18116,13 +18010,11 @@ bool ThriftHiveMetastoreClient::recv_rev
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("revoke_role") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   bool _return;
   ThriftHiveMetastore_revoke_role_presult result;
@@ -18157,8 +18049,8 @@ void ThriftHiveMetastoreClient::send_lis
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_list_roles(std::vector<Role> & _return)
@@ -18180,13 +18072,11 @@ void ThriftHiveMetastoreClient::recv_lis
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("list_roles") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_list_roles_presult result;
   result.success = &_return;
@@ -18222,8 +18112,8 @@ void ThriftHiveMetastoreClient::send_get
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_get_privilege_set(PrincipalPrivilegeSet& _return)
@@ -18245,13 +18135,11 @@ void ThriftHiveMetastoreClient::recv_get
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
   }
   if (fname.compare("get_privilege_set") != 0) {
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();
-    throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
   }
   ThriftHiveMetastore_get_privilege_set_presult result;
   result.success = &_return;
@@ -18287,8 +18175,8 @@ void ThriftHiveMetastoreClient::send_lis
   args.write(oprot_);
 
   oprot_->writeMessageEnd();
-  oprot_->getTransport()->flush();
   oprot_->getTransport()->writeEnd();
+  oprot_->getTransport()->flush();
 }
 
 void ThriftHiveMetastoreClient::recv_list_privileges(std::vector<HiveObjectPrivilege> & _return)
@@ -18310,13 +18198,11 @@ void ThriftHiveMetastoreClient::recv_lis
     iprot_->skip(::apache::thrift::protocol::T_STRUCT);
     iprot_->readMessageEnd();
     iprot_->getTransport()->readEnd();

[... 3828 lines stripped ...]


Mime
View raw message