diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index f8e715d96e..06efd02253 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -3190,17 +3190,11 @@ private static void populateLlapDaemonVarsSet(Set llapDaemonVarsSetLocal LLAP_ALLOCATOR_DEFRAG_HEADROOM("hive.llap.io.allocator.defrag.headroom", "1Mb", "How much of a headroom to leave to allow allocator more flexibility to defragment.\n" + "The allocator would further cap it to a fraction of total memory."), - LLAP_TRACK_CACHE_USAGE("hive.llap.io.track.cache.usage", true, - "Whether to tag LLAP cache contents, mapping them to Hive entities (paths for\n" + - "partitions and tables) for reporting."), LLAP_USE_LRFU("hive.llap.io.use.lrfu", true, "Whether ORC low-level cache should use LRFU cache policy instead of default (FIFO)."), - LLAP_LRFU_LAMBDA("hive.llap.io.lrfu.lambda", 0.000001f, + LLAP_LRFU_LAMBDA("hive.llap.io.lrfu.lambda", 0.01f, "Lambda for ORC low-level cache LRFU cache policy. Must be in [0, 1]. 0 makes LRFU\n" + - "behave like LFU, 1 makes it behave like LRU, values in between balance accordingly.\n" + - "The meaning of this parameter is the inverse of the number of time ticks (cache\n" + - " operations, currently) that cause the combined recency-frequency of a block in cache\n" + - " to be halved."), + "behave like LFU, 1 makes it behave like LRU, values in between balance accordingly."), LLAP_CACHE_ALLOW_SYNTHETIC_FILEID("hive.llap.cache.allow.synthetic.fileid", false, "Whether LLAP cache should use synthetic file ID if real one is not available. Systems\n" + "like HDFS, Isilon, etc. provide a unique file/inode ID. On other FSes (e.g. local\n" + diff --git a/druid-handler/src/java/org/apache/hadoop/hive/druid/security/DruidKerberosUtil.java b/druid-handler/src/java/org/apache/hadoop/hive/druid/security/DruidKerberosUtil.java index 84142afc08..e837925ccd 100644 --- a/druid-handler/src/java/org/apache/hadoop/hive/druid/security/DruidKerberosUtil.java +++ b/druid-handler/src/java/org/apache/hadoop/hive/druid/security/DruidKerberosUtil.java @@ -75,7 +75,7 @@ public static String kerberosChallenge(String server) throws AuthenticationExcep byte[] outToken = gssContext.initSecContext(inToken, 0, inToken.length); gssContext.dispose(); // Base64 encoded and stringified token for server - log.debug("Got valid challenge for host {}", serverName); + log.info("Got valid challenge for host {}", serverName); return new String(base64codec.encode(outToken), StandardCharsets.US_ASCII); } catch (GSSException | IllegalAccessException | NoSuchFieldException | ClassNotFoundException e) { @@ -96,11 +96,10 @@ public static HttpCookie getAuthCookie(CookieStore cookieStore, URI uri) boolean isSSL = uri.getScheme().equals("https"); List cookies = cookieStore.getCookies(); - for (int i = 0; i < cookies.size(); i++) { + for (HttpCookie c : cookies) { // If this is a secured cookie and the current connection is non-secured, // then, skip this cookie. We need to skip this cookie because, the cookie // replay will not be transmitted to the server. - HttpCookie c = cookies.get(i); if (c.getSecure() && !isSSL) { continue; } diff --git a/druid-handler/src/java/org/apache/hadoop/hive/druid/security/KerberosHttpClient.java b/druid-handler/src/java/org/apache/hadoop/hive/druid/security/KerberosHttpClient.java index 2855beae59..e7b3d99a3e 100644 --- a/druid-handler/src/java/org/apache/hadoop/hive/druid/security/KerberosHttpClient.java +++ b/druid-handler/src/java/org/apache/hadoop/hive/druid/security/KerberosHttpClient.java @@ -19,12 +19,15 @@ package org.apache.hadoop.hive.druid.security; import com.google.common.base.Throwables; +import com.google.common.util.concurrent.FutureCallback; +import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; import com.metamx.http.client.AbstractHttpClient; import com.metamx.http.client.HttpClient; import com.metamx.http.client.Request; import com.metamx.http.client.response.HttpResponseHandler; +import io.druid.concurrent.Execs; import org.apache.hadoop.security.UserGroupInformation; import org.jboss.netty.handler.codec.http.HttpHeaders; import org.joda.time.Duration; @@ -36,6 +39,7 @@ import java.util.Collections; import java.util.List; import java.util.Map; +import java.util.concurrent.Executor; /** * This is a slightly modified version of kerberos module borrowed from druid project @@ -48,6 +52,7 @@ protected static final org.slf4j.Logger log = LoggerFactory.getLogger(KerberosHttpClient.class); private final HttpClient delegate; private final CookieManager cookieManager; + private final Executor exec = Execs.singleThreaded("KerberosHttpClient-%s"); public KerberosHttpClient(HttpClient delegate) { @@ -88,15 +93,20 @@ public KerberosHttpClient(HttpClient delegate) if (DruidKerberosUtil.needToSendCredentials(cookieManager.getCookieStore(), uri)) { // No Cookies for requested URI, authenticate user and add authentication header - log.debug("No Auth Cookie found for URI{}. Existing Cookies{} Authenticating... ", uri, - cookieManager.getCookieStore().getCookies() + log.info( + "No Auth Cookie found for URI{}. Existing Cookies{} Authenticating... ", + uri, + cookieManager.getCookieStore().getCookies() ); // Assuming that a valid UGI with kerberos cred is created by HS2 or LLAP UserGroupInformation currentUser = UserGroupInformation.getCurrentUser(); currentUser.checkTGTAndReloginFromKeytab(); log.debug("The user credential is {}", currentUser); - String challenge = currentUser.doAs(new PrivilegedExceptionAction() { - @Override public String run() throws Exception { + String challenge = currentUser.doAs(new PrivilegedExceptionAction() + { + @Override + public String run() throws Exception + { return DruidKerberosUtil.kerberosChallenge(host); } }); @@ -106,32 +116,44 @@ public KerberosHttpClient(HttpClient delegate) } else { /* In this branch we had already a cookie that did expire therefore we need to resend a valid Kerberos challenge*/ - log.debug("Found Auth Cookie found for URI {} cookie {}", uri, - DruidKerberosUtil.getAuthCookie(cookieManager.getCookieStore(), uri).toString() - ); should_retry_on_unauthorized_response = true; } - ListenableFuture> internalFuture = delegate.go(request, new RetryIfUnauthorizedResponseHandler( - new ResponseCookieHandler(request.getUrl().toURI(), cookieManager, httpResponseHandler - )), duration + ListenableFuture> internalFuture = delegate.go( + request, + new RetryIfUnauthorizedResponseHandler(new ResponseCookieHandler( + request.getUrl().toURI(), + cookieManager, + httpResponseHandler + )), + duration ); - RetryResponseHolder responseHolder = internalFuture.get(); - - if (should_retry_on_unauthorized_response && responseHolder.shouldRetry()) { - log.debug("Preparing for Retry boolean {} and result {}, object{} ", - should_retry_on_unauthorized_response, responseHolder.shouldRetry(), responseHolder.getObj() - ); - // remove Auth cookie - DruidKerberosUtil.removeAuthCookie(cookieManager.getCookieStore(), uri); - // clear existing cookie - request.setHeader("Cookie", ""); - inner_go(request.copy(), httpResponseHandler, duration, future); - - } else { - future.set(responseHolder.getObj()); - } + /* Handle response as Futures instead of inline code to avoid boiler plate repeated code. */ + Futures.addCallback(internalFuture, new FutureCallback>() + { + @Override + public void onSuccess(RetryResponseHolder result) + { + if (should_retry_on_unauthorized_response && result.shouldRetry()) { + log.info("Preparing for Retry"); + // remove Auth cookie + DruidKerberosUtil.removeAuthCookie(cookieManager.getCookieStore(), uri); + // clear existing cookie + request.setHeader("Cookie", ""); + inner_go(request.copy(), httpResponseHandler, duration, future); + } else { + log.debug("Not retrying and returning future response"); + future.set(result.getObj()); + } + } + + @Override + public void onFailure(Throwable t) + { + future.setException(t); + } + }, exec); } catch (Throwable e) { throw Throwables.propagate(e); diff --git a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java index d64718159b..70fb1f6bf0 100644 --- a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java +++ b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java @@ -65,6 +65,9 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; import org.apache.hadoop.hive.metastore.messaging.EventMessage.EventType; import org.apache.hadoop.hive.metastore.messaging.MessageFactory; @@ -424,6 +427,35 @@ public void onInsert(InsertEvent insertEvent) throws MetaException { process(event, insertEvent); } + @Override + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.OPEN_TXN.toString(), msgFactory.buildOpenTxnMessage( + openTxnEvent.getTxnIds()) + .toString()); + process(event, openTxnEvent); + } + + @Override + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.COMMIT_TXN.toString(), msgFactory.buildCommitTxnMessage( + commitTxnEvent.getTxnId()) + .toString()); + + process(event, commitTxnEvent); + } + + @Override + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.ABORT_TXN.toString(), msgFactory.buildAbortTxnMessage( + abortTxnEvent.getTxnId()) + .toString()); + + process(event, abortTxnEvent); + } + /** * @param partSetDoneEvent * @throws MetaException diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java index e0e29652da..5459554fec 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java @@ -70,6 +70,9 @@ import org.apache.hadoop.hive.metastore.events.DropPartitionEvent; import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; import org.apache.hadoop.hive.metastore.messaging.AddPartitionMessage; import org.apache.hadoop.hive.metastore.messaging.AlterPartitionMessage; @@ -218,6 +221,18 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { public void onInsert(InsertEvent insertEvent) throws MetaException { pushEventId(EventType.INSERT, insertEvent); } + + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + pushEventId(EventType.OPEN_TXN, openTxnEvent); + } + + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + pushEventId(EventType.COMMIT_TXN, commitTxnEvent); + } + + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + pushEventId(EventType.ABORT_TXN, abortTxnEvent); + } } @SuppressWarnings("rawtypes") diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java new file mode 100644 index 0000000000..fa0ab3ccf4 --- /dev/null +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java @@ -0,0 +1,193 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hdfs.MiniDFSCluster; +import org.apache.hadoop.hive.shims.Utils; +import org.junit.rules.TestName; +import org.junit.rules.TestRule; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.junit.After; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.BeforeClass; +import org.junit.AfterClass; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; + +public class TestReplicationScenariosAcidTables { + @Rule + public final TestName testName = new TestName(); + + @Rule + public TestRule replV1BackwardCompat; + + protected static final Logger LOG = LoggerFactory.getLogger(TestReplicationScenarios.class); + private static WarehouseInstance primary, replica, replicaNonAcid; + private String primaryDbName, replicatedDbName; + + @BeforeClass + public static void classLevelSetup() throws Exception { + Configuration conf = new Configuration(); + conf.set("dfs.client.use.datanode.hostname", "true"); + conf.set("hadoop.proxyuser." + Utils.getUGI().getShortUserName() + ".hosts", "*"); + MiniDFSCluster miniDFSCluster = + new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true).build(); + HashMap overridesForHiveConf = new HashMap() {{ + put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); + put("hive.support.concurrency", "true"); + put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"); + }}; + primary = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); + replica = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); + + HashMap overridesForHiveConf1 = new HashMap() {{ + put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); + put("hive.support.concurrency", "false"); + put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager"); + }}; + replicaNonAcid = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf1); + } + + @AfterClass + public static void classLevelTearDown() throws IOException { + primary.close(); + replica.close(); + } + + @Before + public void setup() throws Throwable { + replV1BackwardCompat = primary.getReplivationV1CompatRule(new ArrayList<>()); + primaryDbName = testName.getMethodName() + "_" + +System.currentTimeMillis(); + replicatedDbName = "replicated_" + primaryDbName; + primary.run("create database " + primaryDbName); + } + + @After + public void tearDown() throws Throwable { + primary.run("drop database if exists " + primaryDbName + " cascade"); + replica.run("drop database if exists " + replicatedDbName + " cascade"); + replicaNonAcid.run("drop database if exists " + replicatedDbName + " cascade"); + } + + @Test + public void testOpenTxnEvent() throws Throwable { + String tableName = testName.getMethodName(); + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replica.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + primary.run("CREATE TABLE " + tableName + + " (key int, value int) PARTITIONED BY (load_date date) " + + "CLUSTERED BY(key) INTO 3 BUCKETS STORED AS ORC TBLPROPERTIES ('transactional'='true')") + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName) + .run("INSERT INTO " + tableName + " partition (load_date='2016-03-01') VALUES (1, 1)") + .run("select key from " + tableName) + .verifyResult("1"); + + //replica.run("SHOW TABLES LIKE '" + tableName + "'").verifyFailure(new String[] {tableName}); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName); + + // Test the idempotent behavior of Open and Commit Txn + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName); + } + + @Test + public void testAbortTxnEvent() throws Throwable { + String tableName = testName.getMethodName(); + String tableNameFail = testName.getMethodName() + "Fail"; + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replica.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + primary.run("CREATE TABLE " + tableName + + " (key int, value int) PARTITIONED BY (load_date date) " + + "CLUSTERED BY(key) INTO 3 BUCKETS STORED AS ORC TBLPROPERTIES ('transactional'='true')") + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName); + + // this should fail + primary.runFailure("CREATE TABLE " + tableNameFail + + " (key int, value int) PARTITIONED BY (load_date date) " + + "CLUSTERED BY(key) ('transactional'='true')") + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName) + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + + // Test the idempotent behavior of Abort Txn + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName) + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + } + + @Test + public void testTxnEventNonAcid() throws Throwable { + String tableName = testName.getMethodName(); + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replicaNonAcid.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + primary.run("CREATE TABLE " + tableName + + " (key int, value int) PARTITIONED BY (load_date date) " + + "CLUSTERED BY(key) INTO 3 BUCKETS STORED AS ORC TBLPROPERTIES ('transactional'='true')") + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName) + .run("INSERT INTO " + tableName + + " partition (load_date='2016-03-01') VALUES (1, 1)") + .run("select key from " + tableName) + .verifyResult("1"); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replicaNonAcid.loadFailure(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + } +} diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java index feb11915a9..3efdaff8e5 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java @@ -30,6 +30,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.MetaStoreTestUtils; +import org.apache.hadoop.hive.metastore.txn.TxnDbUtil; import org.apache.hadoop.hive.ql.DriverFactory; import org.apache.hadoop.hive.ql.IDriver; import org.apache.hadoop.hive.ql.exec.repl.ReplDumpWork; @@ -122,7 +123,6 @@ private void initialize(String cmRoot, String warehouseRoot, hiveConf.setIntVar(HiveConf.ConfVars.METASTORETHRIFTCONNECTIONRETRIES, 3); hiveConf.set(HiveConf.ConfVars.PREEXECHOOKS.varname, ""); hiveConf.set(HiveConf.ConfVars.POSTEXECHOOKS.varname, ""); - hiveConf.set(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY.varname, "false"); System.setProperty(HiveConf.ConfVars.PREEXECHOOKS.varname, " "); System.setProperty(HiveConf.ConfVars.POSTEXECHOOKS.varname, " "); @@ -136,6 +136,10 @@ private void initialize(String cmRoot, String warehouseRoot, driver = DriverFactory.newDriver(hiveConf); SessionState.start(new CliSessionState(hiveConf)); client = new HiveMetaStoreClient(hiveConf); + + TxnDbUtil.cleanDb(hiveConf); + TxnDbUtil.prepDb(hiveConf); + // change the value for the next instance. ++uniqueIdentifier; } @@ -173,6 +177,11 @@ public WarehouseInstance run(String command) throws Throwable { return this; } + WarehouseInstance runFailure(String command) throws Throwable { + CommandProcessorResponse ret = driver.run(command); + return this; + } + Tuple dump(String dbName, String lastReplicationId, List withClauseOptions) throws Throwable { String dumpCommand = @@ -202,6 +211,13 @@ WarehouseInstance load(String replicatedDbName, String dumpLocation) throws Thro return this; } + WarehouseInstance loadFailure(String replicatedDbName, String dumpLocation) throws Throwable { + runFailure("EXPLAIN REPL LOAD " + replicatedDbName + " FROM '" + dumpLocation + "'"); + printOutput(); + runFailure("REPL LOAD " + replicatedDbName + " FROM '" + dumpLocation + "'"); + return this; + } + WarehouseInstance verifyResult(String data) throws IOException { verifyResults(data == null ? new String[] {} : new String[] { data }); return this; diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java index c0751a7d5c..597544f021 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java @@ -60,6 +60,7 @@ public void setup() throws Exception { TxnDbUtil.cleanDb(conf); conf.set("fs.defaultFS", fs.getUri().toString()); conf.setBoolVar(HiveConf.ConfVars.REPLCMENABLED, true); + TxnDbUtil.prepDb(conf); ms = new HiveMetaStoreClient(conf); txnHandler = TxnUtils.getTxnStore(conf); cmRootDirectory = new Path(conf.get(HiveConf.ConfVars.REPLCMDIR.varname)); diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestActivePassiveHA.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestActivePassiveHA.java index 72b2a8ce26..26acbd77b3 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestActivePassiveHA.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestActivePassiveHA.java @@ -19,17 +19,12 @@ package org.apache.hive.jdbc; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -39,7 +34,6 @@ import org.apache.curator.test.TestingServer; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.registry.impl.ZkRegistryBase; @@ -60,10 +54,8 @@ private MiniHS2 miniHS2_2 = null; private static TestingServer zkServer; private Connection hs2Conn = null; - private static String zkHANamespace = "hs2ActivePassiveHATest"; private HiveConf hiveConf1; private HiveConf hiveConf2; - private static Path kvDataFilePath; @BeforeClass public static void beforeTest() throws Exception { @@ -93,8 +85,6 @@ public void setUp() throws Exception { // Set up zookeeper dynamic service discovery configs setHAConfigs(hiveConf2); miniHS2_2 = new MiniHS2.Builder().withConf(hiveConf2).cleanupLocalDirOnStartup(false).build(); - final String dataFileDir = hiveConf1.get("test.data.files").replace('\\', '/').replace("c:", ""); - kvDataFilePath = new Path(dataFileDir, "kv1.txt"); } @After @@ -113,24 +103,26 @@ public void tearDown() throws Exception { private static void setHAConfigs(Configuration conf) { conf.setBoolean(ConfVars.HIVE_SERVER2_SUPPORT_DYNAMIC_SERVICE_DISCOVERY.varname, true); conf.set(ConfVars.HIVE_ZOOKEEPER_QUORUM.varname, zkServer.getConnectString()); + final String zkRootNamespace = "hs2test"; + conf.set(ConfVars.HIVE_SERVER2_ZOOKEEPER_NAMESPACE.varname, zkRootNamespace); conf.setBoolean(ConfVars.HIVE_SERVER2_ACTIVE_PASSIVE_HA_ENABLE.varname, true); - conf.set(ConfVars.HIVE_SERVER2_ACTIVE_PASSIVE_HA_REGISTRY_NAMESPACE.varname, zkHANamespace); conf.setTimeDuration(ConfVars.HIVE_ZOOKEEPER_CONNECTION_TIMEOUT.varname, 2, TimeUnit.SECONDS); conf.setTimeDuration(ConfVars.HIVE_ZOOKEEPER_CONNECTION_BASESLEEPTIME.varname, 100, TimeUnit.MILLISECONDS); conf.setInt(ConfVars.HIVE_ZOOKEEPER_CONNECTION_MAX_RETRIES.varname, 1); } @Test(timeout = 60000) - public void testActivePassiveHA() throws Exception { - String instanceId1 = UUID.randomUUID().toString(); - miniHS2_1.start(getConfOverlay(instanceId1)); - while (!miniHS2_1.isStarted()) { + public void testActivePassive() throws Exception { + Map confOverlay = new HashMap<>(); + hiveConf1.set(ZkRegistryBase.UNIQUE_IDENTIFIER, UUID.randomUUID().toString()); + miniHS2_1.start(confOverlay); + while(!miniHS2_1.isStarted()) { Thread.sleep(100); } - String instanceId2 = UUID.randomUUID().toString(); - miniHS2_2.start(getConfOverlay(instanceId2)); - while (!miniHS2_2.isStarted()) { + hiveConf2.set(ZkRegistryBase.UNIQUE_IDENTIFIER, UUID.randomUUID().toString()); + miniHS2_2.start(confOverlay); + while(!miniHS2_2.isStarted()) { Thread.sleep(100); } @@ -149,7 +141,7 @@ public void testActivePassiveHA() throws Exception { int port1 = Integer.parseInt(hiveConf1.get(ConfVars.HIVE_SERVER2_THRIFT_PORT.varname)); assertEquals(2, hs2Peers.getHiveServer2Instances().size()); for (HiveServer2Instance hsi : hs2Peers.getHiveServer2Instances()) { - if (hsi.getRpcPort() == port1 && hsi.getWorkerIdentity().equals(instanceId1)) { + if (hsi.getRpcPort() == port1) { assertEquals(true, hsi.isLeader()); } else { assertEquals(false, hsi.isLeader()); @@ -175,7 +167,7 @@ public void testActivePassiveHA() throws Exception { miniHS2_1.stop(); - while (!miniHS2_2.isStarted()) { + while(!miniHS2_2.isStarted()) { Thread.sleep(100); } assertEquals(true, miniHS2_2.isLeader()); @@ -208,7 +200,7 @@ public void testActivePassiveHA() throws Exception { int port2 = Integer.parseInt(hiveConf2.get(ConfVars.HIVE_SERVER2_THRIFT_PORT.varname)); assertEquals(1, hs2Peers.getHiveServer2Instances().size()); for (HiveServer2Instance hsi : hs2Peers.getHiveServer2Instances()) { - if (hsi.getRpcPort() == port2 && hsi.getWorkerIdentity().equals(instanceId2)) { + if (hsi.getRpcPort() == port2) { assertEquals(true, hsi.isLeader()); } else { assertEquals(false, hsi.isLeader()); @@ -216,10 +208,10 @@ public void testActivePassiveHA() throws Exception { } // start 1st server again - instanceId1 = UUID.randomUUID().toString(); - miniHS2_1.start(getConfOverlay(instanceId1)); + hiveConf1.set(ZkRegistryBase.UNIQUE_IDENTIFIER, UUID.randomUUID().toString()); + miniHS2_1.start(confOverlay); - while (!miniHS2_1.isStarted()) { + while(!miniHS2_1.isStarted()) { Thread.sleep(100); } assertEquals(false, miniHS2_1.isLeader()); @@ -252,7 +244,7 @@ public void testActivePassiveHA() throws Exception { port2 = Integer.parseInt(hiveConf2.get(ConfVars.HIVE_SERVER2_THRIFT_PORT.varname)); assertEquals(2, hs2Peers.getHiveServer2Instances().size()); for (HiveServer2Instance hsi : hs2Peers.getHiveServer2Instances()) { - if (hsi.getRpcPort() == port2 && hsi.getWorkerIdentity().equals(instanceId2)) { + if (hsi.getRpcPort() == port2) { assertEquals(true, hsi.isLeader()); } else { assertEquals(false, hsi.isLeader()); @@ -260,91 +252,6 @@ public void testActivePassiveHA() throws Exception { } } - @Test(timeout = 60000) - public void testConnectionActivePassiveHAServiceDiscovery() throws Exception { - String instanceId1 = UUID.randomUUID().toString(); - miniHS2_1.start(getConfOverlay(instanceId1)); - while (!miniHS2_1.isStarted()) { - Thread.sleep(100); - } - String instanceId2 = UUID.randomUUID().toString(); - Map confOverlay = getConfOverlay(instanceId2); - confOverlay.put(ConfVars.HIVE_SERVER2_TRANSPORT_MODE.varname, "http"); - confOverlay.put(ConfVars.HIVE_SERVER2_THRIFT_HTTP_PATH.varname, "clidriverTest"); - miniHS2_2.start(confOverlay); - while (!miniHS2_2.isStarted()) { - Thread.sleep(100); - } - - assertEquals(true, miniHS2_1.isLeader()); - String url = "http://localhost:" + hiveConf1.get(ConfVars.HIVE_SERVER2_WEBUI_PORT.varname) + "/leader"; - assertEquals("true", sendGet(url)); - - assertEquals(false, miniHS2_2.isLeader()); - url = "http://localhost:" + hiveConf2.get(ConfVars.HIVE_SERVER2_WEBUI_PORT.varname) + "/leader"; - assertEquals("false", sendGet(url)); - - // miniHS2_1 will be leader - String zkConnectString = zkServer.getConnectString(); - String zkJdbcUrl = miniHS2_1.getJdbcURL(); - // getAllUrls will parse zkJdbcUrl and will plugin the active HS2's host:port - String parsedUrl = HiveConnection.getAllUrls(zkJdbcUrl).get(0).getJdbcUriString(); - final String serviceDiscoveryMode = "zooKeeperHA"; - String hs2_1_directUrl = "jdbc:hive2://" + miniHS2_1.getHost() + ":" + miniHS2_1.getBinaryPort() + - "/default;serviceDiscoveryMode=" + serviceDiscoveryMode + ";zooKeeperNamespace=" + zkHANamespace + ";"; - assertTrue(zkJdbcUrl.contains(zkConnectString)); - assertEquals(hs2_1_directUrl, parsedUrl); - openConnectionAndRunQuery(zkJdbcUrl); - - // miniHS2_2 will become leader - miniHS2_1.stop(); - parsedUrl = HiveConnection.getAllUrls(zkJdbcUrl).get(0).getJdbcUriString(); - String hs2_2_directUrl = "jdbc:hive2://" + miniHS2_2.getHost() + ":" + miniHS2_2.getHttpPort() + - "/default;serviceDiscoveryMode=" + serviceDiscoveryMode + ";zooKeeperNamespace=" + zkHANamespace + ";"; - assertTrue(zkJdbcUrl.contains(zkConnectString)); - assertEquals(hs2_2_directUrl, parsedUrl); - openConnectionAndRunQuery(zkJdbcUrl); - - // miniHS2_2 will continue to be leader - instanceId1 = UUID.randomUUID().toString(); - miniHS2_1.start(getConfOverlay(instanceId1)); - parsedUrl = HiveConnection.getAllUrls(zkJdbcUrl).get(0).getJdbcUriString(); - assertTrue(zkJdbcUrl.contains(zkConnectString)); - assertEquals(hs2_2_directUrl, parsedUrl); - openConnectionAndRunQuery(zkJdbcUrl); - - // miniHS2_1 will become leader - miniHS2_2.stop(); - parsedUrl = HiveConnection.getAllUrls(zkJdbcUrl).get(0).getJdbcUriString(); - hs2_1_directUrl = "jdbc:hive2://" + miniHS2_1.getHost() + ":" + miniHS2_1.getBinaryPort() + - "/default;serviceDiscoveryMode=" + serviceDiscoveryMode + ";zooKeeperNamespace=" + zkHANamespace + ";"; - assertTrue(zkJdbcUrl.contains(zkConnectString)); - assertEquals(hs2_1_directUrl, parsedUrl); - openConnectionAndRunQuery(zkJdbcUrl); - } - - private Connection getConnection(String jdbcURL, String user) throws SQLException { - return DriverManager.getConnection(jdbcURL, user, "bar"); - } - - private void openConnectionAndRunQuery(String jdbcUrl) throws Exception { - hs2Conn = getConnection(jdbcUrl, System.getProperty("user.name")); - String tableName = "testTab1"; - Statement stmt = hs2Conn.createStatement(); - // create table - stmt.execute("DROP TABLE IF EXISTS " + tableName); - stmt.execute("CREATE TABLE " + tableName - + " (under_col INT COMMENT 'the under column', value STRING) COMMENT ' test table'"); - // load data - stmt.execute("load data local inpath '" + kvDataFilePath.toString() + "' into table " - + tableName); - ResultSet res = stmt.executeQuery("SELECT * FROM " + tableName); - assertTrue(res.next()); - assertEquals("val_238", res.getString(2)); - res.close(); - stmt.close(); - } - private String sendGet(String url) throws Exception { URL obj = new URL(url); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); @@ -358,11 +265,4 @@ private String sendGet(String url) throws Exception { in.close(); return response.toString(); } - - private Map getConfOverlay(final String instanceId) { - Map confOverlay = new HashMap<>(); - confOverlay.put("hive.server2.zookeeper.publish.configs", "true"); - confOverlay.put(ZkRegistryBase.UNIQUE_IDENTIFIER, instanceId); - return confOverlay; - } } \ No newline at end of file diff --git a/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java b/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java index e1c2dd01d8..997726ca4b 100644 --- a/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java +++ b/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java @@ -41,7 +41,6 @@ import org.apache.hadoop.hive.shims.HadoopShims.MiniDFSShim; import org.apache.hadoop.hive.shims.HadoopShims.MiniMrShim; import org.apache.hadoop.hive.shims.ShimLoader; -import org.apache.hive.jdbc.Utils; import org.apache.hive.service.Service; import org.apache.hive.service.cli.CLIServiceClient; import org.apache.hive.service.cli.SessionHandle; @@ -491,14 +490,10 @@ public String getJdbcURL(String dbName, String sessionConfExt, String hiveConfEx } String baseJdbcURL; if (isDynamicServiceDiscovery()) { - String namespace = getServerConf().getVar(HiveConf.ConfVars.HIVE_SERVER2_ZOOKEEPER_NAMESPACE); - String serviceDiscoveryMode = Utils.JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER; - if (HiveConf.getBoolVar(getServerConf(), ConfVars.HIVE_SERVER2_ACTIVE_PASSIVE_HA_ENABLE)) { - namespace = getServerConf().getVar(ConfVars.HIVE_SERVER2_ACTIVE_PASSIVE_HA_REGISTRY_NAMESPACE); - serviceDiscoveryMode = Utils.JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER_HA; - } - sessionConfExt = "serviceDiscoveryMode=" + serviceDiscoveryMode + ";zooKeeperNamespace=" - + namespace + ";" + sessionConfExt; + sessionConfExt = + "serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=" + + getServerConf().getVar(HiveConf.ConfVars.HIVE_SERVER2_ZOOKEEPER_NAMESPACE) + ";" + + sessionConfExt; baseJdbcURL = getZKBaseJdbcURL(); } else { baseJdbcURL = getBaseJdbcURL(); diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java index 30b6daf8f9..c3f9c63abd 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java @@ -149,10 +149,7 @@ */ public static List getAllUrls(String zookeeperBasedHS2Url) throws Exception { JdbcConnectionParams params = Utils.parseURL(zookeeperBasedHS2Url, new Properties()); - // if zk is disabled or if HA service discovery is enabled we return the already populated params. - // in HA mode, params is already populated with Active server host info. - if (params.getZooKeeperEnsemble() == null || - ZooKeeperHiveClientHelper.isZkHADynamicDiscoveryMode(params.getSessionVars())) { + if (params.getZooKeeperEnsemble() == null) { return Collections.singletonList(params); } return ZooKeeperHiveClientHelper.getDirectParamsList(params); @@ -233,7 +230,7 @@ public HiveConnection(String uri, Properties info) throws SQLException { LOG.warn("Failed to connect to " + connParams.getHost() + ":" + connParams.getPort()); String errMsg = null; String warnMsg = "Could not open client transport with JDBC Uri: " + jdbcUriString + ": "; - if (ZooKeeperHiveClientHelper.isZkDynamicDiscoveryMode(sessConfMap)) { + if (isZkDynamicDiscoveryMode()) { errMsg = "Could not open client transport for any of the Server URI's in ZooKeeper: "; // Try next available server in zookeeper, or retry all the servers again if retry is enabled while(!Utils.updateConnParamsFromZooKeeper(connParams) && ++numRetries < maxRetries) { @@ -767,8 +764,14 @@ private boolean isHttpTransportMode() { return false; } + private boolean isZkDynamicDiscoveryMode() { + return (sessConfMap.get(JdbcConnectionParams.SERVICE_DISCOVERY_MODE) != null) + && (JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER.equalsIgnoreCase(sessConfMap + .get(JdbcConnectionParams.SERVICE_DISCOVERY_MODE))); + } + private void logZkDiscoveryMessage(String message) { - if (ZooKeeperHiveClientHelper.isZkDynamicDiscoveryMode(sessConfMap)) { + if (isZkDynamicDiscoveryMode()) { LOG.info(message); } } diff --git a/jdbc/src/java/org/apache/hive/jdbc/Utils.java b/jdbc/src/java/org/apache/hive/jdbc/Utils.java index 6d7787da7d..9a129770b2 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/Utils.java +++ b/jdbc/src/java/org/apache/hive/jdbc/Utils.java @@ -108,13 +108,11 @@ // Don't use dynamic service discovery static final String SERVICE_DISCOVERY_MODE_NONE = "none"; // Use ZooKeeper for indirection while using dynamic service discovery - public static final String SERVICE_DISCOVERY_MODE_ZOOKEEPER = "zooKeeper"; - public static final String SERVICE_DISCOVERY_MODE_ZOOKEEPER_HA = "zooKeeperHA"; + static final String SERVICE_DISCOVERY_MODE_ZOOKEEPER = "zooKeeper"; static final String ZOOKEEPER_NAMESPACE = "zooKeeperNamespace"; // Default namespace value on ZooKeeper. // This value is used if the param "zooKeeperNamespace" is not specified in the JDBC Uri. static final String ZOOKEEPER_DEFAULT_NAMESPACE = "hiveserver2"; - static final String ZOOKEEPER_ACTIVE_PASSIVE_HA_DEFAULT_NAMESPACE = "hs2ActivePassiveHA"; static final String COOKIE_AUTH = "cookieAuth"; static final String COOKIE_AUTH_FALSE = "false"; static final String COOKIE_NAME = "cookieName"; @@ -539,7 +537,11 @@ private static String getAuthorities(String uri, JdbcConnectionParams connParams private static void configureConnParams(JdbcConnectionParams connParams) throws JdbcUriParseException, ZooKeeperHiveClientException { - if (ZooKeeperHiveClientHelper.isZkDynamicDiscoveryMode(connParams.getSessionVars())) { + String serviceDiscoveryMode = + connParams.getSessionVars().get(JdbcConnectionParams.SERVICE_DISCOVERY_MODE); + if ((serviceDiscoveryMode != null) + && (JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER + .equalsIgnoreCase(serviceDiscoveryMode))) { // Set ZooKeeper ensemble in connParams for later use connParams.setZooKeeperEnsemble(joinStringArray(connParams.getAuthorityList(), ",")); // Configure using ZooKeeper diff --git a/jdbc/src/java/org/apache/hive/jdbc/ZooKeeperHiveClientHelper.java b/jdbc/src/java/org/apache/hive/jdbc/ZooKeeperHiveClientHelper.java index 0468f7b15f..bc91f0cf5f 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/ZooKeeperHiveClientHelper.java +++ b/jdbc/src/java/org/apache/hive/jdbc/ZooKeeperHiveClientHelper.java @@ -21,69 +21,39 @@ import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; -import java.util.Map; import java.util.Random; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.commons.lang3.StringUtils; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.retry.ExponentialBackoffRetry; -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hive.jdbc.Utils.JdbcConnectionParams; -import org.apache.hive.service.server.HS2ActivePassiveHARegistry; -import org.apache.hive.service.server.HS2ActivePassiveHARegistryClient; -import org.apache.hive.service.server.HiveServer2Instance; +import org.apache.zookeeper.Watcher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.google.common.base.Joiner; - class ZooKeeperHiveClientHelper { static final Logger LOG = LoggerFactory.getLogger(ZooKeeperHiveClientHelper.class.getName()); // Pattern for key1=value1;key2=value2 private static final Pattern kvPattern = Pattern.compile("([^=;]*)=([^;]*)[;]?"); + /** + * A no-op watcher class + */ + static class DummyWatcher implements Watcher { + @Override + public void process(org.apache.zookeeper.WatchedEvent event) { + } + } private static String getZooKeeperNamespace(JdbcConnectionParams connParams) { String zooKeeperNamespace = connParams.getSessionVars().get(JdbcConnectionParams.ZOOKEEPER_NAMESPACE); if ((zooKeeperNamespace == null) || (zooKeeperNamespace.isEmpty())) { - // if active passive HA enabled, use default HA namespace - if (isZkHADynamicDiscoveryMode(connParams.getSessionVars())) { - zooKeeperNamespace = JdbcConnectionParams.ZOOKEEPER_ACTIVE_PASSIVE_HA_DEFAULT_NAMESPACE; - } else { - zooKeeperNamespace = JdbcConnectionParams.ZOOKEEPER_DEFAULT_NAMESPACE; - } + zooKeeperNamespace = JdbcConnectionParams.ZOOKEEPER_DEFAULT_NAMESPACE; } return zooKeeperNamespace; } - /** - * Returns true is only if HA service discovery mode is enabled - * - * @param sessionConf - session configuration - * @return true if serviceDiscoveryMode=zooKeeperHA is specified in JDBC URI - */ - public static boolean isZkHADynamicDiscoveryMode(Map sessionConf) { - final String discoveryMode = sessionConf.get(JdbcConnectionParams.SERVICE_DISCOVERY_MODE); - return (discoveryMode != null) && - JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER_HA.equalsIgnoreCase(discoveryMode); - } - - /** - * Returns true is any service discovery mode is enabled (HA or non-HA) - * - * @param sessionConf - session configuration - * @return true if serviceDiscoveryMode is specified in JDBC URI - */ - public static boolean isZkDynamicDiscoveryMode(Map sessionConf) { - final String discoveryMode = sessionConf.get(JdbcConnectionParams.SERVICE_DISCOVERY_MODE); - return (discoveryMode != null) - && (JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER.equalsIgnoreCase(discoveryMode) || - JdbcConnectionParams.SERVICE_DISCOVERY_MODE_ZOOKEEPER_HA.equalsIgnoreCase(discoveryMode)); - } - private static CuratorFramework getZkClient(JdbcConnectionParams connParams) throws Exception { String zooKeeperEnsemble = connParams.getZooKeeperEnsemble(); CuratorFramework zooKeeperClient = @@ -133,71 +103,20 @@ private static void updateParamsWithZKServerNode(JdbcConnectionParams connParams } static void configureConnParams(JdbcConnectionParams connParams) throws ZooKeeperHiveClientException { - if (isZkHADynamicDiscoveryMode(connParams.getSessionVars())) { - configureConnParamsHA(connParams); - } else { - CuratorFramework zooKeeperClient = null; - try { - zooKeeperClient = getZkClient(connParams); - List serverHosts = getServerHosts(connParams, zooKeeperClient); - // Now pick a server node randomly - String serverNode = serverHosts.get(new Random().nextInt(serverHosts.size())); - updateParamsWithZKServerNode(connParams, zooKeeperClient, serverNode); - } catch (Exception e) { - throw new ZooKeeperHiveClientException("Unable to read HiveServer2 configs from ZooKeeper", e); - } finally { - // Close the client connection with ZooKeeper - if (zooKeeperClient != null) { - zooKeeperClient.close(); - } - } - } - } - - private static void configureConnParamsHA(JdbcConnectionParams connParams) throws ZooKeeperHiveClientException { + CuratorFramework zooKeeperClient = null; try { - Configuration registryConf = new Configuration(); - registryConf.set(HiveConf.ConfVars.HIVE_ZOOKEEPER_QUORUM.varname, connParams.getZooKeeperEnsemble()); - registryConf.set(HiveConf.ConfVars.HIVE_SERVER2_ACTIVE_PASSIVE_HA_REGISTRY_NAMESPACE.varname, - getZooKeeperNamespace(connParams)); - HS2ActivePassiveHARegistry haRegistryClient = HS2ActivePassiveHARegistryClient.getClient(registryConf); - boolean foundLeader = false; - String maxRetriesConf = connParams.getSessionVars().get(JdbcConnectionParams.RETRIES); - final int maxRetries = StringUtils.isEmpty(maxRetriesConf) ? 5 : Integer.parseInt(maxRetriesConf); - int retries = 0; - int sleepMs = 1000; - while (!foundLeader && retries < maxRetries) { - for (HiveServer2Instance hiveServer2Instance : haRegistryClient.getAll()) { - if (hiveServer2Instance.isLeader()) { - foundLeader = true; - connParams.setHost(hiveServer2Instance.getHost()); - connParams.setPort(hiveServer2Instance.getRpcPort()); - final String mode = hiveServer2Instance.getTransportMode().equals("http") ? "http:/" + hiveServer2Instance - .getHttpEndpoint() : hiveServer2Instance.getTransportMode(); - LOG.info("Found HS2 Active Host: {} Port: {} Identity: {} Mode: {}", hiveServer2Instance.getHost(), - hiveServer2Instance.getRpcPort(), hiveServer2Instance.getWorkerIdentity(), mode); - // configurations are always published to ServiceRecord. Read/apply configs to JDBC connection params - String serverConfStr = Joiner.on(';').withKeyValueSeparator("=").join(hiveServer2Instance.getProperties()); - if (LOG.isDebugEnabled()) { - LOG.debug("Configurations applied to JDBC connection params. {}", hiveServer2Instance.getProperties()); - } - applyConfs(serverConfStr, connParams); - break; - } - } - if (!foundLeader) { - LOG.warn("Unable to connect to HS2 Active Host (No Leader Found!). Retrying after {} ms. retries: {}", - sleepMs, retries); - Thread.sleep(sleepMs); - retries++; - } - } - if (!foundLeader) { - throw new ZooKeeperHiveClientException("Unable to connect to HiveServer2 Active host (No leader found!) after" + - " " + maxRetries + " retries."); - } + zooKeeperClient = getZkClient(connParams); + List serverHosts = getServerHosts(connParams, zooKeeperClient); + // Now pick a server node randomly + String serverNode = serverHosts.get(new Random().nextInt(serverHosts.size())); + updateParamsWithZKServerNode(connParams, zooKeeperClient, serverNode); } catch (Exception e) { throw new ZooKeeperHiveClientException("Unable to read HiveServer2 configs from ZooKeeper", e); + } finally { + // Close the client connection with ZooKeeper + if (zooKeeperClient != null) { + zooKeeperClient.close(); + } } } diff --git a/llap-client/src/java/org/apache/hadoop/hive/llap/ext/LlapTaskUmbilicalExternalClient.java b/llap-client/src/java/org/apache/hadoop/hive/llap/ext/LlapTaskUmbilicalExternalClient.java index 945474f540..d97b1567ea 100644 --- a/llap-client/src/java/org/apache/hadoop/hive/llap/ext/LlapTaskUmbilicalExternalClient.java +++ b/llap-client/src/java/org/apache/hadoop/hive/llap/ext/LlapTaskUmbilicalExternalClient.java @@ -513,12 +513,11 @@ public TezHeartbeatResponse heartbeat(TezHeartbeatRequest request) throws IOExce } @Override - public void nodeHeartbeat(Text hostname, Text uniqueId, int port, TezAttemptArray aw, - BooleanArray guaranteed) throws IOException { + public void nodeHeartbeat( + Text hostname, Text uniqueId, int port, TezAttemptArray aw) throws IOException { if (LOG.isDebugEnabled()) { LOG.debug("Node heartbeat from " + hostname + ":" + port + ", " + uniqueId); } - // External client currently cannot use guaranteed. updateHeartbeatInfo(hostname.toString(), uniqueId.toString(), port, aw); // No need to propagate to this to the responder } diff --git a/llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java b/llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java index 680d9af262..e7227a87ad 100644 --- a/llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java +++ b/llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java @@ -220,9 +220,6 @@ private CuratorFramework getZookeeperClient(Configuration conf, String namespace ConfVars.HIVE_ZOOKEEPER_CONNECTION_BASESLEEPTIME, TimeUnit.MILLISECONDS); int maxRetries = HiveConf.getIntVar(conf, ConfVars.HIVE_ZOOKEEPER_CONNECTION_MAX_RETRIES); - LOG.info("Creating curator client with connectString: {} sessionTimeoutMs: {} connectionTimeoutMs: {}" + - " namespace: {} exponentialBackoff - sleepTime: {} maxRetries: {}", zkEnsemble, sessionTimeout, - connectionTimeout, namespace, baseSleepTime, maxRetries); // Create a CuratorFramework instance to be used as the ZooKeeper client // Use the zooKeeperAclProvider to create appropriate ACLs return CuratorFrameworkFactory.builder() @@ -273,12 +270,8 @@ private static String getQuorumServers(Configuration conf) { protected abstract String getZkPathUser(Configuration conf); protected final String registerServiceRecord(ServiceRecord srv) throws IOException { - return registerServiceRecord(srv, UNIQUE_ID.toString()); - } - - protected final String registerServiceRecord(ServiceRecord srv, final String uniqueId) throws IOException { // restart sensitive instance id - srv.set(UNIQUE_IDENTIFIER, uniqueId); + srv.set(UNIQUE_IDENTIFIER, UNIQUE_ID.toString()); // Create a znode under the rootNamespace parent for this instance of the server try { @@ -315,7 +308,7 @@ protected final String registerServiceRecord(ServiceRecord srv, final String uni CloseableUtils.closeQuietly(znode); throw (e instanceof IOException) ? (IOException)e : new IOException(e); } - return uniqueId; + return UNIQUE_ID.toString(); } protected final void updateServiceRecord(ServiceRecord srv) throws IOException { diff --git a/llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java b/llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java index 50c0e22837..aecaacccb4 100644 --- a/llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java +++ b/llap-common/src/java/org/apache/hadoop/hive/llap/LlapUtil.java @@ -27,8 +27,6 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.CommonConfigurationKeysPublic; import org.apache.hadoop.fs.FileSystem; -import org.apache.hadoop.fs.Path; -import org.apache.hadoop.fs.PathFilter; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.ipc.ProtobufRpcEngine; @@ -301,69 +299,4 @@ public static String humanReadableByteCount(long bytes) { LOG.info("Instantiated " + protocolClass.getSimpleName() + " at " + bindAddressVal); return server; } - - // Copied from AcidUtils so we don't have to put the code using this into ql. - // TODO: Ideally, AcidUtils class and various constants should be in common. - private static final String BASE_PREFIX = "base_", DELTA_PREFIX = "delta_", - DELETE_DELTA_PREFIX = "delete_delta_", BUCKET_PREFIX = "bucket_", - DATABASE_PATH_SUFFIX = ".db", UNION_SUDBIR_PREFIX = "HIVE_UNION_SUBDIR_"; - - public static final char DERIVED_ENTITY_PARTITION_SEPARATOR = '/'; - - public static String getDbAndTableNameForMetrics(Path path, boolean includeParts) { - String[] parts = path.toUri().getPath().toString().split(Path.SEPARATOR); - int dbIx = -1; - // Try to find the default db postfix; don't check two last components - at least there - // should be a table and file (we could also try to throw away partition/bucket/acid stuff). - for (int i = 0; i < parts.length - 2; ++i) { - if (!parts[i].endsWith(DATABASE_PATH_SUFFIX)) continue; - if (dbIx >= 0) { - dbIx = -1; // Let's not guess which one is correct. - break; - } - dbIx = i; - } - if (dbIx >= 0) { - String dbAndTable = parts[dbIx].substring( - 0, parts[dbIx].length() - 3) + "." + parts[dbIx + 1]; - if (!includeParts) return dbAndTable; - for (int i = dbIx + 2; i < parts.length; ++i) { - if (!parts[i].contains("=")) break; - dbAndTable += "/" + parts[i]; - } - return dbAndTable; - } - - // Just go from the back and throw away everything we think is wrong; skip last item, the file. - boolean isInPartFields = false; - for (int i = parts.length - 2; i >= 0; --i) { - String p = parts[i]; - boolean isPartField = p.contains("="); - if ((isInPartFields && !isPartField) || (!isPartField && !isSomeHiveDir(p))) { - dbIx = i - 1; // Assume this is the table we are at now. - break; - } - isInPartFields = isPartField; - } - // If we found something before we ran out of components, use it. - if (dbIx >= 0) { - String dbName = parts[dbIx]; - if (dbName.endsWith(DATABASE_PATH_SUFFIX)) { - dbName = dbName.substring(0, dbName.length() - 3); - } - String dbAndTable = dbName + "." + parts[dbIx + 1]; - if (!includeParts) return dbAndTable; - for (int i = dbIx + 2; i < parts.length; ++i) { - if (!parts[i].contains("=")) break; - dbAndTable += "/" + parts[i]; - } - return dbAndTable; - } - return "unknown"; - } - - private static boolean isSomeHiveDir(String p) { - return p.startsWith(BASE_PREFIX) || p.startsWith(DELTA_PREFIX) || p.startsWith(BUCKET_PREFIX) - || p.startsWith(UNION_SUDBIR_PREFIX) || p.startsWith(DELETE_DELTA_PREFIX); - } } diff --git a/llap-common/src/java/org/apache/hadoop/hive/llap/protocol/LlapTaskUmbilicalProtocol.java b/llap-common/src/java/org/apache/hadoop/hive/llap/protocol/LlapTaskUmbilicalProtocol.java index 14c8b50c6b..a2dca1b319 100644 --- a/llap-common/src/java/org/apache/hadoop/hive/llap/protocol/LlapTaskUmbilicalProtocol.java +++ b/llap-common/src/java/org/apache/hadoop/hive/llap/protocol/LlapTaskUmbilicalProtocol.java @@ -15,7 +15,6 @@ package org.apache.hadoop.hive.llap.protocol; import org.apache.hadoop.io.ArrayWritable; -import org.apache.hadoop.io.BooleanWritable; import java.io.IOException; @@ -38,12 +37,6 @@ public TezAttemptArray() { } } - public class BooleanArray extends ArrayWritable { - public BooleanArray() { - super(BooleanWritable.class); - } - } - public static final long versionID = 1L; // From Tez. Eventually changes over to the LLAP protocol and ProtocolBuffers @@ -51,8 +44,8 @@ public BooleanArray() { public TezHeartbeatResponse heartbeat(TezHeartbeatRequest request) throws IOException, TezException; - public void nodeHeartbeat(Text hostname, Text uniqueId, int port, - TezAttemptArray aw, BooleanArray guaranteed) throws IOException; + public void nodeHeartbeat( + Text hostname, Text uniqueId, int port, TezAttemptArray aw) throws IOException; public void taskKilled(TezTaskAttemptID taskAttemptId) throws IOException; diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/CacheContentsTracker.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/CacheContentsTracker.java deleted file mode 100644 index 4fbaac1db0..0000000000 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/CacheContentsTracker.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.hadoop.hive.llap.cache; - -import java.util.Iterator; -import java.util.concurrent.ConcurrentSkipListMap; - -import org.apache.hadoop.hive.llap.LlapUtil; -import org.apache.hadoop.hive.llap.cache.LowLevelCache.Priority; - -/** - * A wrapper around cache eviction policy that tracks cache contents via tags. - */ -public class CacheContentsTracker implements LowLevelCachePolicy, EvictionListener { - private static final long CLEANUP_TIME_MS = 3600 * 1000L, MIN_TIME_MS = 300 * 1000L; - - private final ConcurrentSkipListMap tagInfo = new ConcurrentSkipListMap<>(); - private EvictionListener evictionListener; - private LowLevelCachePolicy realPolicy; - private final Thread cleanupThread; - - public CacheContentsTracker(LowLevelCachePolicy realPolicy) { - this.realPolicy = realPolicy; - realPolicy.setEvictionListener(this); - this.cleanupThread = new Thread(new CleanupRunnable()); - this.cleanupThread.start(); - } - - private final class CleanupRunnable implements Runnable { - @Override - public void run() { - final long cleanupTimeNs = CLEANUP_TIME_MS * 1000000L; - long sleepTimeMs = CLEANUP_TIME_MS; - try { - while (true) { - Thread.sleep(sleepTimeMs); - long timeNs = System.nanoTime(); - long nextCleanupInNs = cleanupTimeNs; - Iterator iter = tagInfo.values().iterator(); - while (iter.hasNext()) { - TagState v = iter.next(); - synchronized (v) { - if (v.bufferCount > 0) continue; // The file is still cached. - long deltaNs = timeNs - v.emptyTimeNs; - if (deltaNs < cleanupTimeNs) { - nextCleanupInNs = Math.min(nextCleanupInNs, deltaNs); - continue; - } else { - iter.remove(); - } - } - } - sleepTimeMs = Math.max(MIN_TIME_MS, nextCleanupInNs / 1000000L); - } - } catch (InterruptedException ex) { - return; // Interrupted. - } - } - } - - private static class TagState { - public TagState(String name) { - this.name = name; - } - public final String name; - public long emptyTimeNs; - public long bufferCount, totalSize, maxCount, maxSize; - public boolean isRemoved = false; - } - - - private void reportCached(LlapCacheableBuffer buffer) { - long size = buffer.getMemoryUsage(); - TagState state; - do { - state = getTagState(buffer); - } while (!reportCached(state, size)); - state = null; - do { - state = getParentTagState(buffer); - if (state == null) break; - } while (!reportCached(state, size)); - } - - private boolean reportCached(TagState state, long size) { - synchronized (state) { - if (state.isRemoved) return false; - ++state.bufferCount; - state.totalSize += size; - state.maxSize = Math.max(state.maxSize, state.totalSize); - state.maxCount = Math.max(state.maxCount, state.bufferCount); - } - return true; - } - - private void reportRemoved(LlapCacheableBuffer buffer) { - long size = buffer.getMemoryUsage(); - TagState state; - do { - state = getTagState(buffer); - } while (!reportRemoved(state, size)); - state = null; - do { - state = getParentTagState(buffer); - if (state == null) break; - } while (!reportRemoved(state, size)); - } - - private boolean reportRemoved(TagState state, long size) { - synchronized (state) { - if (state.isRemoved) return false; - --state.bufferCount; - assert state.bufferCount >= 0; - state.totalSize -= size; - if (state.bufferCount == 0) { - state.emptyTimeNs = System.nanoTime(); - } - } - return true; - } - - private TagState getTagState(LlapCacheableBuffer buffer) { - return getTagState(buffer.getTag()); - } - - private TagState getParentTagState(LlapCacheableBuffer buffer) { - String tag = buffer.getTag(); - int ix = tag.indexOf(LlapUtil.DERIVED_ENTITY_PARTITION_SEPARATOR); - if (ix <= 0) return null; - return getTagState(tag.substring(0, ix)); - } - - private TagState getTagState(String tag) { - TagState state = tagInfo.get(tag); - if (state == null) { - state = new TagState(tag); - TagState old = tagInfo.putIfAbsent(tag, state); - state = (old == null) ? state : old; - } - return state; - } - - - @Override - public void cache(LlapCacheableBuffer buffer, Priority priority) { - realPolicy.cache(buffer, priority); - reportCached(buffer); - } - - @Override - public void notifyLock(LlapCacheableBuffer buffer) { - realPolicy.notifyLock(buffer); - } - - @Override - public void notifyUnlock(LlapCacheableBuffer buffer) { - realPolicy.notifyUnlock(buffer); - } - - @Override - public void setEvictionListener(EvictionListener listener) { - evictionListener = listener; - } - - @Override - public void setParentDebugDumper(LlapOomDebugDump dumper) { - realPolicy.setParentDebugDumper(dumper); - } - - - @Override - public long evictSomeBlocks(long memoryToReserve) { - return realPolicy.evictSomeBlocks(memoryToReserve); - } - - @Override - public String debugDumpForOom() { - return realPolicy.debugDumpForOom(); - } - - @Override - public void debugDumpShort(StringBuilder sb) { - sb.append("\nCache state: "); - for (TagState state : tagInfo.values()) { - synchronized (state) { - sb.append("\n").append(state.name).append(": ").append(state.bufferCount).append("/") - .append(state.maxCount).append(", ").append(state.totalSize).append("/") - .append(state.maxSize); - } - } - realPolicy.debugDumpShort(sb); - } - - @Override - public void notifyEvicted(LlapCacheableBuffer buffer) { - evictionListener.notifyEvicted(buffer); - reportRemoved(buffer); - } -} diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapCacheableBuffer.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapCacheableBuffer.java index f91a5d91a5..e976090c31 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapCacheableBuffer.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapCacheableBuffer.java @@ -56,7 +56,5 @@ public String toStringForCache() { + lastUpdate + " " + (isLocked() ? "!" : ".") + "]"; } - public abstract String getTag(); - protected abstract boolean isLocked(); } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapDataBuffer.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapDataBuffer.java index 405fca2d4f..266f46e124 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapDataBuffer.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapDataBuffer.java @@ -24,19 +24,9 @@ /** ORC cache uses this to store compressed length; buffer is cached uncompressed, but * the lookup is on compressed ranges, so we need to know this. */ public int declaredCachedLength = UNKNOWN_CACHED_LENGTH; - private String tag; @Override public void notifyEvicted(EvictionDispatcher evictionDispatcher) { evictionDispatcher.notifyEvicted(this); } - - public void setTag(String tag) { - this.tag = tag; - } - - @Override - public String getTag() { - return tag; - } } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCache.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCache.java index af1b699771..a6330a3b82 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCache.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCache.java @@ -58,7 +58,7 @@ DiskRangeList getFileData(Object fileKey, DiskRangeList range, long baseOffset, * the replacement chunks from cache are updated directly in the array. */ long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] chunks, - long baseOffset, Priority priority, LowLevelCacheCounters qfCounters, String tag); + long baseOffset, Priority priority, LowLevelCacheCounters qfCounters); /** Notifies the cache that a particular buffer should be removed due to eviction. */ void notifyEvicted(MemoryBuffer buffer); diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCacheImpl.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCacheImpl.java index 5e102d93de..a5494c7457 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCacheImpl.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCacheImpl.java @@ -288,7 +288,7 @@ private boolean lockBuffer(LlapDataBuffer buffer, boolean doNotifyPolicy) { @Override public long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] buffers, - long baseOffset, Priority priority, LowLevelCacheCounters qfCounters, String tag) { + long baseOffset, Priority priority, LowLevelCacheCounters qfCounters) { long[] result = null; assert buffers.length == ranges.length; FileCache> subCache = @@ -304,7 +304,6 @@ private boolean lockBuffer(LlapDataBuffer buffer, boolean doNotifyPolicy) { long offset = ranges[i].getOffset() + baseOffset; assert buffer.declaredCachedLength == LlapDataBuffer.UNKNOWN_CACHED_LENGTH; buffer.declaredCachedLength = ranges[i].getLength(); - buffer.setTag(tag); while (true) { // Overwhelmingly executes once, or maybe twice (replacing stale value). LlapDataBuffer oldVal = subCache.getCache().putIfAbsent(offset, buffer); if (oldVal == null) { diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelLrfuCachePolicy.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelLrfuCachePolicy.java index b42f76184c..2659d9e951 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelLrfuCachePolicy.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelLrfuCachePolicy.java @@ -20,7 +20,6 @@ import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.locks.ReentrantLock; - import org.apache.commons.lang.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; @@ -154,7 +153,7 @@ public void notifyUnlock(LlapCacheableBuffer buffer) { } finally { listLock.unlock(); } - // Now insert the new buffer in its place and restore heap property. + // Now insert the buffer in its place and restore heap property. buffer.indexInHeap = 0; heapifyDownUnderLock(buffer, time); } else { diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SerDeLowLevelCacheImpl.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SerDeLowLevelCacheImpl.java index cb89d12e80..08713916a6 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SerDeLowLevelCacheImpl.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SerDeLowLevelCacheImpl.java @@ -55,18 +55,10 @@ public static final class LlapSerDeDataBuffer extends LlapAllocatorBuffer { public boolean isCached = false; - private String tag; @Override public void notifyEvicted(EvictionDispatcher evictionDispatcher) { evictionDispatcher.notifyEvicted(this); } - public void setTag(String tag) { - this.tag = tag; - } - @Override - public String getTag() { - return tag; - } } private static final class StripeInfoComparator implements @@ -499,7 +491,7 @@ private boolean lockBuffer(LlapSerDeDataBuffer buffer, boolean doNotifyPolicy) { } public void putFileData(final FileData data, Priority priority, - LowLevelCacheCounters qfCounters, String tag) { + LowLevelCacheCounters qfCounters) { // TODO: buffers are accounted for at allocation time, but ideally we should report the memory // overhead from the java objects to memory manager and remove it when discarding file. if (data.stripes == null || data.stripes.isEmpty()) { @@ -529,7 +521,7 @@ public FileData apply(Void input) { } try { for (StripeData si : data.stripes) { - lockAllBuffersForPut(si, priority, tag); + lockAllBuffersForPut(si, priority); } if (data == cached) { if (LlapIoImpl.CACHE_LOGGER.isTraceEnabled()) { @@ -574,7 +566,7 @@ public FileData apply(Void input) { } } - private void lockAllBuffersForPut(StripeData si, Priority priority, String tag) { + private void lockAllBuffersForPut(StripeData si, Priority priority) { for (int i = 0; i < si.data.length; ++i) { LlapSerDeDataBuffer[][] colData = si.data[i]; if (colData == null) continue; @@ -584,7 +576,6 @@ private void lockAllBuffersForPut(StripeData si, Priority priority, String tag) for (int k = 0; k < streamData.length; ++k) { boolean canLock = lockBuffer(streamData[k], false); // false - not in cache yet assert canLock; - streamData[k].setTag(tag); cachePolicy.cache(streamData[k], priority); streamData[k].isCached = true; } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SimpleBufferManager.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SimpleBufferManager.java index a1b6caeb60..027e4149cd 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SimpleBufferManager.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cache/SimpleBufferManager.java @@ -84,8 +84,9 @@ public DiskRangeList getFileData(Object fileKey, DiskRangeList range, long baseO } @Override - public long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] chunks, - long baseOffset, Priority priority, LowLevelCacheCounters qfCounters, String tag) { + public long[] putFileData(Object fileKey, DiskRange[] ranges, + MemoryBuffer[] chunks, long baseOffset, Priority priority, + LowLevelCacheCounters qfCounters) { for (int i = 0; i < chunks.length; ++i) { LlapAllocatorBuffer buffer = (LlapAllocatorBuffer)chunks[i]; if (LlapIoImpl.LOCKING_LOGGER.isTraceEnabled()) { diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/AMReporter.java b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/AMReporter.java index 088a5f33c0..b784360b6c 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/AMReporter.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/AMReporter.java @@ -14,14 +14,18 @@ package org.apache.hadoop.hive.llap.daemon.impl; -import org.apache.hadoop.hive.llap.protocol.LlapTaskUmbilicalProtocol.BooleanArray; import org.apache.hadoop.hive.llap.protocol.LlapTaskUmbilicalProtocol.TezAttemptArray; + import java.util.ArrayList; + import java.util.List; + import java.util.HashSet; + import java.util.Set; + import javax.net.SocketFactory; import java.io.IOException; @@ -30,7 +34,6 @@ import java.util.HashMap; import java.util.Map; import java.util.concurrent.CancellationException; -import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.DelayQueue; import java.util.concurrent.Delayed; import java.util.concurrent.ExecutorService; @@ -55,7 +58,6 @@ import org.apache.hadoop.hive.llap.LlapNodeId; import org.apache.hadoop.hive.llap.daemon.QueryFailedHandler; import org.apache.hadoop.hive.llap.protocol.LlapTaskUmbilicalProtocol; -import org.apache.hadoop.io.BooleanWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.retry.RetryPolicies; import org.apache.hadoop.io.retry.RetryPolicy; @@ -192,14 +194,15 @@ public void serviceStop() { } } - public AMNodeInfo registerTask(String amLocation, int port, String umbilicalUser, + public void registerTask(String amLocation, int port, String umbilicalUser, Token jobToken, QueryIdentifier queryIdentifier, - TezTaskAttemptID attemptId, boolean isGuaranteed) { + TezTaskAttemptID attemptId) { if (LOG.isTraceEnabled()) { LOG.trace( "Registering for heartbeat: {}, queryIdentifier={}, attemptId={}", (amLocation + ":" + port), queryIdentifier, attemptId); } + AMNodeInfo amNodeInfo; // Since we don't have an explicit AM end signal yet - we're going to create // and discard AMNodeInfo instances per query. @@ -210,7 +213,7 @@ public AMNodeInfo registerTask(String amLocation, int port, String umbilicalUser amNodeInfoPerQuery = new HashMap<>(); knownAppMasters.put(queryIdentifier, amNodeInfoPerQuery); } - AMNodeInfo amNodeInfo = amNodeInfoPerQuery.get(amNodeId); + amNodeInfo = amNodeInfoPerQuery.get(amNodeId); if (amNodeInfo == null) { amNodeInfo = new AMNodeInfo(amNodeId, umbilicalUser, jobToken, queryIdentifier, retryPolicy, retryTimeout, socketFactory, conf); @@ -224,8 +227,7 @@ public AMNodeInfo registerTask(String amLocation, int port, String umbilicalUser // A single queueLookupCallable is added here. We have to make sure one instance stays // in the queue till the query completes. } - amNodeInfo.addTaskAttempt(attemptId, isGuaranteed); - return amNodeInfo; + amNodeInfo.addTaskAttempt(attemptId); } } @@ -396,22 +398,18 @@ protected Void callInternal() { if (LOG.isTraceEnabled()) { LOG.trace("Attempting to heartbeat to AM: " + amNodeInfo); } - TaskSnapshot tasks = amNodeInfo.getTasksSnapshot(); - if (tasks.attempts.isEmpty()) { + List tasks = amNodeInfo.getTasksSnapshot(); + if (tasks.isEmpty()) { return null; } try { if (LOG.isTraceEnabled()) { LOG.trace("NodeHeartbeat to: " + amNodeInfo); } - // TODO: if there are more fields perhaps there should be an array of class. TezAttemptArray aw = new TezAttemptArray(); - aw.set(tasks.attempts.toArray(new TezTaskAttemptID[tasks.attempts.size()])); - BooleanArray guaranteed = new BooleanArray(); - guaranteed.set(tasks.guaranteed.toArray(new BooleanWritable[tasks.guaranteed.size()])); - + aw.set(tasks.toArray(new TezTaskAttemptID[tasks.size()])); amNodeInfo.getUmbilical().nodeHeartbeat(new Text(nodeId.getHostname()), - new Text(daemonId.getUniqueNodeIdInCluster()), nodeId.getPort(), aw, guaranteed); + new Text(daemonId.getUniqueNodeIdInCluster()), nodeId.getPort(), aw); } catch (IOException e) { QueryIdentifier currentQueryIdentifier = amNodeInfo.getQueryIdentifier(); amNodeInfo.setAmFailed(true); @@ -457,7 +455,7 @@ private AMNodeInfo getAMNodeInfo(String amHost, int amPort, QueryIdentifier quer protected class AMNodeInfo implements Delayed { // Serves as lock for itself. - private final ConcurrentHashMap tasks = new ConcurrentHashMap<>(); + private final Set tasks = new HashSet<>(); private final String umbilicalUser; private final Token jobToken; private final Configuration conf; @@ -503,25 +501,21 @@ synchronized void stopUmbilical() { umbilical = null; } - void addTaskAttempt(TezTaskAttemptID attemptId, boolean isGuaranteed) { - Boolean oldVal = tasks.putIfAbsent(attemptId, isGuaranteed); - if (oldVal != null) { - throw new RuntimeException(attemptId + " was already registered"); - } - } - - void updateTaskAttempt(TezTaskAttemptID attemptId, boolean isGuaranteed) { - Boolean oldVal = tasks.replace(attemptId, isGuaranteed); - if (oldVal == null) { - LOG.warn("Task " + attemptId + " is no longer registered"); - tasks.remove(attemptId); + int addTaskAttempt(TezTaskAttemptID attemptId) { + synchronized (tasks) { + if (!tasks.add(attemptId)) { + throw new RuntimeException(attemptId + " was already registered"); + } + return tasks.size(); } } - void removeTaskAttempt(TezTaskAttemptID attemptId) { - Boolean oldVal = tasks.remove(attemptId); - if (oldVal == null) { - throw new RuntimeException(attemptId + " was not registered and couldn't be removed"); + int removeTaskAttempt(TezTaskAttemptID attemptId) { + synchronized (tasks) { + if (!tasks.remove(attemptId)) { + throw new RuntimeException(attemptId + " was not registered and couldn't be removed"); + } + return tasks.size(); } } @@ -541,16 +535,10 @@ boolean isDone() { return isDone.get(); } - /** - * @return A snapshot of the tasks running at this daemon from this AM. - * Doesn't have to be consistent between multiple tasks; whether some task makes it into - * a given heartbeat when it's about to be started/about to finish is a timing issue anyway. - */ - TaskSnapshot getTasksSnapshot() { - TaskSnapshot result = new TaskSnapshot(tasks.size()); - for (Map.Entry e : tasks.entrySet()) { - result.attempts.add(e.getKey()); - result.guaranteed.add(new BooleanWritable(e.getValue())); + List getTasksSnapshot() { + List result = new ArrayList<>(); + synchronized (tasks) { + result.addAll(tasks); } return result; } @@ -591,14 +579,4 @@ private int getTaskCount() { } } } - - - private static final class TaskSnapshot { - public TaskSnapshot(int count) { - attempts = new ArrayList<>(count); - guaranteed = new ArrayList<>(count); - } - public final List attempts; - public final List guaranteed; - } } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java index b484a13e48..75d8577d6a 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java @@ -32,7 +32,6 @@ import org.apache.hadoop.hive.llap.daemon.HistoryLogger; import org.apache.hadoop.hive.llap.daemon.KilledTaskHandler; import org.apache.hadoop.hive.llap.daemon.SchedulerFragmentCompletingListener; -import org.apache.hadoop.hive.llap.daemon.impl.AMReporter.AMNodeInfo; import org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo; import org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto; import org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec; @@ -131,7 +130,6 @@ private final SocketFactory socketFactory; private boolean isGuaranteed; private WmFragmentCounters wmCounters; - private final AMNodeInfo amNodeInfo; @VisibleForTesting public TaskRunnerCallable(SubmitWorkRequestProto request, QueryFragmentInfo fragmentInfo, @@ -158,11 +156,8 @@ public TaskRunnerCallable(SubmitWorkRequestProto request, QueryFragmentInfo frag this.amReporter = amReporter; // Register with the AMReporter when the callable is setup. Unregister once it starts running. if (amReporter != null && jobToken != null) { - this.amNodeInfo = amReporter.registerTask(request.getAmHost(), request.getAmPort(), - vertex.getTokenIdentifier(), jobToken, fragmentInfo.getQueryInfo().getQueryIdentifier(), - attemptId, isGuaranteed); - } else { - this.amNodeInfo = null; + this.amReporter.registerTask(request.getAmHost(), request.getAmPort(), + vertex.getTokenIdentifier(), jobToken, fragmentInfo.getQueryInfo().getQueryIdentifier(), attemptId); } this.metrics = metrics; this.requestId = taskSpec.getTaskAttemptID().toString(); @@ -616,9 +611,6 @@ public boolean isGuaranteed() { public void setIsGuaranteed(boolean isGuaranteed) { this.isGuaranteed = isGuaranteed; - if (amNodeInfo != null) { - amNodeInfo.updateTaskAttempt(taskSpec.getTaskAttemptID(), isGuaranteed); - } if (wmCounters != null) { wmCounters.changeGuaranteed(isGuaranteed); } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java index e5bc3c2bfa..5a397bed09 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java @@ -43,7 +43,6 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.llap.cache.BuddyAllocator; import org.apache.hadoop.hive.llap.cache.BufferUsageManager; -import org.apache.hadoop.hive.llap.cache.CacheContentsTracker; import org.apache.hadoop.hive.llap.cache.EvictionDispatcher; import org.apache.hadoop.hive.llap.cache.LlapDataBuffer; import org.apache.hadoop.hive.llap.cache.LlapOomDebugDump; @@ -77,7 +76,6 @@ - import com.google.common.primitives.Ints; import com.google.common.util.concurrent.ThreadFactoryBuilder; @@ -141,10 +139,6 @@ private LlapIoImpl(Configuration conf) throws IOException { int minAllocSize = (int)HiveConf.getSizeVar(conf, ConfVars.LLAP_ALLOCATOR_MIN_ALLOC); LowLevelCachePolicy cachePolicy = useLrfu ? new LowLevelLrfuCachePolicy( minAllocSize, totalMemorySize, conf) : new LowLevelFifoCachePolicy(); - boolean trackUsage = HiveConf.getBoolVar(conf, HiveConf.ConfVars.LLAP_TRACK_CACHE_USAGE); - if (trackUsage) { - cachePolicy = new CacheContentsTracker(cachePolicy); - } // Allocator uses memory manager to request memory, so create the manager next. LowLevelCacheMemoryManager memManager = new LowLevelCacheMemoryManager( totalMemorySize, cachePolicy, cacheMetrics); @@ -262,14 +256,7 @@ public DiskRangeList getFileData(Object fileKey, DiskRangeList range, @Override public long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] data, long baseOffset) { - return putFileData(fileKey, ranges, data, baseOffset, null); - } - - @Override - public long[] putFileData(Object fileKey, DiskRange[] ranges, - MemoryBuffer[] data, long baseOffset, String tag) { - return lowLevelCache.putFileData( - fileKey, ranges, data, baseOffset, Priority.NORMAL, null, tag); + return lowLevelCache.putFileData(fileKey, ranges, data, baseOffset, Priority.NORMAL, null); } @Override diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java index afb8fc51f2..89df943693 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java @@ -60,7 +60,6 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.llap.ConsumerFeedback; import org.apache.hadoop.hive.llap.DebugUtils; -import org.apache.hadoop.hive.llap.LlapUtil; import org.apache.hadoop.hive.llap.cache.BufferUsageManager; import org.apache.hadoop.hive.llap.cache.LlapDataBuffer; import org.apache.hadoop.hive.llap.cache.LowLevelCache; @@ -167,7 +166,6 @@ public void resetBeforeOffer(OrcEncodedColumnBatch t) { private EncodedReader stripeReader; private CompressionCodec codec; private Object fileKey; - private final String cacheTag; private FileSystem fs; /** @@ -208,8 +206,6 @@ public OrcEncodedDataReader(LowLevelCache lowLevelCache, BufferUsageManager buff // LlapInputFormat needs to know the file schema to decide if schema evolution is supported. orcReader = null; - cacheTag = HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_TRACK_CACHE_USAGE) - ? LlapUtil.getDbAndTableNameForMetrics(split.getPath(), true) : null; // 1. Get file metadata from cache, or create the reader and read it. // Don't cache the filesystem object for now; Tez closes it and FS cache will fix all that fs = split.getPath().getFileSystem(jobConf); @@ -272,8 +268,7 @@ protected Void performDataRead() throws IOException, InterruptedException { recordReaderTime(startTime); return null; } - counters.setDesc(QueryFragmentCounters.Desc.TABLE, - LlapUtil.getDbAndTableNameForMetrics(split.getPath(), false)); + counters.setDesc(QueryFragmentCounters.Desc.TABLE, getDbAndTableName(split.getPath())); counters.setDesc(QueryFragmentCounters.Desc.FILE, split.getPath() + (fileKey == null ? "" : " (" + fileKey + ")")); try { @@ -434,7 +429,7 @@ private void ensureDataReader() throws IOException { // Reader creation updates HDFS counters, don't do it here. DataWrapperForOrc dw = new DataWrapperForOrc(); stripeReader = orcReader.encodedReader( - fileKey, dw, dw, useObjectPools ? POOL_FACTORY : null, trace, useCodecPool, cacheTag); + fileKey, dw, dw, useObjectPools ? POOL_FACTORY : null, trace, useCodecPool); stripeReader.setTracing(LlapIoImpl.ORC_LOGGER.isTraceEnabled()); } @@ -442,6 +437,49 @@ private void recordReaderTime(long startTime) { counters.incrTimeCounter(LlapIOCounters.TOTAL_IO_TIME_NS, startTime); } + private static String getDbAndTableName(Path path) { + // Ideally, we'd get this from split; however, split doesn't contain any such thing and it's + // actually pretty hard to get cause even split generator only uses paths. We only need this + // for metrics; therefore, brace for BLACK MAGIC! + String[] parts = path.toUri().getPath().toString().split(Path.SEPARATOR); + int dbIx = -1; + // Try to find the default db postfix; don't check two last components - at least there + // should be a table and file (we could also try to throw away partition/bucket/acid stuff). + for (int i = 0; i < parts.length - 2; ++i) { + if (!parts[i].endsWith(DDLTask.DATABASE_PATH_SUFFIX)) continue; + if (dbIx >= 0) { + dbIx = -1; // Let's not guess. + break; + } + dbIx = i; + } + if (dbIx >= 0) { + return parts[dbIx].substring(0, parts[dbIx].length() - 3) + "." + parts[dbIx + 1]; + } + + // Just go from the back and throw away everything we think is wrong; skip last item, the file. + boolean isInPartFields = false; + for (int i = parts.length - 2; i >= 0; --i) { + String p = parts[i]; + boolean isPartField = p.contains("="); + if ((isInPartFields && !isPartField) || (!isPartField && !p.startsWith(AcidUtils.BASE_PREFIX) + && !p.startsWith(AcidUtils.DELTA_PREFIX) && !p.startsWith(AcidUtils.BUCKET_PREFIX))) { + dbIx = i - 1; + break; + } + isInPartFields = isPartField; + } + // If we found something before we ran out of components, use it. + if (dbIx >= 0) { + String dbName = parts[dbIx]; + if (dbName.endsWith(DDLTask.DATABASE_PATH_SUFFIX)) { + dbName = dbName.substring(0, dbName.length() - 3); + } + return dbName + "." + parts[dbIx + 1]; + } + return "unknown"; + } + private void validateFileMetadata() throws IOException { if (fileMetadata.getCompressionKind() == CompressionKind.NONE) return; int bufferSize = fileMetadata.getCompressionBufferSize(); @@ -487,7 +525,6 @@ private void cleanupReaders() { if (rawDataReader != null && isRawDataReaderOpen) { try { rawDataReader.close(); - rawDataReader = null; } catch (IOException ex) { // Ignore. } @@ -583,7 +620,7 @@ private OrcFileMetadata getFileFooterFromCacheOrDisk() throws IOException { ensureOrcReader(); ByteBuffer tailBufferBb = orcReader.getSerializedFileFooter(); if (hasCache) { - tailBuffers = metadataCache.putFileMetadata(fileKey, tailBufferBb, cacheTag); + tailBuffers = metadataCache.putFileMetadata(fileKey, tailBufferBb); metadataCache.decRefBuffer(tailBuffers); // We don't use the cache's copy of the buffer. } FileTail ft = orcReader.getFileTail(); @@ -676,7 +713,7 @@ private OrcStripeMetadata createOrcStripeMetadataObject(int stripeIx, StripeInfo assert footerRange.next == null; // Can only happens w/zcr for a single input buffer. if (hasCache) { LlapBufferOrBuffers cacheBuf = metadataCache.putStripeTail( - stripeKey, footerRange.getData().duplicate(), cacheTag); + stripeKey, footerRange.getData().duplicate()); metadataCache.decRefBuffer(cacheBuf); // We don't use this one. } ByteBuffer bb = footerRange.getData().duplicate(); @@ -904,15 +941,9 @@ public DiskRangeList getFileData(Object fileKey, DiskRangeList range, @Override public long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] data, long baseOffset) { - return putFileData(fileKey, ranges, data, baseOffset, null); - } - - @Override - public long[] putFileData(Object fileKey, DiskRange[] ranges, - MemoryBuffer[] data, long baseOffset, String tag) { if (data != null) { return lowLevelCache.putFileData( - fileKey, ranges, data, baseOffset, Priority.NORMAL, counters, tag); + fileKey, ranges, data, baseOffset, Priority.NORMAL, counters); } else if (metadataCache != null) { metadataCache.putIncompleteCbs(fileKey, ranges, baseOffset); } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/SerDeEncodedDataReader.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/SerDeEncodedDataReader.java index 8b89ae9ad4..506146b72a 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/SerDeEncodedDataReader.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/SerDeEncodedDataReader.java @@ -45,7 +45,6 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.llap.ConsumerFeedback; import org.apache.hadoop.hive.llap.DebugUtils; -import org.apache.hadoop.hive.llap.LlapUtil; import org.apache.hadoop.hive.llap.cache.BufferUsageManager; import org.apache.hadoop.hive.llap.cache.LowLevelCache.Priority; import org.apache.hadoop.hive.llap.cache.SerDeLowLevelCacheImpl; @@ -147,7 +146,6 @@ public DiskRangeList createCacheChunk(MemoryBuffer buffer, long offset, long end private final Map parts; private final Object fileKey; - private final String cacheTag; private final FileSystem fs; private volatile boolean isStopped = false; @@ -214,8 +212,6 @@ public MemoryBuffer create() { fileKey = determineFileId(fs, split, HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_CACHE_ALLOW_SYNTHETIC_FILEID), HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_CACHE_DEFAULT_FS_FILE_ID)); - cacheTag = HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_TRACK_CACHE_USAGE) - ? LlapUtil.getDbAndTableNameForMetrics(split.getPath(), true) : null; this.sourceInputFormat = sourceInputFormat; this.sourceSerDe = sourceSerDe; this.reporter = reporter; @@ -739,7 +735,7 @@ public void cacheFileData(StripeData sd) { } FileData fd = new FileData(fileKey, encodings.length); fd.addStripe(sd); - cache.putFileData(fd, Priority.NORMAL, counters, cacheTag); + cache.putFileData(fd, Priority.NORMAL, counters); } else { lockAllBuffers(sd); } diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/MetadataCache.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/MetadataCache.java index 0184e3053f..cfb3e42d7b 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/MetadataCache.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/MetadataCache.java @@ -19,6 +19,7 @@ package org.apache.hadoop.hive.llap.io.metadata; import org.apache.hadoop.hive.common.FileUtils; + import org.apache.hadoop.hive.common.io.FileMetadataCache; import java.io.IOException; @@ -157,33 +158,22 @@ private LlapBufferOrBuffers getInternal(Object key) { @Override public LlapBufferOrBuffers putFileMetadata(Object fileKey, ByteBuffer tailBuffer) { - return putInternal(fileKey, tailBuffer, null); + return putInternal(fileKey, tailBuffer); } - @Override - public LlapBufferOrBuffers putFileMetadata(Object fileKey, ByteBuffer tailBuffer, String tag) { - return putInternal(fileKey, tailBuffer, tag); + public LlapBufferOrBuffers putStripeTail(OrcBatchKey stripeKey, ByteBuffer tailBuffer) { + return putInternal(new StripeKey(stripeKey.fileKey, stripeKey.stripeIx), tailBuffer); } - public LlapBufferOrBuffers putStripeTail( - OrcBatchKey stripeKey, ByteBuffer tailBuffer, String tag) { - return putInternal(new StripeKey(stripeKey.fileKey, stripeKey.stripeIx), tailBuffer, tag); - } @Override public LlapBufferOrBuffers putFileMetadata( Object fileKey, int length, InputStream is) throws IOException { - return putFileMetadata(fileKey, length, is, null); - } - - @Override - public LlapBufferOrBuffers putFileMetadata( - Object fileKey, int length, InputStream is, String tag) throws IOException { LlapBufferOrBuffers result = null; while (true) { // Overwhelmingly executes once, or maybe twice (replacing stale value). LlapBufferOrBuffers oldVal = metadata.get(fileKey); if (oldVal == null) { - result = wrapBbForFile(result, fileKey, length, is, tag); + result = wrapBbForFile(result, fileKey, length, is); if (!lockBuffer(result, false)) { throw new AssertionError("Cannot lock a newly created value " + result); } @@ -204,14 +194,14 @@ public LlapBufferOrBuffers putFileMetadata( @SuppressWarnings({ "rawtypes", "unchecked" }) private LlapBufferOrBuffers wrapBbForFile(LlapBufferOrBuffers result, - Object fileKey, int length, InputStream stream, String tag) throws IOException { + Object fileKey, int length, InputStream stream) throws IOException { if (result != null) return result; int maxAlloc = allocator.getMaxAllocation(); LlapMetadataBuffer[] largeBuffers = null; if (maxAlloc < length) { largeBuffers = new LlapMetadataBuffer[length / maxAlloc]; for (int i = 0; i < largeBuffers.length; ++i) { - largeBuffers[i] = new LlapMetadataBuffer(fileKey, tag); + largeBuffers[i] = new LlapMetadataBuffer(fileKey); } allocator.allocateMultiple(largeBuffers, maxAlloc, null); for (int i = 0; i < largeBuffers.length; ++i) { @@ -223,7 +213,7 @@ private LlapBufferOrBuffers wrapBbForFile(LlapBufferOrBuffers result, return new LlapMetadataBuffers(largeBuffers); } else { LlapMetadataBuffer[] smallBuffer = new LlapMetadataBuffer[1]; - smallBuffer[0] = new LlapMetadataBuffer(fileKey, tag); + smallBuffer[0] = new LlapMetadataBuffer(fileKey); allocator.allocateMultiple(smallBuffer, length, null); readIntoCacheBuffer(stream, smallSize, smallBuffer[0]); if (largeBuffers == null) { @@ -249,12 +239,12 @@ private static void readIntoCacheBuffer( bb.position(pos); } - private LlapBufferOrBuffers putInternal(T key, ByteBuffer tailBuffer, String tag) { + private LlapBufferOrBuffers putInternal(T key, ByteBuffer tailBuffer) { LlapBufferOrBuffers result = null; while (true) { // Overwhelmingly executes once, or maybe twice (replacing stale value). LlapBufferOrBuffers oldVal = metadata.get(key); if (oldVal == null) { - result = wrapBb(result, key, tailBuffer, tag); + result = wrapBb(result, key, tailBuffer); oldVal = metadata.putIfAbsent(key, result); if (oldVal == null) { cacheInPolicy(result); // Cached successfully, add to policy. @@ -312,17 +302,17 @@ public void decRefBuffer(MemoryBufferOrBuffers buffer) { } private LlapBufferOrBuffers wrapBb( - LlapBufferOrBuffers result, T key, ByteBuffer tailBuffer, String tag) { + LlapBufferOrBuffers result, T key, ByteBuffer tailBuffer) { if (result != null) return result; if (tailBuffer.remaining() <= allocator.getMaxAllocation()) { // The common case by far. - return wrapSmallBb(new LlapMetadataBuffer(key, tag), tailBuffer); + return wrapSmallBb(new LlapMetadataBuffer(key), tailBuffer); } else { int allocCount = determineAllocCount(tailBuffer); @SuppressWarnings("unchecked") LlapMetadataBuffer[] results = new LlapMetadataBuffer[allocCount]; for (int i = 0; i < allocCount; ++i) { - results[i] = new LlapMetadataBuffer(key, tag); + results[i] = new LlapMetadataBuffer(key); } wrapLargeBb(results, tailBuffer); return new LlapMetadataBuffers(results); @@ -480,11 +470,9 @@ public boolean equals(Object obj) { public final static class LlapMetadataBuffer extends LlapAllocatorBuffer implements LlapBufferOrBuffers { private final T key; - private String tag; - public LlapMetadataBuffer(T key, String tag) { + public LlapMetadataBuffer(T key) { this.key = key; - this.tag = tag; } @Override @@ -516,11 +504,6 @@ public LlapAllocatorBuffer getSingleLlapBuffer() { public LlapAllocatorBuffer[] getMultipleLlapBuffers() { return null; } - - @Override - public String getTag() { - return tag; - } } public final static class LlapMetadataBuffers implements LlapBufferOrBuffers { diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/OrcFileEstimateErrors.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/OrcFileEstimateErrors.java index 2f7fa24558..fd8839a83a 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/OrcFileEstimateErrors.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/metadata/OrcFileEstimateErrors.java @@ -121,10 +121,4 @@ public void notifyEvicted(EvictionDispatcher evictionDispatcher) { protected boolean isLocked() { return false; } - - @Override - public String getTag() { - // We don't care about these. - return "OrcEstimates"; - } } \ No newline at end of file diff --git a/llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestLowLevelCacheImpl.java b/llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestLowLevelCacheImpl.java index 2c87bc28e5..6a4b5986b7 100644 --- a/llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestLowLevelCacheImpl.java +++ b/llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestLowLevelCacheImpl.java @@ -130,9 +130,9 @@ public void debugDumpShort(StringBuilder sb) { LlapDaemonCacheMetrics.create("test", "1"), new DummyCachePolicy(), new DummyAllocator(), true, -1); // no cleanup thread final int FILE = 1; - cache.putFileData(FILE, gaps(3756206, 4261729, 7294767, 7547564), fbs(3), 0, Priority.NORMAL, null, null); - cache.putFileData(FILE, gaps(7790545, 11051556), fbs(1), 0, Priority.NORMAL, null, null); - cache.putFileData(FILE, gaps(11864971, 11912961, 13350968, 13393630), fbs(3), 0, Priority.NORMAL, null, null); + cache.putFileData(FILE, gaps(3756206, 4261729, 7294767, 7547564), fbs(3), 0, Priority.NORMAL, null); + cache.putFileData(FILE, gaps(7790545, 11051556), fbs(1), 0, Priority.NORMAL, null); + cache.putFileData(FILE, gaps(11864971, 11912961, 13350968, 13393630), fbs(3), 0, Priority.NORMAL, null); DiskRangeList dr = dr(3756206, 7313562); MutateHelper mh = new MutateHelper(dr); dr = dr.insertAfter(dr(7790545, 11051556)); @@ -149,14 +149,14 @@ public void testGetPut() { long fn1 = 1, fn2 = 2; MemoryBuffer[] fakes = new MemoryBuffer[] { fb(), fb(), fb(), fb(), fb(), fb() }; verifyRefcount(fakes, 1, 1, 1, 1, 1, 1); - assertNull(cache.putFileData(fn1, drs(1, 2), fbs(fakes, 0, 1), 0, Priority.NORMAL, null, null)); - assertNull(cache.putFileData(fn2, drs(1, 2), fbs(fakes, 2, 3), 0, Priority.NORMAL, null, null)); + assertNull(cache.putFileData(fn1, drs(1, 2), fbs(fakes, 0, 1), 0, Priority.NORMAL, null)); + assertNull(cache.putFileData(fn2, drs(1, 2), fbs(fakes, 2, 3), 0, Priority.NORMAL, null)); verifyCacheGet(cache, fn1, 1, 3, fakes[0], fakes[1]); verifyCacheGet(cache, fn2, 1, 3, fakes[2], fakes[3]); verifyCacheGet(cache, fn1, 2, 4, fakes[1], dr(3, 4)); verifyRefcount(fakes, 3, 4, 3, 3, 1, 1); MemoryBuffer[] bufsDiff = fbs(fakes, 4, 5); - long[] mask = cache.putFileData(fn1, drs(3, 1), bufsDiff, 0, Priority.NORMAL, null, null); + long[] mask = cache.putFileData(fn1, drs(3, 1), bufsDiff, 0, Priority.NORMAL, null); assertEquals(1, mask.length); assertEquals(2, mask[0]); // 2nd bit set - element 2 was already in cache. assertSame(fakes[0], bufsDiff[1]); // Should have been replaced @@ -207,7 +207,7 @@ public void testMultiMatch() { long fn = 1; MemoryBuffer[] fakes = new MemoryBuffer[] { fb(), fb() }; assertNull(cache.putFileData( - fn, new DiskRange[] { dr(2, 4), dr(6, 8) }, fakes, 0, Priority.NORMAL, null, null)); + fn, new DiskRange[] { dr(2, 4), dr(6, 8) }, fakes, 0, Priority.NORMAL, null)); verifyCacheGet(cache, fn, 1, 9, dr(1, 2), fakes[0], dr(4, 6), fakes[1], dr(8, 9)); verifyCacheGet(cache, fn, 2, 8, fakes[0], dr(4, 6), fakes[1]); verifyCacheGet(cache, fn, 1, 5, dr(1, 2), fakes[0], dr(4, 5)); @@ -226,7 +226,7 @@ public void testMultiMatchNonGranular() { long fn = 1; MemoryBuffer[] fakes = new MemoryBuffer[] { fb(), fb() }; assertNull(cache.putFileData( - fn, new DiskRange[] { dr(2, 4), dr(6, 8) }, fakes, 0, Priority.NORMAL, null, null)); + fn, new DiskRange[] { dr(2, 4), dr(6, 8) }, fakes, 0, Priority.NORMAL, null)); // We expect cache requests from the middle here verifyCacheGet(cache, fn, 3, 4, fakes[0]); verifyCacheGet(cache, fn, 3, 7, fakes[0], dr(4, 6), fakes[1]); @@ -239,8 +239,8 @@ public void testStaleValueGet() { new DummyAllocator(), true, -1); // no cleanup thread long fn1 = 1, fn2 = 2; MemoryBuffer[] fakes = new MemoryBuffer[] { fb(), fb(), fb() }; - assertNull(cache.putFileData(fn1, drs(1, 2), fbs(fakes, 0, 1), 0, Priority.NORMAL, null, null)); - assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 2), 0, Priority.NORMAL, null, null)); + assertNull(cache.putFileData(fn1, drs(1, 2), fbs(fakes, 0, 1), 0, Priority.NORMAL, null)); + assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 2), 0, Priority.NORMAL, null)); verifyCacheGet(cache, fn1, 1, 3, fakes[0], fakes[1]); verifyCacheGet(cache, fn2, 1, 2, fakes[2]); verifyRefcount(fakes, 3, 3, 3); @@ -259,15 +259,15 @@ public void testStaleValueReplace() { long fn1 = 1, fn2 = 2; MemoryBuffer[] fakes = new MemoryBuffer[] { fb(), fb(), fb(), fb(), fb(), fb(), fb(), fb(), fb() }; - assertNull(cache.putFileData(fn1, drs(1, 2, 3), fbs(fakes, 0, 1, 2), 0, Priority.NORMAL, null, null)); - assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 3), 0, Priority.NORMAL, null, null)); + assertNull(cache.putFileData(fn1, drs(1, 2, 3), fbs(fakes, 0, 1, 2), 0, Priority.NORMAL, null)); + assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 3), 0, Priority.NORMAL, null)); evict(cache, fakes[0]); evict(cache, fakes[3]); long[] mask = cache.putFileData( - fn1, drs(1, 2, 3, 4), fbs(fakes, 4, 5, 6, 7), 0, Priority.NORMAL, null, null); + fn1, drs(1, 2, 3, 4), fbs(fakes, 4, 5, 6, 7), 0, Priority.NORMAL, null); assertEquals(1, mask.length); assertEquals(6, mask[0]); // Buffers at offset 2 & 3 exist; 1 exists and is stale; 4 doesn't - assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 8), 0, Priority.NORMAL, null, null)); + assertNull(cache.putFileData(fn2, drs(1), fbs(fakes, 8), 0, Priority.NORMAL, null)); verifyCacheGet(cache, fn1, 1, 5, fakes[4], fakes[1], fakes[2], fakes[7]); } @@ -304,7 +304,7 @@ public void testCacheMetrics() { long fn = 1; MemoryBuffer[] fakes = new MemoryBuffer[]{fb(), fb(), fb()}; cache.putFileData(fn, new DiskRange[]{dr(0, 100), dr(300, 500), dr(800, 1000)}, - fakes, 0, Priority.NORMAL, null, null); + fakes, 0, Priority.NORMAL, null); assertEquals(0, metrics.getCacheRequestedBytes()); assertEquals(0, metrics.getCacheHitBytes()); list = new CreateHelper(); @@ -390,7 +390,7 @@ public Long call() { buf.setNewAllocLocation(makeFakeArenaIndex(fileIndex, offsets[j]), 0); buffers[j] = buf; } - long[] mask = cache.putFileData(fileName, ranges, buffers, 0, Priority.NORMAL, null, null); + long[] mask = cache.putFileData(fileName, ranges, buffers, 0, Priority.NORMAL, null); puts += buffers.length; long maskVal = 0; if (mask != null) { diff --git a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestAMReporter.java b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestAMReporter.java index 19f804882a..bde354649a 100644 --- a/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestAMReporter.java +++ b/llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/comparator/TestAMReporter.java @@ -69,9 +69,9 @@ public void testMultipleAM() throws InterruptedException { String umbilicalUser = "user"; QueryIdentifier queryId = new QueryIdentifier("app", 0); amReporter.registerTask(am1Location, am1Port, umbilicalUser, null, queryId, - mock(TezTaskAttemptID.class), false); + mock(TezTaskAttemptID.class)); amReporter.registerTask(am2Location, am2Port, umbilicalUser, null, queryId, - mock(TezTaskAttemptID.class), false); + mock(TezTaskAttemptID.class)); Thread.currentThread().sleep(2000); // verify both am get node heartbeat @@ -97,8 +97,7 @@ public Void answer(InvocationOnMock invocationOnMock) throws Throwable { return null; } }).when(umbilical).nodeHeartbeat(any(Text.class), any(Text.class), anyInt(), - any(LlapTaskUmbilicalProtocol.TezAttemptArray.class), - any(LlapTaskUmbilicalProtocol.BooleanArray.class)); + any(LlapTaskUmbilicalProtocol.TezAttemptArray.class)); return umbilical; } } diff --git a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskCommunicator.java b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskCommunicator.java index 5d4ce223d9..a4bd4dfd88 100644 --- a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskCommunicator.java +++ b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskCommunicator.java @@ -15,15 +15,15 @@ package org.apache.hadoop.hive.llap.tezplugins; import org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService.NodeInfo; + import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.hive.llap.registry.LlapServiceInstance; import org.apache.hadoop.io.Writable; -import org.apache.hadoop.hive.llap.protocol.LlapTaskUmbilicalProtocol.BooleanArray; + import org.apache.hadoop.hive.llap.protocol.LlapTaskUmbilicalProtocol.TezAttemptArray; import java.io.IOException; import java.nio.ByteBuffer; -import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; @@ -41,7 +41,6 @@ import com.google.protobuf.ByteString; import com.google.protobuf.Message; import com.google.protobuf.ServiceException; - import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.CommonConfigurationKeysPublic; import org.apache.hadoop.hive.conf.HiveConf; @@ -67,7 +66,6 @@ import org.apache.hadoop.hive.llap.tez.Converters; import org.apache.hadoop.hive.llap.tez.LlapProtocolClientProxy; import org.apache.hadoop.hive.llap.tezplugins.helpers.SourceStateTracker; -import org.apache.hadoop.io.BooleanWritable; import org.apache.hadoop.io.DataOutputBuffer; import org.apache.hadoop.io.Text; import org.apache.hadoop.ipc.ProtocolSignature; @@ -707,21 +705,16 @@ public void registerPingingNode(LlapNodeId nodeId) { private final AtomicLong nodeNotFoundLogTime = new AtomicLong(0); - void nodePinged(String hostname, String uniqueId, int port, - TezAttemptArray tasks, BooleanArray guaranteed) { + void nodePinged(String hostname, String uniqueId, int port, TezAttemptArray tasks) { // TODO: do we ever need the port? we could just do away with nodeId altogether. LlapNodeId nodeId = LlapNodeId.getInstance(hostname, port); registerPingingNode(nodeId); BiMap biMap = entityTracker.getContainerAttemptMapForNode(nodeId); if (biMap != null) { - HashMap attempts = new HashMap<>(); - for (int i = 0; i < tasks.get().length; ++i) { - boolean isGuaranteed = false; - if (guaranteed != null) { - isGuaranteed = ((BooleanWritable)guaranteed.get()[i]).get(); - } - attempts.put((TezTaskAttemptID)tasks.get()[i], isGuaranteed); + HashSet attempts = new HashSet<>(); + for (Writable w : tasks.get()) { + attempts.add((TezTaskAttemptID)w); } String error = ""; synchronized (biMap) { @@ -736,10 +729,8 @@ void nodePinged(String hostname, String uniqueId, int port, // However, the next heartbeat(s) should get the value eventually and mark task as alive. // Also, we prefer a missed heartbeat over a stuck query in case of discrepancy in ET. if (taskNodeId != null && taskNodeId.equals(uniqueId)) { - Boolean isGuaranteed = attempts.get(attemptId); - if (isGuaranteed != null) { - getContext().taskAlive(attemptId); - scheduler.taskInfoUpdated(attemptId, isGuaranteed.booleanValue()); + if (attempts.contains(attemptId)) { + getContext().taskAlive(entry.getValue()); } else { error += (attemptId + ", "); } @@ -844,12 +835,12 @@ public TezHeartbeatResponse heartbeat(TezHeartbeatRequest request) throws IOExce } @Override - public void nodeHeartbeat(Text hostname, Text uniqueId, int port, - TezAttemptArray aw, BooleanArray guaranteed) throws IOException { + public void nodeHeartbeat( + Text hostname, Text uniqueId, int port, TezAttemptArray aw) throws IOException { if (LOG.isDebugEnabled()) { LOG.debug("Received heartbeat from [" + hostname + ":" + port +" (" + uniqueId +")]"); } - nodePinged(hostname.toString(), uniqueId.toString(), port, aw, guaranteed); + nodePinged(hostname.toString(), uniqueId.toString(), port, aw); } @Override diff --git a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java index d536341c79..6ddecca538 100644 --- a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java +++ b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java @@ -1002,12 +1002,8 @@ public void dagComplete() { } totalGuaranteed = unusedGuaranteed = 0; - if (metrics != null) { - metrics.setDagId(null); - // We remove the tasks above without state checks so just reset all metrics to 0. - metrics.resetWmMetrics(); - } - LOG.info("DAG reset. Current knownTaskCount={}, pendingTaskCount={}, runningTaskCount={}", + LOG.info( + "DAG reset. Current knownTaskCount={}, pendingTaskCount={}, runningTaskCount={}", knownTasks.size(), pendingCount, runningCount); } finally { writeLock.unlock(); @@ -1033,16 +1029,12 @@ public void unblacklistNode(NodeId nodeId) { @Override public void allocateTask(Object task, Resource capability, String[] hosts, String[] racks, Priority priority, Object containerSignature, Object clientCookie) { - TezTaskAttemptID id = getTaskAttemptId(task); TaskInfo taskInfo = new TaskInfo(localityDelayConf, clock, task, clientCookie, priority, - capability, hosts, racks, clock.getTime(), id); - LOG.info("Received allocateRequest. task={}, priority={}, capability={}, hosts={}", - task, priority, capability, Arrays.toString(hosts)); + capability, hosts, racks, clock.getTime(), getTaskAttemptId(task)); + LOG.info("Received allocateRequest. task={}, priority={}, capability={}, hosts={}", task, + priority, capability, Arrays.toString(hosts)); writeLock.lock(); try { - if (!dagRunning && metrics != null && id != null) { - metrics.setDagId(id.getTaskID().getVertexID().getDAGId().toString()); - } dagRunning = true; dagStats.registerTaskRequest(hosts, racks); } finally { @@ -1057,16 +1049,13 @@ public void allocateTask(Object task, Resource capability, ContainerId container Priority priority, Object containerSignature, Object clientCookie) { // Container affinity can be implemented as Host affinity for LLAP. Not required until // 1:1 edges are used in Hive. - TezTaskAttemptID id = getTaskAttemptId(task); - TaskInfo taskInfo = new TaskInfo(localityDelayConf, clock, task, clientCookie, priority, - capability, null, null, clock.getTime(), id); - LOG.info("Received allocateRequest. task={}, priority={}, capability={}, containerId={}", - task, priority, capability, containerId); + TaskInfo taskInfo = + new TaskInfo(localityDelayConf, clock, task, clientCookie, priority, capability, null, + null, clock.getTime(), getTaskAttemptId(task)); + LOG.info("Received allocateRequest. task={}, priority={}, capability={}, containerId={}", task, + priority, capability, containerId); writeLock.lock(); try { - if (!dagRunning && metrics != null && id != null) { - metrics.setDagId(id.getTaskID().getVertexID().getDAGId().toString()); - } dagRunning = true; dagStats.registerTaskRequest(null, null); } finally { @@ -3023,42 +3012,5 @@ int getUnusedGuaranteedCount() { return unusedGuaranteed; } - /** - * A direct call from communicator to scheduler to propagate data that cannot be passed via Tez. - */ - public void taskInfoUpdated(TezTaskAttemptID attemptId, boolean isGuaranteed) { - TaskInfo ti = null; - writeLock.lock(); - try { - ti = tasksById.get(attemptId); - if (ti == null) { - WM_LOG.warn("Unknown task from heartbeat " + attemptId); - return; - } - } finally { - writeLock.unlock(); - } - boolean newState = false; - synchronized (ti) { - if (ti.isPendingUpdate) return; // A pending update is not done. - if (ti.isGuaranteed == null) return; // The task has terminated, out of date heartbeat. - if (ti.lastSetGuaranteed != null && ti.lastSetGuaranteed == isGuaranteed) { - return; // The heartbeat is consistent with what we have. - } - ti.lastSetGuaranteed = isGuaranteed; - if (isGuaranteed == ti.isGuaranteed) return; // Already consistent. Can happen w/null lSG. - - // There could be races here, e.g. heartbeat delivered us the old value just after we have - // received a successful confirmation from the API, so we are about to overwrite the latter. - // We could solve this by adding a version or smth like that; or by ignoring discrepancies - // unless we have previously received an update error for this task; however, the only effect - // right now are a few cheap redundant update calls; let's just do the simple thing. - newState = ti.isGuaranteed; - setUpdateStartedUnderTiLock(ti); - } // End of synchronized (ti) - WM_LOG.info("Sending an update based on inconsistent state from heartbeat for " - + attemptId + ", " + newState); - sendUpdateMessageAsync(ti, newState); - } } diff --git a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java index c6b5cc1770..06cf7eced2 100644 --- a/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java +++ b/llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java @@ -40,7 +40,6 @@ import org.apache.hadoop.metrics2.MetricsSystem; import org.apache.hadoop.metrics2.annotation.Metric; import org.apache.hadoop.metrics2.annotation.Metrics; -import org.apache.hadoop.metrics2.impl.MsInfo; import org.apache.hadoop.metrics2.lib.MetricsRegistry; import org.apache.hadoop.metrics2.lib.MutableCounterInt; import org.apache.hadoop.metrics2.lib.MutableGaugeInt; @@ -55,7 +54,6 @@ private final JvmMetrics jvmMetrics; private final String sessionId; private final MetricsRegistry registry; - private String dagId = null; @Metric MutableGaugeInt numExecutors; @Metric @@ -114,16 +112,9 @@ public void getMetrics(MetricsCollector collector, boolean b) { .setContext("scheduler") .tag(ProcessName, "DAGAppMaster") .tag(SessionId, sessionId); - if (dagId != null) { - rb.tag(MsInfo.Context, dagId); - } getTaskSchedulerStats(rb); } - public void setDagId(String dagId) { - this.dagId = dagId; - } - public void setNumExecutors(int value) { numExecutors.set(value); } @@ -254,15 +245,6 @@ public void setWmUnusedGuaranteed(int unusedGuaranteed) { wmUnusedGuaranteedCount.set(unusedGuaranteed); } - public void resetWmMetrics() { - wmTotalGuaranteedCount.set(0); - wmUnusedGuaranteedCount.set(0); - wmGuaranteedCount.incr(-wmGuaranteedCount.value()); - wmSpeculativeCount.incr(-wmSpeculativeCount.value()); - wmGuaranteedPendingCount.incr(-wmGuaranteedPendingCount.value()); - wmSpeculativePendingCount.incr(-wmSpeculativePendingCount.value()); - } - private void getTaskSchedulerStats(MetricsRecordBuilder rb) { rb.addGauge(SchedulerClusterNodeCount, clusterNodeCount.value()) .addGauge(SchedulerExecutorsPerInstance, numExecutors.value()) diff --git a/llap-tez/src/test/org/apache/hadoop/hive/llap/tezplugins/TestLlapTaskSchedulerService.java b/llap-tez/src/test/org/apache/hadoop/hive/llap/tezplugins/TestLlapTaskSchedulerService.java index 46007559cd..90b31e4fcd 100644 --- a/llap-tez/src/test/org/apache/hadoop/hive/llap/tezplugins/TestLlapTaskSchedulerService.java +++ b/llap-tez/src/test/org/apache/hadoop/hive/llap/tezplugins/TestLlapTaskSchedulerService.java @@ -551,36 +551,6 @@ public void run() { } } - @Test(timeout = 10000) - public void testHeartbeatInconsistency() throws IOException, InterruptedException { - final TestTaskSchedulerServiceWrapper tsWrapper = new TestTaskSchedulerServiceWrapper(); - // Guaranteed flag is inconsistent based on heartbeat - another message should be send. - try { - Priority highPri = Priority.newInstance(1); - TezTaskAttemptID task1 = TestTaskSchedulerServiceWrapper.generateTaskAttemptId(); - tsWrapper.ts.updateGuaranteedCount(0); - tsWrapper.controlScheduler(true); - tsWrapper.allocateTask(task1, null, highPri, new Object()); - tsWrapper.awaitTotalTaskAllocations(1); - TaskInfo ti1 = tsWrapper.ts.getTaskInfo(task1); - assertFalse(ti1.isGuaranteed()); - - // Heartbeat indicates task has a duck - this must be reverted. - tsWrapper.ts.taskInfoUpdated(task1, true); - tsWrapper.ts.waitForMessagesSent(1); - assertTrue(ti1.getLastSetGuaranteed()); - assertTrue(ti1.isUpdateInProgress()); - assertFalse(ti1.isGuaranteed()); - tsWrapper.ts.handleUpdateResult(ti1, true); - assertFalse(ti1.getLastSetGuaranteed()); - - tsWrapper.deallocateTask(task1, true, TaskAttemptEndReason.CONTAINER_EXITED); - assertEquals(0, tsWrapper.ts.getUnusedGuaranteedCount()); - } finally { - tsWrapper.shutdown(); - } - } - @Test(timeout = 10000) public void testSimpleNoLocalityAllocation() throws IOException, InterruptedException { TestTaskSchedulerServiceWrapper tsWrapper = new TestTaskSchedulerServiceWrapper(); diff --git a/metastore/scripts/upgrade/derby/052-HIVE-18781.derby.sql b/metastore/scripts/upgrade/derby/052-HIVE-18781.derby.sql new file mode 100644 index 0000000000..8a50663864 --- /dev/null +++ b/metastore/scripts/upgrade/derby/052-HIVE-18781.derby.sql @@ -0,0 +1,9 @@ + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql index e335b84515..fa07984de1 100644 --- a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql @@ -74,6 +74,8 @@ CREATE TABLE "APP"."SDS" ("SD_ID" BIGINT NOT NULL, "INPUT_FORMAT" VARCHAR(4000), CREATE TABLE "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME" VARCHAR(256) NOT NULL, "NEXT_VAL" BIGINT NOT NULL); +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + RUN '022-HIVE-11107.derby.sql'; CREATE TABLE "APP"."BUCKETING_COLS" ("SD_ID" BIGINT NOT NULL, "BUCKET_COL_NAME" VARCHAR(256), "INTEGER_IDX" INTEGER NOT NULL); diff --git a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql index 99838b452a..27d67e64b3 100644 --- a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql @@ -155,3 +155,10 @@ CREATE TABLE WRITE_SET ( WS_COMMIT_ID bigint NOT NULL, WS_OPERATION_TYPE char(1) NOT NULL ); + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); diff --git a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql index c2dcb83c9a..03fa25fb1a 100644 --- a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -9,5 +9,6 @@ RUN '048-HIVE-14498.derby.sql'; RUN '049-HIVE-18489.derby.sql'; RUN '050-HIVE-18192.derby.sql'; RUN '051-HIVE-18675.derby.sql'; +RUN '052-HIVE-18781.derby.sql'; UPDATE "APP".VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; diff --git a/ql/if/queryplan.thrift b/ql/if/queryplan.thrift index aaf644a526..ad778e3245 100644 --- a/ql/if/queryplan.thrift +++ b/ql/if/queryplan.thrift @@ -102,7 +102,8 @@ enum StageType { COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, - REPL_STATE_LOG + REPL_STATE_LOG, + REPL_TXN } struct Stage { diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp index 7262017681..b6eb12ab13 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp @@ -118,7 +118,8 @@ int _kStageTypeValues[] = { StageType::COLUMNSTATS, StageType::REPL_DUMP, StageType::REPL_BOOTSTRAP_LOAD, - StageType::REPL_STATE_LOG + StageType::REPL_STATE_LOG, + StageType::REPL_TXN }; const char* _kStageTypeNames[] = { "CONDITIONAL", @@ -135,9 +136,10 @@ const char* _kStageTypeNames[] = { "COLUMNSTATS", "REPL_DUMP", "REPL_BOOTSTRAP_LOAD", - "REPL_STATE_LOG" + "REPL_STATE_LOG", + "REPL_TXN" }; -const std::map _StageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(15, _kStageTypeValues, _kStageTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); +const std::map _StageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(16, _kStageTypeValues, _kStageTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); Adjacency::~Adjacency() throw() { diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.h b/ql/src/gen/thrift/gen-cpp/queryplan_types.h index 18dc867112..eb02107e64 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.h +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.h @@ -96,7 +96,8 @@ struct StageType { COLUMNSTATS = 11, REPL_DUMP = 12, REPL_BOOTSTRAP_LOAD = 13, - REPL_STATE_LOG = 14 + REPL_STATE_LOG = 14, + REPL_TXN = 15 }; }; diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java index ed408d2b91..08822b3cc7 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java @@ -26,7 +26,8 @@ COLUMNSTATS(11), REPL_DUMP(12), REPL_BOOTSTRAP_LOAD(13), - REPL_STATE_LOG(14); + REPL_STATE_LOG(14), + REPL_TXN(15); private final int value; @@ -77,6 +78,8 @@ public static StageType findByValue(int value) { return REPL_BOOTSTRAP_LOAD; case 14: return REPL_STATE_LOG; + case 15: + return REPL_TXN; default: return null; } diff --git a/ql/src/gen/thrift/gen-php/Types.php b/ql/src/gen/thrift/gen-php/Types.php index bca2eee4b2..df4e41db93 100644 --- a/ql/src/gen/thrift/gen-php/Types.php +++ b/ql/src/gen/thrift/gen-php/Types.php @@ -117,6 +117,7 @@ final class StageType { const REPL_DUMP = 12; const REPL_BOOTSTRAP_LOAD = 13; const REPL_STATE_LOG = 14; + const REPL_TXN = 15; static public $__names = array( 0 => 'CONDITIONAL', 1 => 'COPY', @@ -133,6 +134,7 @@ final class StageType { 12 => 'REPL_DUMP', 13 => 'REPL_BOOTSTRAP_LOAD', 14 => 'REPL_STATE_LOG', + 15 => 'REPL_TXN', ); } diff --git a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py index 1f0d627402..85d39fdbe1 100644 --- a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py +++ b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py @@ -163,6 +163,7 @@ class StageType: REPL_DUMP = 12 REPL_BOOTSTRAP_LOAD = 13 REPL_STATE_LOG = 14 + REPL_TXN = 15 _VALUES_TO_NAMES = { 0: "CONDITIONAL", @@ -180,6 +181,7 @@ class StageType: 12: "REPL_DUMP", 13: "REPL_BOOTSTRAP_LOAD", 14: "REPL_STATE_LOG", + 15: "REPL_TXN", } _NAMES_TO_VALUES = { @@ -198,6 +200,7 @@ class StageType: "REPL_DUMP": 12, "REPL_BOOTSTRAP_LOAD": 13, "REPL_STATE_LOG": 14, + "REPL_TXN": 15, } diff --git a/ql/src/gen/thrift/gen-rb/queryplan_types.rb b/ql/src/gen/thrift/gen-rb/queryplan_types.rb index 88d9c179e9..6010f3d21e 100644 --- a/ql/src/gen/thrift/gen-rb/queryplan_types.rb +++ b/ql/src/gen/thrift/gen-rb/queryplan_types.rb @@ -75,8 +75,9 @@ module StageType REPL_DUMP = 12 REPL_BOOTSTRAP_LOAD = 13 REPL_STATE_LOG = 14 - VALUE_MAP = {0 => "CONDITIONAL", 1 => "COPY", 2 => "DDL", 3 => "MAPRED", 4 => "EXPLAIN", 5 => "FETCH", 6 => "FUNC", 7 => "MAPREDLOCAL", 8 => "MOVE", 9 => "STATS", 10 => "DEPENDENCY_COLLECTION", 11 => "COLUMNSTATS", 12 => "REPL_DUMP", 13 => "REPL_BOOTSTRAP_LOAD", 14 => "REPL_STATE_LOG"} - VALID_VALUES = Set.new([CONDITIONAL, COPY, DDL, MAPRED, EXPLAIN, FETCH, FUNC, MAPREDLOCAL, MOVE, STATS, DEPENDENCY_COLLECTION, COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, REPL_STATE_LOG]).freeze + REPL_TXN = 15 + VALUE_MAP = {0 => "CONDITIONAL", 1 => "COPY", 2 => "DDL", 3 => "MAPRED", 4 => "EXPLAIN", 5 => "FETCH", 6 => "FUNC", 7 => "MAPREDLOCAL", 8 => "MOVE", 9 => "STATS", 10 => "DEPENDENCY_COLLECTION", 11 => "COLUMNSTATS", 12 => "REPL_DUMP", 13 => "REPL_BOOTSTRAP_LOAD", 14 => "REPL_STATE_LOG", 15 => "REPL_TXN"} + VALID_VALUES = Set.new([CONDITIONAL, COPY, DDL, MAPRED, EXPLAIN, FETCH, FUNC, MAPREDLOCAL, MOVE, STATS, DEPENDENCY_COLLECTION, COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, REPL_STATE_LOG, REPL_TXN]).freeze end class Adjacency diff --git a/ql/src/java/org/apache/hadoop/hive/llap/LlapCacheAwareFs.java b/ql/src/java/org/apache/hadoop/hive/llap/LlapCacheAwareFs.java index c75dd70b9d..62a174ad08 100644 --- a/ql/src/java/org/apache/hadoop/hive/llap/LlapCacheAwareFs.java +++ b/ql/src/java/org/apache/hadoop/hive/llap/LlapCacheAwareFs.java @@ -61,10 +61,10 @@ new ConcurrentHashMap<>(); public static Path registerFile(DataCache cache, Path path, Object fileKey, - TreeMap index, Configuration conf, String tag) throws IOException { + TreeMap index, Configuration conf) throws IOException { long splitId = currentSplitId.incrementAndGet(); CacheAwareInputStream stream = new CacheAwareInputStream( - cache, conf, index, path, fileKey, -1, tag); + cache, conf, index, path, fileKey, -1); if (files.putIfAbsent(splitId, stream) != null) { throw new IOException("Record already exists for " + splitId); } @@ -166,25 +166,23 @@ public boolean rename(Path arg0, Path arg1) throws IOException { private final TreeMap chunkIndex; private final Path path; private final Object fileKey; - private final String tag; private final Configuration conf; private final DataCache cache; private final int bufferSize; private long position = 0; public CacheAwareInputStream(DataCache cache, Configuration conf, - TreeMap chunkIndex, Path path, Object fileKey, int bufferSize, String tag) { + TreeMap chunkIndex, Path path, Object fileKey, int bufferSize) { this.cache = cache; this.fileKey = fileKey; this.chunkIndex = chunkIndex; this.path = path; this.conf = conf; this.bufferSize = bufferSize; - this.tag = tag; } public LlapCacheAwareFs.CacheAwareInputStream cloneWithBufferSize(int bufferSize) { - return new CacheAwareInputStream(cache, conf, chunkIndex, path, fileKey, bufferSize, tag); + return new CacheAwareInputStream(cache, conf, chunkIndex, path, fileKey, bufferSize); } @Override @@ -309,7 +307,7 @@ public DiskRangeList createCacheChunk( } smallBuffer = null; } - cache.putFileData(fileKey, cacheRanges, newCacheData, 0, tag); + cache.putFileData(fileKey, cacheRanges, newCacheData, 0); } finally { // We do not use the new cache buffers for the actual read, given the way read() API is. // Therefore, we don't need to handle cache collisions - just decref all the buffers. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java new file mode 100644 index 0000000000..ad884bdd02 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java @@ -0,0 +1,89 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.exec; + +import org.apache.hadoop.hive.ql.DriverContext; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.plan.api.StageType; +import org.apache.hadoop.security.UserGroupInformation; +import org.apache.hadoop.util.StringUtils; +import java.util.List; + +/** + * ReplTxnTask. + * Used for replaying the transaction related events. + */ +public class ReplTxnTask extends Task { + + private static final long serialVersionUID = 1L; + + public ReplTxnTask() { + super(); + } + + @Override + public int execute(DriverContext driverContext) { + String replPolicy = work.getReplPolicy(); + if (Utilities.FILE_OP_LOGGER.isTraceEnabled()) { + Utilities.FILE_OP_LOGGER.trace("Executing ReplTxnTask " + work.getOperationType().toString() + + " for txn ids : " + work.getTxnIds().toString() + " replPolicy : " + replPolicy); + } + try { + HiveTxnManager txnManager = driverContext.getCtx().getHiveTxnManager(); + String user = UserGroupInformation.getCurrentUser().getUserName(); + LOG.debug("Replaying " + work.getOperationType().toString() + " Event for policy " + + replPolicy + " with srcTxn " + work.getTxnIds().toString()); + switch(work.getOperationType()) { + case REPL_OPEN_TXN: + List txnIds = txnManager.replOpenTxn(replPolicy, work.getTxnIds(), user); + assert txnIds.size() == work.getTxnIds().size(); + LOG.info("Replayed OpenTxn Event for policy " + replPolicy + " with srcTxn " + + work.getTxnIds().toString() + " and target txn id " + txnIds.toString()); + return 0; + case REPL_ABORT_TXN: + txnManager.replRollbackTxn(replPolicy, work.getTxnId(0)); + LOG.info("Replayed AbortTxn Event for policy " + replPolicy + " with srcTxn " + work.getTxnId(0)); + return 0; + case REPL_COMMIT_TXN: + txnManager.replCommitTxn(replPolicy, work.getTxnId(0)); + LOG.info("Replayed CommitTxn Event for policy " + replPolicy + + " with srcTxn " + work.getTxnId(0) + " and target txn id " + work.getTxnId(0)); + return 0; + default: + LOG.error("Operation Type " + work.getOperationType() + " is not supported "); + return 1; + } + } catch (Exception e) { + console.printError("Failed with exception " + e.getMessage(), "\n" + + StringUtils.stringifyException(e)); + setException(e); + return 1; + } + } + + @Override + public StageType getType() { + return StageType.REPL_TXN; + } + + @Override + public String getName() { + return "REPL_TRANSACTION"; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java new file mode 100644 index 0000000000..9467415175 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.exec; + +import java.io.Serializable; + +import com.google.common.collect.Lists; +import org.apache.hadoop.hive.ql.plan.Explain; +import org.apache.hadoop.hive.ql.plan.Explain.Level; +import java.util.List; + +/** + * ReplTxnTask. + * Used for replaying the transaction related events. + */ +@Explain(displayName = "Replication Transaction", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) +public class ReplTxnWork implements Serializable { + private static final long serialVersionUID = 1L; + private String dbName; + private String tableName; + private List txnIds; + + /** + * OperationType. + * Different kind of events supported for replaying. + */ + public enum OperationType { + REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN + } + + OperationType operation; + + public ReplTxnWork(String dbName, String tableName, List txnIds, OperationType type) { + this.txnIds = txnIds; + this.dbName = dbName; + this.tableName = tableName; + this.operation = type; + } + + public ReplTxnWork(String dbName, String tableName, Long txnId, OperationType type) { + this.txnIds = Lists.newArrayList(txnId); + this.dbName = dbName; + this.tableName = tableName; + this.operation = type; + } + + public List getTxnIds() { + return txnIds; + } + + public Long getTxnId(int idx) { + return txnIds.get(idx); + } + + public String getDbName() { + return dbName; + } + + public String getTableName() { + return tableName; + } + + public String getReplPolicy() { + if ((dbName == null) || (dbName.isEmpty())) { + return null; + } else if ((tableName == null) || (tableName.isEmpty())) { + return dbName.toLowerCase() + ".*"; + } else { + return dbName.toLowerCase() + "." + tableName.toLowerCase(); + } + } + + public OperationType getOperationType() { + return operation; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java index d049c37ff6..e832f51634 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java @@ -111,6 +111,7 @@ public TaskTuple(Class workClass, Class> taskClass) { taskvec.add(new TaskTuple<>(ReplLoadWork.class, ReplLoadTask.class)); taskvec.add(new TaskTuple<>(ReplStateLogWork.class, ReplStateLogTask.class)); taskvec.add(new TaskTuple(ExportWork.class, ExportTask.class)); + taskvec.add(new TaskTuple(ReplTxnWork.class, ReplTxnTask.class)); } private static ThreadLocal tid = new ThreadLocal() { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java index 4e17394653..462c62f52b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java @@ -62,8 +62,6 @@ import org.apache.hadoop.hive.ql.io.orc.encoded.IoTrace.RangesSrc; import org.apache.hadoop.hive.ql.io.orc.encoded.Reader.OrcEncodedColumnBatch; import org.apache.hadoop.hive.ql.io.orc.encoded.Reader.PoolFactory; -import org.apache.hadoop.io.compress.zlib.ZlibDecompressor; -import org.apache.hadoop.io.compress.zlib.ZlibDecompressor.ZlibDirectDecompressor; import org.apache.orc.OrcProto; import com.google.common.annotations.VisibleForTesting; @@ -132,7 +130,7 @@ public DiskRangeList createCacheChunk(MemoryBuffer buffer, long offset, long end private final Object fileKey; private final DataReader dataReader; private boolean isDataReaderOpen = false; - private CompressionCodec codec; + private final CompressionCodec codec; private final boolean isCodecFromPool; private boolean isCodecFailure = false; private final boolean isCompressed; @@ -145,12 +143,11 @@ public DiskRangeList createCacheChunk(MemoryBuffer buffer, long offset, long end private final IoTrace trace; private final TypeDescription fileSchema; private final WriterVersion version; - private final String tag; public EncodedReaderImpl(Object fileKey, List types, TypeDescription fileSchema, org.apache.orc.CompressionKind kind, WriterVersion version, int bufferSize, long strideRate, DataCache cacheWrapper, DataReader dataReader, - PoolFactory pf, IoTrace trace, boolean useCodecPool, String tag) throws IOException { + PoolFactory pf, IoTrace trace, boolean useCodecPool) throws IOException { this.fileKey = fileKey; this.compressionKind = kind; this.isCompressed = kind != org.apache.orc.CompressionKind.NONE; @@ -164,7 +161,6 @@ public EncodedReaderImpl(Object fileKey, List types, this.cacheWrapper = cacheWrapper; this.dataReader = dataReader; this.trace = trace; - this.tag = tag; if (POOLS != null) return; if (pf == null) { pf = new NoopPoolFactory(); @@ -690,7 +686,6 @@ public void close() throws IOException { } else { codec.close(); } - codec = null; } catch (Exception ex) { LOG.error("Ignoring error from codec", ex); } finally { @@ -854,7 +849,7 @@ public DiskRangeList readEncodedStream(long baseOffset, DiskRangeList start, lon if (badEstimates != null && !badEstimates.isEmpty()) { // Relies on the fact that cache does not actually store these. DiskRange[] cacheKeys = badEstimates.toArray(new DiskRange[badEstimates.size()]); - long[] result = cacheWrapper.putFileData(fileKey, cacheKeys, null, baseOffset, tag); + long[] result = cacheWrapper.putFileData(fileKey, cacheKeys, null, baseOffset); assert result == null; // We don't expect conflicts from bad estimates. } @@ -914,7 +909,7 @@ public DiskRangeList readEncodedStream(long baseOffset, DiskRangeList start, lon // 6. Finally, put uncompressed data to cache. if (fileKey != null) { long[] collisionMask = cacheWrapper.putFileData( - fileKey, cacheKeys, targetBuffers, baseOffset, tag); + fileKey, cacheKeys, targetBuffers, baseOffset); processCacheCollisions(collisionMask, toDecompress, targetBuffers, csd.getCacheBuffers()); } @@ -1168,8 +1163,7 @@ private DiskRangeList preReadUncompressedStream(long baseOffset, DiskRangeList s // 5. Put uncompressed data to cache. if (fileKey != null) { - long[] collisionMask = cacheWrapper.putFileData( - fileKey, cacheKeys, targetBuffers, baseOffset, tag); + long[] collisionMask = cacheWrapper.putFileData(fileKey, cacheKeys, targetBuffers, baseOffset); processCacheCollisions(collisionMask, toCache, targetBuffers, null); } @@ -1267,7 +1261,6 @@ private static void decompressChunk( } codec.reset(); // We always need to call reset on the codec. codec.decompress(src, dest); - dest.position(startPos); int newLim = dest.limit(); if (newLim > startLim) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/Reader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/Reader.java index 210c987b7f..57fb63b463 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/Reader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/Reader.java @@ -46,7 +46,7 @@ * @return The reader. */ EncodedReader encodedReader(Object fileKey, DataCache dataCache, DataReader dataReader, - PoolFactory pf, IoTrace trace, boolean useCodecPool, String tag) throws IOException; + PoolFactory pf, IoTrace trace, boolean useCodecPool) throws IOException; /** The factory that can create (or return) the pools used by encoded reader. */ public interface PoolFactory { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/ReaderImpl.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/ReaderImpl.java index a9a9f10194..49cd9bac2d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/ReaderImpl.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/ReaderImpl.java @@ -35,8 +35,8 @@ public ReaderImpl(Path path, ReaderOptions options) throws IOException { @Override public EncodedReader encodedReader(Object fileKey, DataCache dataCache, DataReader dataReader, - PoolFactory pf, IoTrace trace, boolean useCodecPool, String tag) throws IOException { + PoolFactory pf, IoTrace trace, boolean useCodecPool) throws IOException { return new EncodedReaderImpl(fileKey, types, getSchema(), compressionKind, getWriterVersion(), - bufferSize, rowIndexStride, dataCache, dataReader, pf, trace, useCodecPool, tag); + bufferSize, rowIndexStride, dataCache, dataReader, pf, trace, useCodecPool); } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java index f64efe26f5..7b77eeeeac 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java @@ -25,10 +25,10 @@ import org.apache.hadoop.hive.common.io.DataCache; import org.apache.hadoop.hive.common.io.FileMetadataCache; import org.apache.hadoop.hive.common.io.encoded.MemoryBufferOrBuffers; + import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.llap.LlapCacheAwareFs; -import org.apache.hadoop.hive.llap.LlapUtil; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch; import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatchCtx; @@ -188,7 +188,6 @@ public void initialize( // if task.side.metadata is set, rowGroupOffsets is null Object cacheKey = null; - String cacheTag = null; // TODO: also support fileKey in splits, like OrcSplit does if (metadataCache != null) { cacheKey = HdfsUtils.getFileId(file.getFileSystem(configuration), file, @@ -196,9 +195,6 @@ public void initialize( HiveConf.getBoolVar(cacheConf, ConfVars.LLAP_CACHE_DEFAULT_FS_FILE_ID)); } if (cacheKey != null) { - if (HiveConf.getBoolVar(cacheConf, ConfVars.LLAP_TRACK_CACHE_USAGE)) { - cacheTag = LlapUtil.getDbAndTableNameForMetrics(file, true); - } // If we are going to use cache, change the path to depend on file ID for extra consistency. FileSystem fs = file.getFileSystem(configuration); if (cacheKey instanceof Long && HiveConf.getBoolVar( @@ -211,13 +207,13 @@ public void initialize( //TODO check whether rowGroupOffSets can be null // then we need to apply the predicate push down filter footer = readSplitFooter( - configuration, file, cacheKey, range(split.getStart(), split.getEnd()), cacheTag); + configuration, file, cacheKey, range(split.getStart(), split.getEnd())); MessageType fileSchema = footer.getFileMetaData().getSchema(); FilterCompat.Filter filter = getFilter(configuration); blocks = filterRowGroups(filter, footer.getBlocks(), fileSchema); } else { // otherwise we find the row groups that were selected on the client - footer = readSplitFooter(configuration, file, cacheKey, NO_FILTER, cacheTag); + footer = readSplitFooter(configuration, file, cacheKey, NO_FILTER); Set offsets = new HashSet<>(); for (long offset : rowGroupOffsets) { offsets.add(offset); @@ -254,13 +250,13 @@ public void initialize( requestedSchema = DataWritableReadSupport .getRequestedSchema(indexAccess, columnNamesList, columnTypesList, fileSchema, configuration); - Path path = wrapPathForCache(file, cacheKey, configuration, blocks, cacheTag); + Path path = wrapPathForCache(file, cacheKey, configuration, blocks); this.reader = new ParquetFileReader( configuration, footer.getFileMetaData(), path, blocks, requestedSchema.getColumns()); } private Path wrapPathForCache(Path path, Object fileKey, JobConf configuration, - List blocks, String tag) throws IOException { + List blocks) throws IOException { if (fileKey == null || cache == null) { return path; } @@ -281,13 +277,13 @@ private Path wrapPathForCache(Path path, Object fileKey, JobConf configuration, // Register the cache-aware path so that Parquet reader would go thru it. configuration.set("fs." + LlapCacheAwareFs.SCHEME + ".impl", LlapCacheAwareFs.class.getCanonicalName()); - path = LlapCacheAwareFs.registerFile(cache, path, fileKey, chunkIndex, configuration, tag); + path = LlapCacheAwareFs.registerFile(cache, path, fileKey, chunkIndex, configuration); this.cacheFsPath = path; return path; } - private ParquetMetadata readSplitFooter(JobConf configuration, final Path file, - Object cacheKey, MetadataFilter filter, String tag) throws IOException { + private ParquetMetadata readSplitFooter( + JobConf configuration, final Path file, Object cacheKey, MetadataFilter filter) throws IOException { MemoryBufferOrBuffers footerData = (cacheKey == null || metadataCache == null) ? null : metadataCache.getFileMetadata(cacheKey); if (footerData != null) { @@ -317,7 +313,7 @@ private ParquetMetadata readSplitFooter(JobConf configuration, final Path file, if (LOG.isInfoEnabled()) { LOG.info("Caching the footer of length " + footerLength + " for " + cacheKey); } - footerData = metadataCache.putFileMetadata(cacheKey, footerLength, stream, tag); + footerData = metadataCache.putFileMetadata(cacheKey, footerLength, stream); try { return ParquetFileReader.readFooter(new ParquetFooterInputFromCache(footerData), filter); } finally { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java index 89ca1ff5cf..6513e0f203 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java @@ -202,6 +202,15 @@ void setHiveConf(HiveConf conf) { } } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException { + try { + return getMS().replOpenTxn(replPolicy, srcTxnIds, user); + } catch (TException e) { + throw new LockException(e, ErrorMsg.METASTORE_COMMUNICATION_FAILED); + } + } + @Override public long openTxn(Context ctx, String user) throws LockException { return openTxn(ctx, user, 0); @@ -590,6 +599,22 @@ public void releaseLocks(List hiveLocks) throws LockException { } } + @Override + public void replCommitTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().replCommitTxn(srcTxnId, replPolicy); + } catch (NoSuchTxnException e) { + LOG.error("Metastore could not find " + JavaUtils.txnIdToString(srcTxnId)); + throw new LockException(e, ErrorMsg.TXN_NO_SUCH_TRANSACTION, JavaUtils.txnIdToString(srcTxnId)); + } catch (TxnAbortedException e) { + LockException le = new LockException(e, ErrorMsg.TXN_ABORTED, JavaUtils.txnIdToString(srcTxnId), e.getMessage()); + LOG.error(le.getMessage()); + throw le; + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } + @Override public void commitTxn() throws LockException { if (!isTxnOpen()) { @@ -617,6 +642,21 @@ public void commitTxn() throws LockException { tableWriteIds.clear(); } } + @Override + public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().replRollbackTxn(srcTxnId, replPolicy); + } catch (NoSuchTxnException e) { + LOG.error("Metastore could not find " + JavaUtils.txnIdToString(srcTxnId)); + throw new LockException(e, ErrorMsg.TXN_NO_SUCH_TRANSACTION, JavaUtils.txnIdToString(srcTxnId)); + } catch (TxnAbortedException e) { + LockException le = new LockException(e, ErrorMsg.TXN_ABORTED, JavaUtils.txnIdToString(srcTxnId), e.getMessage()); + LOG.error(le.getMessage()); + throw le; + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } @Override public void rollbackTxn() throws LockException { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java index 7413074be1..9057bb94b0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java @@ -55,6 +55,11 @@ public long openTxn(Context ctx, String user) throws LockException { // No-op return 0L; } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException { + return null; + } + @Override public boolean isTxnOpen() { return false; @@ -208,11 +213,21 @@ public void commitTxn() throws LockException { // No-op } + @Override + public void replCommitTxn(String replPolicy, long srcTxnId) throws LockException { + // No-op + } + @Override public void rollbackTxn() throws LockException { // No-op } + @Override + public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException { + // No-op + } + @Override public void heartbeat() throws LockException { // No-op diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java index 0db2a2c3ed..490f3b8ffe 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java @@ -28,7 +28,6 @@ import org.apache.hadoop.hive.ql.plan.LockTableDesc; import org.apache.hadoop.hive.ql.plan.UnlockDatabaseDesc; import org.apache.hadoop.hive.ql.plan.UnlockTableDesc; - import java.util.List; /** @@ -47,6 +46,32 @@ */ long openTxn(Context ctx, String user) throws LockException; + /** + * Open a new transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnIds The ids of the transaction at the source cluster + * @param user The user who has fired the repl load command + * @return The new transaction id. + * @throws LockException in case of failure to start the transaction. + */ + List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException; + + /** + * Commit the transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnId The id of the transaction at the source cluster + * @throws LockException in case of failure to commit the transaction. + */ + void replCommitTxn(String replPolicy, long srcTxnId) throws LockException; + + /** + * Abort the transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnId The id of the transaction at the source cluster + * @throws LockException in case of failure to abort the transaction. + */ + void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException; + /** * Get the lock manager. This must be used rather than instantiating an * instance of the lock manager directly as the transaction manager will diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java index b7fbea4473..85960cac6f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java @@ -409,10 +409,6 @@ private static ImportTableDesc getBaseCreateTableDescFromTable(String dbName, Task copyTask = null; if (replicationSpec.isInReplicationScope()) { - if (isSourceMm || isAcid(writeId)) { - // Note: this is replication gap, not MM gap... Repl V2 is not ready yet. - throw new RuntimeException("Replicating MM and ACID tables is not supported"); - } copyTask = ReplCopyTask.getLoadCopyTask(replicationSpec, dataPath, destPath, x.getConf()); } else { CopyWork cw = new CopyWork(dataPath, destPath, false); @@ -506,10 +502,6 @@ private static boolean isAcid(Long writeId) { Task copyTask = null; if (replicationSpec.isInReplicationScope()) { - if (isSourceMm || isAcid(writeId)) { - // Note: this is replication gap, not MM gap... Repl V2 is not ready yet. - throw new RuntimeException("Replicating MM and ACID tables is not supported"); - } copyTask = ReplCopyTask.getLoadCopyTask( replicationSpec, new Path(srcLocation), destPath, x.getConf()); } else { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java index 796ab0d5e5..01abd3dba2 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java @@ -34,6 +34,7 @@ import org.apache.hadoop.hive.ql.hooks.ReadEntity; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.Table; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; import org.apache.hadoop.hive.ql.parse.repl.ReplLogger; import org.apache.hadoop.hive.ql.parse.repl.dump.Utils; import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; @@ -234,6 +235,56 @@ private void initReplLoad(ASTNode ast) throws SemanticException { } } + private boolean filterEvent(FileStatus dir, DumpType dumpType) throws SemanticException{ + // This functions filters out all the events which are already replayed. This can be done only + // for transaction related events as for other kind of events we can not gurantee that the last + // repl id stored in the database/table is valid. + if ((dumpType != DumpType.EVENT_ABORT_TXN) && + (dumpType != DumpType.EVENT_OPEN_TXN) && + (dumpType != DumpType.EVENT_COMMIT_TXN)) { + return false; + } + + // if database itself is null then we can not filter out anything. + if (dbNameOrPattern == null || dbNameOrPattern.isEmpty()) { + return false; + } else if ((tblNameOrPattern == null) || (tblNameOrPattern.isEmpty())) { + Database database; + try { + database = Hive.get().getDatabase(dbNameOrPattern); + } catch (HiveException e) { + LOG.error("failed to get the database " + dbNameOrPattern); + throw new SemanticException(e); + } + String replLastId; + Map params = database.getParameters(); + if (params != null && (params.containsKey(ReplicationSpec.KEY.CURR_STATE_ID.toString()))) { + replLastId = params.get(ReplicationSpec.KEY.CURR_STATE_ID.toString()); + if (Long.parseLong(replLastId) >= Long.parseLong(dir.getPath().getName())) { + return true; + } + } + } else { + Table tbl; + try { + tbl = Hive.get().getTable(dbNameOrPattern, tblNameOrPattern); + } catch (HiveException e) { + LOG.error("failed to get the table " + dbNameOrPattern + "." + tblNameOrPattern); + throw new SemanticException(e); + } + if (tbl != null) { + Map params = tbl.getParameters(); + if (params != null && (params.containsKey(ReplicationSpec.KEY.CURR_STATE_ID.toString()))) { + String replLastId = params.get(ReplicationSpec.KEY.CURR_STATE_ID.toString()); + if (Long.parseLong(replLastId) >= Long.parseLong(dir.getPath().getName())) { + return true; + } + } + } + } + return false; + } + /* * Example dump dirs we need to be able to handle : * @@ -371,6 +422,13 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { loadPath.toString(), dirsInLoadPath.length); for (FileStatus dir : dirsInLoadPath){ + String locn = dir.getPath().toUri().toString(); + DumpMetaData eventDmd = new DumpMetaData(new Path(locn), conf); + + if (filterEvent(dir, eventDmd.getDumpType())) { + continue; + } + LOG.debug("Loading event from {} to {}.{}", dir.getPath().toUri(), dbNameOrPattern, tblNameOrPattern); // event loads will behave similar to table loads, with one crucial difference @@ -392,8 +450,6 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { // Once this entire chain is generated, we add evTaskRoot to rootTasks, so as to execute the // entire chain - String locn = dir.getPath().toUri().toString(); - DumpMetaData eventDmd = new DumpMetaData(new Path(locn), conf); MessageHandler.Context context = new MessageHandler.Context(dbNameOrPattern, tblNameOrPattern, locn, taskChainTail, eventDmd, conf, db, ctx, LOG); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java index c69ecc9405..5fab0d2ebf 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java @@ -37,6 +37,9 @@ import org.apache.hadoop.hive.ql.parse.repl.load.message.TableHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.TruncatePartitionHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.TruncateTableHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.OpenTxnHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.CommitTxnHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.AbortTxnHandler; public enum DumpType { @@ -183,6 +186,24 @@ public MessageHandler handler() { public MessageHandler handler() { return new DropDatabaseHandler(); } + }, + EVENT_OPEN_TXN("EVENT_OPEN_TXN") { + @Override + public MessageHandler handler() { + return new OpenTxnHandler(); + } + }, + EVENT_COMMIT_TXN("EVENT_COMMIT_TXN") { + @Override + public MessageHandler handler() { + return new CommitTxnHandler(); + } + }, + EVENT_ABORT_TXN("EVENT_ABORT_TXN") { + @Override + public MessageHandler handler() { + return new AbortTxnHandler(); + } }; String type = null; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java new file mode 100644 index 0000000000..b9a5d2145c --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class AbortTxnHandler extends AbstractEventHandler { + + AbortTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} ABORT_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_ABORT_TXN; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java new file mode 100644 index 0000000000..db97d7c945 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java @@ -0,0 +1,43 @@ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class CommitTxnHandler extends AbstractEventHandler { + + CommitTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} COMMIT_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_COMMIT_TXN; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java index 9955246ff8..10ff21c430 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java @@ -50,6 +50,9 @@ private EventHandlerFactory() { register(MessageFactory.DROP_CONSTRAINT_EVENT, DropConstraintHandler.class); register(MessageFactory.CREATE_DATABASE_EVENT, CreateDatabaseHandler.class); register(MessageFactory.DROP_DATABASE_EVENT, DropDatabaseHandler.class); + register(MessageFactory.OPEN_TXN_EVENT, OpenTxnHandler.class); + register(MessageFactory.COMMIT_TXN_EVENT, CommitTxnHandler.class); + register(MessageFactory.ABORT_TXN_EVENT, AbortTxnHandler.class); } static void register(String event, Class handlerClazz) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java new file mode 100644 index 0000000000..fe81fe1210 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class OpenTxnHandler extends AbstractEventHandler { + + OpenTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} OPEN_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_OPEN_TXN; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java new file mode 100644 index 0000000000..9da1e3b5a8 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.load.message; + +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; +import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * AbortTxnHandler + * Target(Load) side handler for abort transaction event. + */ +public class AbortTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + boolean concurrency = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + String dbTxnMgr = "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"; + if (!txnMgr.equals(dbTxnMgr) || !concurrency) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + + AbortTxnMessage msg = deserializer.getAbortTxnMessage(context.dmd.getPayload()); + + Task abortTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnId(), ReplTxnWork.OperationType.REPL_ABORT_TXN), + context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Abort txn task : {}", abortTxnTask.getId()); + return Collections.singletonList(abortTxnTask); + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java new file mode 100644 index 0000000000..3e588ba365 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.load.message; + +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * CommitTxnHandler + * Target(Load) side handler for commit transaction event. + */ +public class CommitTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + boolean concurrency = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + String dbTxnMgr = "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"; + if (!txnMgr.equals(dbTxnMgr) || !concurrency) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + + CommitTxnMessage msg = deserializer.getCommitTxnMessage(context.dmd.getPayload()); + + Task commitTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnId(), + ReplTxnWork.OperationType.REPL_COMMIT_TXN), context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Commit txn task : {}", commitTxnTask.getId()); + return Collections.singletonList(commitTxnTask); + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java new file mode 100644 index 0000000000..8a30822aa8 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.load.message; + +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * OpenTxnHandler + * Target(Load) side handler for open transaction event. + */ +public class OpenTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + boolean concurrency = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + String dbTxnMgr = "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"; + if (!txnMgr.equals(dbTxnMgr) || !concurrency) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + OpenTxnMessage msg = deserializer.getOpenTxnMessage(context.dmd.getPayload()); + + Task openTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnIds(), ReplTxnWork.OperationType.REPL_OPEN_TXN), + context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Open txn task : {}", openTxnTask.getId()); + return Collections.singletonList(openTxnTask); + } +} diff --git a/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out b/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out index 3ff7b39f13..18ca78fc49 100644 --- a/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out +++ b/ql/src/test/results/clientpositive/druid/druidmini_mv.q.out @@ -330,7 +330,7 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable - Statistics: Num rows: 41 Data size: 480 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 42 Data size: 492 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: (a = 3) (type: boolean) Statistics: Num rows: 5 Data size: 58 Basic stats: COMPLETE Column stats: NONE @@ -346,7 +346,7 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable - Statistics: Num rows: 41 Data size: 640 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 42 Data size: 656 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: ((a = 3) and (d = 3)) (type: boolean) Statistics: Num rows: 1 Data size: 15 Basic stats: COMPLETE Column stats: NONE @@ -451,34 +451,34 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable - Statistics: Num rows: 41 Data size: 15680 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 42 Data size: 16072 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: (a = 3) (type: boolean) - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE Select Operator expressions: CAST( t AS timestamp with local time zone) (type: timestamp with local time zone), 3 (type: int), b (type: varchar(256)), c (type: double) outputColumnNames: _col0, _col1, _col2, _col3 - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE Select Operator expressions: _col0 (type: timestamp with local time zone), _col1 (type: int), _col2 (type: varchar(256)), _col3 (type: double), floor_hour(CAST( GenericUDFEpochMilli(_col0) AS TIMESTAMP)) (type: timestamp) outputColumnNames: _col0, _col1, _col2, _col3, __time_granularity - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE Reduce Output Operator key expressions: __time_granularity (type: timestamp) sort order: + Map-reduce partition columns: __time_granularity (type: timestamp) - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE value expressions: _col0 (type: timestamp with local time zone), _col1 (type: int), _col2 (type: varchar(256)), _col3 (type: double) Reducer 2 Reduce Operator Tree: Select Operator expressions: VALUE._col0 (type: timestamp with local time zone), VALUE._col1 (type: int), VALUE._col2 (type: varchar(256)), VALUE._col3 (type: double), KEY.__time_granularity (type: timestamp) outputColumnNames: _col0, _col1, _col2, _col3, __time_granularity - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE File Output Operator compressed: false Dp Sort State: PARTITION_SORTED - Statistics: Num rows: 5 Data size: 1912 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 5 Data size: 1913 Basic stats: COMPLETE Column stats: NONE table: input format: org.apache.hadoop.hive.druid.io.DruidQueryBasedInputFormat output format: org.apache.hadoop.hive.druid.io.DruidOutputFormat @@ -537,7 +537,7 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable - Statistics: Num rows: 41 Data size: 480 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 42 Data size: 492 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: (a = 3) (type: boolean) Statistics: Num rows: 5 Data size: 58 Basic stats: COMPLETE Column stats: NONE @@ -553,7 +553,7 @@ STAGE PLANS: Map Operator Tree: TableScan alias: cmv_basetable - Statistics: Num rows: 41 Data size: 640 Basic stats: COMPLETE Column stats: NONE + Statistics: Num rows: 42 Data size: 656 Basic stats: COMPLETE Column stats: NONE Filter Operator predicate: ((a = 3) and (d = 3)) (type: boolean) Statistics: Num rows: 1 Data size: 15 Basic stats: COMPLETE Column stats: NONE diff --git a/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistry.java b/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistry.java index 819ce198c5..6514d98d19 100644 --- a/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistry.java +++ b/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistry.java @@ -62,7 +62,6 @@ private LeaderLatch leaderLatch; private ServiceRecord srv; private boolean isClient; - private final String uniqueId; // There are 2 paths under which the instances get registered // 1) Standard path used by ZkRegistryBase where all instances register themselves (also stores metadata) @@ -90,13 +89,8 @@ private HS2ActivePassiveHARegistry(final String instanceName, final String zkNam super(instanceName, conf, null, zkNamespacePrefix, null, INSTANCE_PREFIX, INSTANCE_GROUP, saslContextName, krbPrincipal, krbKeytab, null); this.isClient = isClient; - if (HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_IN_TEST) && - conf.get(ZkRegistryBase.UNIQUE_IDENTIFIER) != null) { - this.uniqueId = conf.get(ZkRegistryBase.UNIQUE_IDENTIFIER); - } else { - this.uniqueId = UNIQUE_ID.toString(); - } - leaderLatch = new LeaderLatch(zooKeeperClient, leaderLatchPath, uniqueId, LeaderLatch.CloseMode.NOTIFY_LEADER); + leaderLatch = new LeaderLatch(zooKeeperClient, leaderLatchPath, UNIQUE_ID.toString(), + LeaderLatch.CloseMode.NOTIFY_LEADER); } @Override @@ -116,7 +110,6 @@ public void start() throws IOException { LOG.info("Registered HS2 with ZK. service record: {}", srv); } else { populateCache(); - LOG.info("Populating instances cache for client"); } } @@ -128,7 +121,7 @@ protected void unregisterInternal() { @Override public String register() throws IOException { updateEndpoint(srv, PASSIVE_ENDPOINT); - return registerServiceRecord(srv, uniqueId); + return registerServiceRecord(srv); } @Override @@ -292,7 +285,7 @@ void registerLeaderLatchListener(final LeaderLatchListener latchListener, final conf.get(HiveConf.ConfVars.HIVE_SERVER2_THRIFT_BIND_HOST.varname)); // Hostname:port confsToPublish.put(INSTANCE_URI_CONFIG, conf.get(INSTANCE_URI_CONFIG)); - confsToPublish.put(UNIQUE_IDENTIFIER, uniqueId); + confsToPublish.put(UNIQUE_IDENTIFIER, UNIQUE_ID.toString()); // Transport mode confsToPublish.put(HiveConf.ConfVars.HIVE_SERVER2_TRANSPORT_MODE.varname, conf.get(HiveConf.ConfVars.HIVE_SERVER2_TRANSPORT_MODE.varname)); diff --git a/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistryClient.java b/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistryClient.java index f87b610ee2..512d4e8317 100644 --- a/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistryClient.java +++ b/service/src/java/org/apache/hive/service/server/HS2ActivePassiveHARegistryClient.java @@ -46,9 +46,8 @@ public static synchronized HS2ActivePassiveHARegistry getClient(Configuration co registry = HS2ActivePassiveHARegistry.create(conf, true); registry.start(); hs2Registries.put(nsKey, registry); - LOG.info("Added registry client to cache with namespace: {}", nsKey); } else { - LOG.info("Returning cached registry client for namespace: {}", nsKey); + LOG.debug("Returning cached registry client for nsKey: {}", nsKey); } return registry; } diff --git a/service/src/java/org/apache/hive/service/servlet/HS2LeadershipStatus.java b/service/src/java/org/apache/hive/service/servlet/HS2LeadershipStatus.java index 33529edf7a..921a23e9cf 100644 --- a/service/src/java/org/apache/hive/service/servlet/HS2LeadershipStatus.java +++ b/service/src/java/org/apache/hive/service/servlet/HS2LeadershipStatus.java @@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory; /** - * Returns "true" if this HS2 instance is leader else "false". + * Returns 200 if this HS2 instance is leader. */ public class HS2LeadershipStatus extends HttpServlet { private static final Logger LOG = LoggerFactory.getLogger(HS2LeadershipStatus.class); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index b7a3b929be..d415a2672c 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1137; - ::apache::thrift::protocol::TType _etype1140; - xfer += iprot->readListBegin(_etype1140, _size1137); - this->success.resize(_size1137); - uint32_t _i1141; - for (_i1141 = 0; _i1141 < _size1137; ++_i1141) + uint32_t _size1143; + ::apache::thrift::protocol::TType _etype1146; + xfer += iprot->readListBegin(_etype1146, _size1143); + this->success.resize(_size1143); + uint32_t _i1147; + for (_i1147 = 0; _i1147 < _size1143; ++_i1147) { - xfer += iprot->readString(this->success[_i1141]); + xfer += iprot->readString(this->success[_i1147]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1142; - for (_iter1142 = this->success.begin(); _iter1142 != this->success.end(); ++_iter1142) + std::vector ::const_iterator _iter1148; + for (_iter1148 = this->success.begin(); _iter1148 != this->success.end(); ++_iter1148) { - xfer += oprot->writeString((*_iter1142)); + xfer += oprot->writeString((*_iter1148)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1143; - ::apache::thrift::protocol::TType _etype1146; - xfer += iprot->readListBegin(_etype1146, _size1143); - (*(this->success)).resize(_size1143); - uint32_t _i1147; - for (_i1147 = 0; _i1147 < _size1143; ++_i1147) + uint32_t _size1149; + ::apache::thrift::protocol::TType _etype1152; + xfer += iprot->readListBegin(_etype1152, _size1149); + (*(this->success)).resize(_size1149); + uint32_t _i1153; + for (_i1153 = 0; _i1153 < _size1149; ++_i1153) { - xfer += iprot->readString((*(this->success))[_i1147]); + xfer += iprot->readString((*(this->success))[_i1153]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1148; - ::apache::thrift::protocol::TType _etype1151; - xfer += iprot->readListBegin(_etype1151, _size1148); - this->success.resize(_size1148); - uint32_t _i1152; - for (_i1152 = 0; _i1152 < _size1148; ++_i1152) + uint32_t _size1154; + ::apache::thrift::protocol::TType _etype1157; + xfer += iprot->readListBegin(_etype1157, _size1154); + this->success.resize(_size1154); + uint32_t _i1158; + for (_i1158 = 0; _i1158 < _size1154; ++_i1158) { - xfer += iprot->readString(this->success[_i1152]); + xfer += iprot->readString(this->success[_i1158]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1153; - for (_iter1153 = this->success.begin(); _iter1153 != this->success.end(); ++_iter1153) + std::vector ::const_iterator _iter1159; + for (_iter1159 = this->success.begin(); _iter1159 != this->success.end(); ++_iter1159) { - xfer += oprot->writeString((*_iter1153)); + xfer += oprot->writeString((*_iter1159)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1154; - ::apache::thrift::protocol::TType _etype1157; - xfer += iprot->readListBegin(_etype1157, _size1154); - (*(this->success)).resize(_size1154); - uint32_t _i1158; - for (_i1158 = 0; _i1158 < _size1154; ++_i1158) + uint32_t _size1160; + ::apache::thrift::protocol::TType _etype1163; + xfer += iprot->readListBegin(_etype1163, _size1160); + (*(this->success)).resize(_size1160); + uint32_t _i1164; + for (_i1164 = 0; _i1164 < _size1160; ++_i1164) { - xfer += iprot->readString((*(this->success))[_i1158]); + xfer += iprot->readString((*(this->success))[_i1164]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1159; - ::apache::thrift::protocol::TType _ktype1160; - ::apache::thrift::protocol::TType _vtype1161; - xfer += iprot->readMapBegin(_ktype1160, _vtype1161, _size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + uint32_t _size1165; + ::apache::thrift::protocol::TType _ktype1166; + ::apache::thrift::protocol::TType _vtype1167; + xfer += iprot->readMapBegin(_ktype1166, _vtype1167, _size1165); + uint32_t _i1169; + for (_i1169 = 0; _i1169 < _size1165; ++_i1169) { - std::string _key1164; - xfer += iprot->readString(_key1164); - Type& _val1165 = this->success[_key1164]; - xfer += _val1165.read(iprot); + std::string _key1170; + xfer += iprot->readString(_key1170); + Type& _val1171 = this->success[_key1170]; + xfer += _val1171.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1166; - for (_iter1166 = this->success.begin(); _iter1166 != this->success.end(); ++_iter1166) + std::map ::const_iterator _iter1172; + for (_iter1172 = this->success.begin(); _iter1172 != this->success.end(); ++_iter1172) { - xfer += oprot->writeString(_iter1166->first); - xfer += _iter1166->second.write(oprot); + xfer += oprot->writeString(_iter1172->first); + xfer += _iter1172->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1167; - ::apache::thrift::protocol::TType _ktype1168; - ::apache::thrift::protocol::TType _vtype1169; - xfer += iprot->readMapBegin(_ktype1168, _vtype1169, _size1167); - uint32_t _i1171; - for (_i1171 = 0; _i1171 < _size1167; ++_i1171) + uint32_t _size1173; + ::apache::thrift::protocol::TType _ktype1174; + ::apache::thrift::protocol::TType _vtype1175; + xfer += iprot->readMapBegin(_ktype1174, _vtype1175, _size1173); + uint32_t _i1177; + for (_i1177 = 0; _i1177 < _size1173; ++_i1177) { - std::string _key1172; - xfer += iprot->readString(_key1172); - Type& _val1173 = (*(this->success))[_key1172]; - xfer += _val1173.read(iprot); + std::string _key1178; + xfer += iprot->readString(_key1178); + Type& _val1179 = (*(this->success))[_key1178]; + xfer += _val1179.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1174; - ::apache::thrift::protocol::TType _etype1177; - xfer += iprot->readListBegin(_etype1177, _size1174); - this->success.resize(_size1174); - uint32_t _i1178; - for (_i1178 = 0; _i1178 < _size1174; ++_i1178) + uint32_t _size1180; + ::apache::thrift::protocol::TType _etype1183; + xfer += iprot->readListBegin(_etype1183, _size1180); + this->success.resize(_size1180); + uint32_t _i1184; + for (_i1184 = 0; _i1184 < _size1180; ++_i1184) { - xfer += this->success[_i1178].read(iprot); + xfer += this->success[_i1184].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1179; - for (_iter1179 = this->success.begin(); _iter1179 != this->success.end(); ++_iter1179) + std::vector ::const_iterator _iter1185; + for (_iter1185 = this->success.begin(); _iter1185 != this->success.end(); ++_iter1185) { - xfer += (*_iter1179).write(oprot); + xfer += (*_iter1185).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1180; - ::apache::thrift::protocol::TType _etype1183; - xfer += iprot->readListBegin(_etype1183, _size1180); - (*(this->success)).resize(_size1180); - uint32_t _i1184; - for (_i1184 = 0; _i1184 < _size1180; ++_i1184) + uint32_t _size1186; + ::apache::thrift::protocol::TType _etype1189; + xfer += iprot->readListBegin(_etype1189, _size1186); + (*(this->success)).resize(_size1186); + uint32_t _i1190; + for (_i1190 = 0; _i1190 < _size1186; ++_i1190) { - xfer += (*(this->success))[_i1184].read(iprot); + xfer += (*(this->success))[_i1190].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1185; - ::apache::thrift::protocol::TType _etype1188; - xfer += iprot->readListBegin(_etype1188, _size1185); - this->success.resize(_size1185); - uint32_t _i1189; - for (_i1189 = 0; _i1189 < _size1185; ++_i1189) + uint32_t _size1191; + ::apache::thrift::protocol::TType _etype1194; + xfer += iprot->readListBegin(_etype1194, _size1191); + this->success.resize(_size1191); + uint32_t _i1195; + for (_i1195 = 0; _i1195 < _size1191; ++_i1195) { - xfer += this->success[_i1189].read(iprot); + xfer += this->success[_i1195].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1190; - for (_iter1190 = this->success.begin(); _iter1190 != this->success.end(); ++_iter1190) + std::vector ::const_iterator _iter1196; + for (_iter1196 = this->success.begin(); _iter1196 != this->success.end(); ++_iter1196) { - xfer += (*_iter1190).write(oprot); + xfer += (*_iter1196).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1191; - ::apache::thrift::protocol::TType _etype1194; - xfer += iprot->readListBegin(_etype1194, _size1191); - (*(this->success)).resize(_size1191); - uint32_t _i1195; - for (_i1195 = 0; _i1195 < _size1191; ++_i1195) + uint32_t _size1197; + ::apache::thrift::protocol::TType _etype1200; + xfer += iprot->readListBegin(_etype1200, _size1197); + (*(this->success)).resize(_size1197); + uint32_t _i1201; + for (_i1201 = 0; _i1201 < _size1197; ++_i1201) { - xfer += (*(this->success))[_i1195].read(iprot); + xfer += (*(this->success))[_i1201].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->success.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1202; + ::apache::thrift::protocol::TType _etype1205; + xfer += iprot->readListBegin(_etype1205, _size1202); + this->success.resize(_size1202); + uint32_t _i1206; + for (_i1206 = 0; _i1206 < _size1202; ++_i1206) { - xfer += this->success[_i1200].read(iprot); + xfer += this->success[_i1206].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1201; - for (_iter1201 = this->success.begin(); _iter1201 != this->success.end(); ++_iter1201) + std::vector ::const_iterator _iter1207; + for (_iter1207 = this->success.begin(); _iter1207 != this->success.end(); ++_iter1207) { - xfer += (*_iter1201).write(oprot); + xfer += (*_iter1207).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - (*(this->success)).resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1208; + ::apache::thrift::protocol::TType _etype1211; + xfer += iprot->readListBegin(_etype1211, _size1208); + (*(this->success)).resize(_size1208); + uint32_t _i1212; + for (_i1212 = 0; _i1212 < _size1208; ++_i1212) { - xfer += (*(this->success))[_i1206].read(iprot); + xfer += (*(this->success))[_i1212].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1207; - ::apache::thrift::protocol::TType _etype1210; - xfer += iprot->readListBegin(_etype1210, _size1207); - this->success.resize(_size1207); - uint32_t _i1211; - for (_i1211 = 0; _i1211 < _size1207; ++_i1211) + uint32_t _size1213; + ::apache::thrift::protocol::TType _etype1216; + xfer += iprot->readListBegin(_etype1216, _size1213); + this->success.resize(_size1213); + uint32_t _i1217; + for (_i1217 = 0; _i1217 < _size1213; ++_i1217) { - xfer += this->success[_i1211].read(iprot); + xfer += this->success[_i1217].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1212; - for (_iter1212 = this->success.begin(); _iter1212 != this->success.end(); ++_iter1212) + std::vector ::const_iterator _iter1218; + for (_iter1218 = this->success.begin(); _iter1218 != this->success.end(); ++_iter1218) { - xfer += (*_iter1212).write(oprot); + xfer += (*_iter1218).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1213; - ::apache::thrift::protocol::TType _etype1216; - xfer += iprot->readListBegin(_etype1216, _size1213); - (*(this->success)).resize(_size1213); - uint32_t _i1217; - for (_i1217 = 0; _i1217 < _size1213; ++_i1217) + uint32_t _size1219; + ::apache::thrift::protocol::TType _etype1222; + xfer += iprot->readListBegin(_etype1222, _size1219); + (*(this->success)).resize(_size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - xfer += (*(this->success))[_i1217].read(iprot); + xfer += (*(this->success))[_i1223].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - this->primaryKeys.resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1224; + ::apache::thrift::protocol::TType _etype1227; + xfer += iprot->readListBegin(_etype1227, _size1224); + this->primaryKeys.resize(_size1224); + uint32_t _i1228; + for (_i1228 = 0; _i1228 < _size1224; ++_i1228) { - xfer += this->primaryKeys[_i1222].read(iprot); + xfer += this->primaryKeys[_i1228].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - this->foreignKeys.resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1229; + ::apache::thrift::protocol::TType _etype1232; + xfer += iprot->readListBegin(_etype1232, _size1229); + this->foreignKeys.resize(_size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - xfer += this->foreignKeys[_i1227].read(iprot); + xfer += this->foreignKeys[_i1233].read(iprot); } xfer += iprot->readListEnd(); } @@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _etype1231; - xfer += iprot->readListBegin(_etype1231, _size1228); - this->uniqueConstraints.resize(_size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + this->uniqueConstraints.resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += this->uniqueConstraints[_i1232].read(iprot); + xfer += this->uniqueConstraints[_i1238].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1233; - ::apache::thrift::protocol::TType _etype1236; - xfer += iprot->readListBegin(_etype1236, _size1233); - this->notNullConstraints.resize(_size1233); - uint32_t _i1237; - for (_i1237 = 0; _i1237 < _size1233; ++_i1237) + uint32_t _size1239; + ::apache::thrift::protocol::TType _etype1242; + xfer += iprot->readListBegin(_etype1242, _size1239); + this->notNullConstraints.resize(_size1239); + uint32_t _i1243; + for (_i1243 = 0; _i1243 < _size1239; ++_i1243) { - xfer += this->notNullConstraints[_i1237].read(iprot); + xfer += this->notNullConstraints[_i1243].read(iprot); } xfer += iprot->readListEnd(); } @@ -4598,14 +4598,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1238; - ::apache::thrift::protocol::TType _etype1241; - xfer += iprot->readListBegin(_etype1241, _size1238); - this->defaultConstraints.resize(_size1238); - uint32_t _i1242; - for (_i1242 = 0; _i1242 < _size1238; ++_i1242) + uint32_t _size1244; + ::apache::thrift::protocol::TType _etype1247; + xfer += iprot->readListBegin(_etype1247, _size1244); + this->defaultConstraints.resize(_size1244); + uint32_t _i1248; + for (_i1248 = 0; _i1248 < _size1244; ++_i1248) { - xfer += this->defaultConstraints[_i1242].read(iprot); + xfer += this->defaultConstraints[_i1248].read(iprot); } xfer += iprot->readListEnd(); } @@ -4638,10 +4638,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter1243; - for (_iter1243 = this->primaryKeys.begin(); _iter1243 != this->primaryKeys.end(); ++_iter1243) + std::vector ::const_iterator _iter1249; + for (_iter1249 = this->primaryKeys.begin(); _iter1249 != this->primaryKeys.end(); ++_iter1249) { - xfer += (*_iter1243).write(oprot); + xfer += (*_iter1249).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4650,10 +4650,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter1244; - for (_iter1244 = this->foreignKeys.begin(); _iter1244 != this->foreignKeys.end(); ++_iter1244) + std::vector ::const_iterator _iter1250; + for (_iter1250 = this->foreignKeys.begin(); _iter1250 != this->foreignKeys.end(); ++_iter1250) { - xfer += (*_iter1244).write(oprot); + xfer += (*_iter1250).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4662,10 +4662,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter1245; - for (_iter1245 = this->uniqueConstraints.begin(); _iter1245 != this->uniqueConstraints.end(); ++_iter1245) + std::vector ::const_iterator _iter1251; + for (_iter1251 = this->uniqueConstraints.begin(); _iter1251 != this->uniqueConstraints.end(); ++_iter1251) { - xfer += (*_iter1245).write(oprot); + xfer += (*_iter1251).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4674,10 +4674,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter1246; - for (_iter1246 = this->notNullConstraints.begin(); _iter1246 != this->notNullConstraints.end(); ++_iter1246) + std::vector ::const_iterator _iter1252; + for (_iter1252 = this->notNullConstraints.begin(); _iter1252 != this->notNullConstraints.end(); ++_iter1252) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1252).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4686,10 +4686,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter1247; - for (_iter1247 = this->defaultConstraints.begin(); _iter1247 != this->defaultConstraints.end(); ++_iter1247) + std::vector ::const_iterator _iter1253; + for (_iter1253 = this->defaultConstraints.begin(); _iter1253 != this->defaultConstraints.end(); ++_iter1253) { - xfer += (*_iter1247).write(oprot); + xfer += (*_iter1253).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4717,10 +4717,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter1248; - for (_iter1248 = (*(this->primaryKeys)).begin(); _iter1248 != (*(this->primaryKeys)).end(); ++_iter1248) + std::vector ::const_iterator _iter1254; + for (_iter1254 = (*(this->primaryKeys)).begin(); _iter1254 != (*(this->primaryKeys)).end(); ++_iter1254) { - xfer += (*_iter1248).write(oprot); + xfer += (*_iter1254).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4729,10 +4729,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter1249; - for (_iter1249 = (*(this->foreignKeys)).begin(); _iter1249 != (*(this->foreignKeys)).end(); ++_iter1249) + std::vector ::const_iterator _iter1255; + for (_iter1255 = (*(this->foreignKeys)).begin(); _iter1255 != (*(this->foreignKeys)).end(); ++_iter1255) { - xfer += (*_iter1249).write(oprot); + xfer += (*_iter1255).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4741,10 +4741,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter1250; - for (_iter1250 = (*(this->uniqueConstraints)).begin(); _iter1250 != (*(this->uniqueConstraints)).end(); ++_iter1250) + std::vector ::const_iterator _iter1256; + for (_iter1256 = (*(this->uniqueConstraints)).begin(); _iter1256 != (*(this->uniqueConstraints)).end(); ++_iter1256) { - xfer += (*_iter1250).write(oprot); + xfer += (*_iter1256).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4753,10 +4753,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter1251; - for (_iter1251 = (*(this->notNullConstraints)).begin(); _iter1251 != (*(this->notNullConstraints)).end(); ++_iter1251) + std::vector ::const_iterator _iter1257; + for (_iter1257 = (*(this->notNullConstraints)).begin(); _iter1257 != (*(this->notNullConstraints)).end(); ++_iter1257) { - xfer += (*_iter1251).write(oprot); + xfer += (*_iter1257).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4765,10 +4765,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->defaultConstraints)).size())); - std::vector ::const_iterator _iter1252; - for (_iter1252 = (*(this->defaultConstraints)).begin(); _iter1252 != (*(this->defaultConstraints)).end(); ++_iter1252) + std::vector ::const_iterator _iter1258; + for (_iter1258 = (*(this->defaultConstraints)).begin(); _iter1258 != (*(this->defaultConstraints)).end(); ++_iter1258) { - xfer += (*_iter1252).write(oprot); + xfer += (*_iter1258).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6729,14 +6729,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _etype1256; - xfer += iprot->readListBegin(_etype1256, _size1253); - this->partNames.resize(_size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1259; + ::apache::thrift::protocol::TType _etype1262; + xfer += iprot->readListBegin(_etype1262, _size1259); + this->partNames.resize(_size1259); + uint32_t _i1263; + for (_i1263 = 0; _i1263 < _size1259; ++_i1263) { - xfer += iprot->readString(this->partNames[_i1257]); + xfer += iprot->readString(this->partNames[_i1263]); } xfer += iprot->readListEnd(); } @@ -6773,10 +6773,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter1258; - for (_iter1258 = this->partNames.begin(); _iter1258 != this->partNames.end(); ++_iter1258) + std::vector ::const_iterator _iter1264; + for (_iter1264 = this->partNames.begin(); _iter1264 != this->partNames.end(); ++_iter1264) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1264)); } xfer += oprot->writeListEnd(); } @@ -6808,10 +6808,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->partNames)).size())); - std::vector ::const_iterator _iter1259; - for (_iter1259 = (*(this->partNames)).begin(); _iter1259 != (*(this->partNames)).end(); ++_iter1259) + std::vector ::const_iterator _iter1265; + for (_iter1265 = (*(this->partNames)).begin(); _iter1265 != (*(this->partNames)).end(); ++_iter1265) { - xfer += oprot->writeString((*_iter1259)); + xfer += oprot->writeString((*_iter1265)); } xfer += oprot->writeListEnd(); } @@ -7055,14 +7055,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - this->success.resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + uint32_t _size1266; + ::apache::thrift::protocol::TType _etype1269; + xfer += iprot->readListBegin(_etype1269, _size1266); + this->success.resize(_size1266); + uint32_t _i1270; + for (_i1270 = 0; _i1270 < _size1266; ++_i1270) { - xfer += iprot->readString(this->success[_i1264]); + xfer += iprot->readString(this->success[_i1270]); } xfer += iprot->readListEnd(); } @@ -7101,10 +7101,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1265; - for (_iter1265 = this->success.begin(); _iter1265 != this->success.end(); ++_iter1265) + std::vector ::const_iterator _iter1271; + for (_iter1271 = this->success.begin(); _iter1271 != this->success.end(); ++_iter1271) { - xfer += oprot->writeString((*_iter1265)); + xfer += oprot->writeString((*_iter1271)); } xfer += oprot->writeListEnd(); } @@ -7149,14 +7149,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - (*(this->success)).resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + uint32_t _size1272; + ::apache::thrift::protocol::TType _etype1275; + xfer += iprot->readListBegin(_etype1275, _size1272); + (*(this->success)).resize(_size1272); + uint32_t _i1276; + for (_i1276 = 0; _i1276 < _size1272; ++_i1276) { - xfer += iprot->readString((*(this->success))[_i1270]); + xfer += iprot->readString((*(this->success))[_i1276]); } xfer += iprot->readListEnd(); } @@ -7326,14 +7326,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->success.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + uint32_t _size1277; + ::apache::thrift::protocol::TType _etype1280; + xfer += iprot->readListBegin(_etype1280, _size1277); + this->success.resize(_size1277); + uint32_t _i1281; + for (_i1281 = 0; _i1281 < _size1277; ++_i1281) { - xfer += iprot->readString(this->success[_i1275]); + xfer += iprot->readString(this->success[_i1281]); } xfer += iprot->readListEnd(); } @@ -7372,10 +7372,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift:: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1276; - for (_iter1276 = this->success.begin(); _iter1276 != this->success.end(); ++_iter1276) + std::vector ::const_iterator _iter1282; + for (_iter1282 = this->success.begin(); _iter1282 != this->success.end(); ++_iter1282) { - xfer += oprot->writeString((*_iter1276)); + xfer += oprot->writeString((*_iter1282)); } xfer += oprot->writeListEnd(); } @@ -7420,14 +7420,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - (*(this->success)).resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1283; + ::apache::thrift::protocol::TType _etype1286; + xfer += iprot->readListBegin(_etype1286, _size1283); + (*(this->success)).resize(_size1283); + uint32_t _i1287; + for (_i1287 = 0; _i1287 < _size1283; ++_i1287) { - xfer += iprot->readString((*(this->success))[_i1281]); + xfer += iprot->readString((*(this->success))[_i1287]); } xfer += iprot->readListEnd(); } @@ -7565,14 +7565,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->success.resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1288; + ::apache::thrift::protocol::TType _etype1291; + xfer += iprot->readListBegin(_etype1291, _size1288); + this->success.resize(_size1288); + uint32_t _i1292; + for (_i1292 = 0; _i1292 < _size1288; ++_i1292) { - xfer += iprot->readString(this->success[_i1286]); + xfer += iprot->readString(this->success[_i1292]); } xfer += iprot->readListEnd(); } @@ -7611,10 +7611,10 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::write( xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1287; - for (_iter1287 = this->success.begin(); _iter1287 != this->success.end(); ++_iter1287) + std::vector ::const_iterator _iter1293; + for (_iter1293 = this->success.begin(); _iter1293 != this->success.end(); ++_iter1293) { - xfer += oprot->writeString((*_iter1287)); + xfer += oprot->writeString((*_iter1293)); } xfer += oprot->writeListEnd(); } @@ -7659,14 +7659,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1288; - ::apache::thrift::protocol::TType _etype1291; - xfer += iprot->readListBegin(_etype1291, _size1288); - (*(this->success)).resize(_size1288); - uint32_t _i1292; - for (_i1292 = 0; _i1292 < _size1288; ++_i1292) + uint32_t _size1294; + ::apache::thrift::protocol::TType _etype1297; + xfer += iprot->readListBegin(_etype1297, _size1294); + (*(this->success)).resize(_size1294); + uint32_t _i1298; + for (_i1298 = 0; _i1298 < _size1294; ++_i1298) { - xfer += iprot->readString((*(this->success))[_i1292]); + xfer += iprot->readString((*(this->success))[_i1298]); } xfer += iprot->readListEnd(); } @@ -7741,14 +7741,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size1293; - ::apache::thrift::protocol::TType _etype1296; - xfer += iprot->readListBegin(_etype1296, _size1293); - this->tbl_types.resize(_size1293); - uint32_t _i1297; - for (_i1297 = 0; _i1297 < _size1293; ++_i1297) + uint32_t _size1299; + ::apache::thrift::protocol::TType _etype1302; + xfer += iprot->readListBegin(_etype1302, _size1299); + this->tbl_types.resize(_size1299); + uint32_t _i1303; + for (_i1303 = 0; _i1303 < _size1299; ++_i1303) { - xfer += iprot->readString(this->tbl_types[_i1297]); + xfer += iprot->readString(this->tbl_types[_i1303]); } xfer += iprot->readListEnd(); } @@ -7785,10 +7785,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter1298; - for (_iter1298 = this->tbl_types.begin(); _iter1298 != this->tbl_types.end(); ++_iter1298) + std::vector ::const_iterator _iter1304; + for (_iter1304 = this->tbl_types.begin(); _iter1304 != this->tbl_types.end(); ++_iter1304) { - xfer += oprot->writeString((*_iter1298)); + xfer += oprot->writeString((*_iter1304)); } xfer += oprot->writeListEnd(); } @@ -7820,10 +7820,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter1299; - for (_iter1299 = (*(this->tbl_types)).begin(); _iter1299 != (*(this->tbl_types)).end(); ++_iter1299) + std::vector ::const_iterator _iter1305; + for (_iter1305 = (*(this->tbl_types)).begin(); _iter1305 != (*(this->tbl_types)).end(); ++_iter1305) { - xfer += oprot->writeString((*_iter1299)); + xfer += oprot->writeString((*_iter1305)); } xfer += oprot->writeListEnd(); } @@ -7864,14 +7864,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - this->success.resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + uint32_t _size1306; + ::apache::thrift::protocol::TType _etype1309; + xfer += iprot->readListBegin(_etype1309, _size1306); + this->success.resize(_size1306); + uint32_t _i1310; + for (_i1310 = 0; _i1310 < _size1306; ++_i1310) { - xfer += this->success[_i1304].read(iprot); + xfer += this->success[_i1310].read(iprot); } xfer += iprot->readListEnd(); } @@ -7910,10 +7910,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1305; - for (_iter1305 = this->success.begin(); _iter1305 != this->success.end(); ++_iter1305) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->success.begin(); _iter1311 != this->success.end(); ++_iter1311) { - xfer += (*_iter1305).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7958,14 +7958,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - (*(this->success)).resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1312; + ::apache::thrift::protocol::TType _etype1315; + xfer += iprot->readListBegin(_etype1315, _size1312); + (*(this->success)).resize(_size1312); + uint32_t _i1316; + for (_i1316 = 0; _i1316 < _size1312; ++_i1316) { - xfer += (*(this->success))[_i1310].read(iprot); + xfer += (*(this->success))[_i1316].read(iprot); } xfer += iprot->readListEnd(); } @@ -8103,14 +8103,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + uint32_t _size1317; + ::apache::thrift::protocol::TType _etype1320; + xfer += iprot->readListBegin(_etype1320, _size1317); + this->success.resize(_size1317); + uint32_t _i1321; + for (_i1321 = 0; _i1321 < _size1317; ++_i1321) { - xfer += iprot->readString(this->success[_i1315]); + xfer += iprot->readString(this->success[_i1321]); } xfer += iprot->readListEnd(); } @@ -8149,10 +8149,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1322; + for (_iter1322 = this->success.begin(); _iter1322 != this->success.end(); ++_iter1322) { - xfer += oprot->writeString((*_iter1316)); + xfer += oprot->writeString((*_iter1322)); } xfer += oprot->writeListEnd(); } @@ -8197,14 +8197,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1323; + ::apache::thrift::protocol::TType _etype1326; + xfer += iprot->readListBegin(_etype1326, _size1323); + (*(this->success)).resize(_size1323); + uint32_t _i1327; + for (_i1327 = 0; _i1327 < _size1323; ++_i1327) { - xfer += iprot->readString((*(this->success))[_i1321]); + xfer += iprot->readString((*(this->success))[_i1327]); } xfer += iprot->readListEnd(); } @@ -8514,14 +8514,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->tbl_names.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1328; + ::apache::thrift::protocol::TType _etype1331; + xfer += iprot->readListBegin(_etype1331, _size1328); + this->tbl_names.resize(_size1328); + uint32_t _i1332; + for (_i1332 = 0; _i1332 < _size1328; ++_i1332) { - xfer += iprot->readString(this->tbl_names[_i1326]); + xfer += iprot->readString(this->tbl_names[_i1332]); } xfer += iprot->readListEnd(); } @@ -8554,10 +8554,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1327; - for (_iter1327 = this->tbl_names.begin(); _iter1327 != this->tbl_names.end(); ++_iter1327) + std::vector ::const_iterator _iter1333; + for (_iter1333 = this->tbl_names.begin(); _iter1333 != this->tbl_names.end(); ++_iter1333) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1333)); } xfer += oprot->writeListEnd(); } @@ -8585,10 +8585,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1328; - for (_iter1328 = (*(this->tbl_names)).begin(); _iter1328 != (*(this->tbl_names)).end(); ++_iter1328) + std::vector ::const_iterator _iter1334; + for (_iter1334 = (*(this->tbl_names)).begin(); _iter1334 != (*(this->tbl_names)).end(); ++_iter1334) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1334)); } xfer += oprot->writeListEnd(); } @@ -8629,14 +8629,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1329; - ::apache::thrift::protocol::TType _etype1332; - xfer += iprot->readListBegin(_etype1332, _size1329); - this->success.resize(_size1329); - uint32_t _i1333; - for (_i1333 = 0; _i1333 < _size1329; ++_i1333) + uint32_t _size1335; + ::apache::thrift::protocol::TType _etype1338; + xfer += iprot->readListBegin(_etype1338, _size1335); + this->success.resize(_size1335); + uint32_t _i1339; + for (_i1339 = 0; _i1339 < _size1335; ++_i1339) { - xfer += this->success[_i1333].read(iprot); + xfer += this->success[_i1339].read(iprot); } xfer += iprot->readListEnd(); } @@ -8667,10 +8667,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1334; - for (_iter1334 = this->success.begin(); _iter1334 != this->success.end(); ++_iter1334) + std::vector
::const_iterator _iter1340; + for (_iter1340 = this->success.begin(); _iter1340 != this->success.end(); ++_iter1340) { - xfer += (*_iter1334).write(oprot); + xfer += (*_iter1340).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8711,14 +8711,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1335; - ::apache::thrift::protocol::TType _etype1338; - xfer += iprot->readListBegin(_etype1338, _size1335); - (*(this->success)).resize(_size1335); - uint32_t _i1339; - for (_i1339 = 0; _i1339 < _size1335; ++_i1339) + uint32_t _size1341; + ::apache::thrift::protocol::TType _etype1344; + xfer += iprot->readListBegin(_etype1344, _size1341); + (*(this->success)).resize(_size1341); + uint32_t _i1345; + for (_i1345 = 0; _i1345 < _size1341; ++_i1345) { - xfer += (*(this->success))[_i1339].read(iprot); + xfer += (*(this->success))[_i1345].read(iprot); } xfer += iprot->readListEnd(); } @@ -9251,14 +9251,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1340; - ::apache::thrift::protocol::TType _etype1343; - xfer += iprot->readListBegin(_etype1343, _size1340); - this->tbl_names.resize(_size1340); - uint32_t _i1344; - for (_i1344 = 0; _i1344 < _size1340; ++_i1344) + uint32_t _size1346; + ::apache::thrift::protocol::TType _etype1349; + xfer += iprot->readListBegin(_etype1349, _size1346); + this->tbl_names.resize(_size1346); + uint32_t _i1350; + for (_i1350 = 0; _i1350 < _size1346; ++_i1350) { - xfer += iprot->readString(this->tbl_names[_i1344]); + xfer += iprot->readString(this->tbl_names[_i1350]); } xfer += iprot->readListEnd(); } @@ -9291,10 +9291,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(: xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1345; - for (_iter1345 = this->tbl_names.begin(); _iter1345 != this->tbl_names.end(); ++_iter1345) + std::vector ::const_iterator _iter1351; + for (_iter1351 = this->tbl_names.begin(); _iter1351 != this->tbl_names.end(); ++_iter1351) { - xfer += oprot->writeString((*_iter1345)); + xfer += oprot->writeString((*_iter1351)); } xfer += oprot->writeListEnd(); } @@ -9322,10 +9322,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write( xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1346; - for (_iter1346 = (*(this->tbl_names)).begin(); _iter1346 != (*(this->tbl_names)).end(); ++_iter1346) + std::vector ::const_iterator _iter1352; + for (_iter1352 = (*(this->tbl_names)).begin(); _iter1352 != (*(this->tbl_names)).end(); ++_iter1352) { - xfer += oprot->writeString((*_iter1346)); + xfer += oprot->writeString((*_iter1352)); } xfer += oprot->writeListEnd(); } @@ -9366,17 +9366,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1347; - ::apache::thrift::protocol::TType _ktype1348; - ::apache::thrift::protocol::TType _vtype1349; - xfer += iprot->readMapBegin(_ktype1348, _vtype1349, _size1347); - uint32_t _i1351; - for (_i1351 = 0; _i1351 < _size1347; ++_i1351) + uint32_t _size1353; + ::apache::thrift::protocol::TType _ktype1354; + ::apache::thrift::protocol::TType _vtype1355; + xfer += iprot->readMapBegin(_ktype1354, _vtype1355, _size1353); + uint32_t _i1357; + for (_i1357 = 0; _i1357 < _size1353; ++_i1357) { - std::string _key1352; - xfer += iprot->readString(_key1352); - Materialization& _val1353 = this->success[_key1352]; - xfer += _val1353.read(iprot); + std::string _key1358; + xfer += iprot->readString(_key1358); + Materialization& _val1359 = this->success[_key1358]; + xfer += _val1359.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9431,11 +9431,11 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1354; - for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) + std::map ::const_iterator _iter1360; + for (_iter1360 = this->success.begin(); _iter1360 != this->success.end(); ++_iter1360) { - xfer += oprot->writeString(_iter1354->first); - xfer += _iter1354->second.write(oprot); + xfer += oprot->writeString(_iter1360->first); + xfer += _iter1360->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -9488,17 +9488,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1355; - ::apache::thrift::protocol::TType _ktype1356; - ::apache::thrift::protocol::TType _vtype1357; - xfer += iprot->readMapBegin(_ktype1356, _vtype1357, _size1355); - uint32_t _i1359; - for (_i1359 = 0; _i1359 < _size1355; ++_i1359) + uint32_t _size1361; + ::apache::thrift::protocol::TType _ktype1362; + ::apache::thrift::protocol::TType _vtype1363; + xfer += iprot->readMapBegin(_ktype1362, _vtype1363, _size1361); + uint32_t _i1365; + for (_i1365 = 0; _i1365 < _size1361; ++_i1365) { - std::string _key1360; - xfer += iprot->readString(_key1360); - Materialization& _val1361 = (*(this->success))[_key1360]; - xfer += _val1361.read(iprot); + std::string _key1366; + xfer += iprot->readString(_key1366); + Materialization& _val1367 = (*(this->success))[_key1366]; + xfer += _val1367.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9943,14 +9943,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1362; - ::apache::thrift::protocol::TType _etype1365; - xfer += iprot->readListBegin(_etype1365, _size1362); - this->success.resize(_size1362); - uint32_t _i1366; - for (_i1366 = 0; _i1366 < _size1362; ++_i1366) + uint32_t _size1368; + ::apache::thrift::protocol::TType _etype1371; + xfer += iprot->readListBegin(_etype1371, _size1368); + this->success.resize(_size1368); + uint32_t _i1372; + for (_i1372 = 0; _i1372 < _size1368; ++_i1372) { - xfer += iprot->readString(this->success[_i1366]); + xfer += iprot->readString(this->success[_i1372]); } xfer += iprot->readListEnd(); } @@ -10005,10 +10005,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1367; - for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) + std::vector ::const_iterator _iter1373; + for (_iter1373 = this->success.begin(); _iter1373 != this->success.end(); ++_iter1373) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1373)); } xfer += oprot->writeListEnd(); } @@ -10061,14 +10061,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - (*(this->success)).resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1374; + ::apache::thrift::protocol::TType _etype1377; + xfer += iprot->readListBegin(_etype1377, _size1374); + (*(this->success)).resize(_size1374); + uint32_t _i1378; + for (_i1378 = 0; _i1378 < _size1374; ++_i1378) { - xfer += iprot->readString((*(this->success))[_i1372]); + xfer += iprot->readString((*(this->success))[_i1378]); } xfer += iprot->readListEnd(); } @@ -11402,14 +11402,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - this->new_parts.resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1379; + ::apache::thrift::protocol::TType _etype1382; + xfer += iprot->readListBegin(_etype1382, _size1379); + this->new_parts.resize(_size1379); + uint32_t _i1383; + for (_i1383 = 0; _i1383 < _size1379; ++_i1383) { - xfer += this->new_parts[_i1377].read(iprot); + xfer += this->new_parts[_i1383].read(iprot); } xfer += iprot->readListEnd(); } @@ -11438,10 +11438,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1378; - for (_iter1378 = this->new_parts.begin(); _iter1378 != this->new_parts.end(); ++_iter1378) + std::vector ::const_iterator _iter1384; + for (_iter1384 = this->new_parts.begin(); _iter1384 != this->new_parts.end(); ++_iter1384) { - xfer += (*_iter1378).write(oprot); + xfer += (*_iter1384).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11465,10 +11465,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1379; - for (_iter1379 = (*(this->new_parts)).begin(); _iter1379 != (*(this->new_parts)).end(); ++_iter1379) + std::vector ::const_iterator _iter1385; + for (_iter1385 = (*(this->new_parts)).begin(); _iter1385 != (*(this->new_parts)).end(); ++_iter1385) { - xfer += (*_iter1379).write(oprot); + xfer += (*_iter1385).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11677,14 +11677,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1380; - ::apache::thrift::protocol::TType _etype1383; - xfer += iprot->readListBegin(_etype1383, _size1380); - this->new_parts.resize(_size1380); - uint32_t _i1384; - for (_i1384 = 0; _i1384 < _size1380; ++_i1384) + uint32_t _size1386; + ::apache::thrift::protocol::TType _etype1389; + xfer += iprot->readListBegin(_etype1389, _size1386); + this->new_parts.resize(_size1386); + uint32_t _i1390; + for (_i1390 = 0; _i1390 < _size1386; ++_i1390) { - xfer += this->new_parts[_i1384].read(iprot); + xfer += this->new_parts[_i1390].read(iprot); } xfer += iprot->readListEnd(); } @@ -11713,10 +11713,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1385; - for (_iter1385 = this->new_parts.begin(); _iter1385 != this->new_parts.end(); ++_iter1385) + std::vector ::const_iterator _iter1391; + for (_iter1391 = this->new_parts.begin(); _iter1391 != this->new_parts.end(); ++_iter1391) { - xfer += (*_iter1385).write(oprot); + xfer += (*_iter1391).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11740,10 +11740,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1386; - for (_iter1386 = (*(this->new_parts)).begin(); _iter1386 != (*(this->new_parts)).end(); ++_iter1386) + std::vector ::const_iterator _iter1392; + for (_iter1392 = (*(this->new_parts)).begin(); _iter1392 != (*(this->new_parts)).end(); ++_iter1392) { - xfer += (*_iter1386).write(oprot); + xfer += (*_iter1392).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11968,14 +11968,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1387; - ::apache::thrift::protocol::TType _etype1390; - xfer += iprot->readListBegin(_etype1390, _size1387); - this->part_vals.resize(_size1387); - uint32_t _i1391; - for (_i1391 = 0; _i1391 < _size1387; ++_i1391) + uint32_t _size1393; + ::apache::thrift::protocol::TType _etype1396; + xfer += iprot->readListBegin(_etype1396, _size1393); + this->part_vals.resize(_size1393); + uint32_t _i1397; + for (_i1397 = 0; _i1397 < _size1393; ++_i1397) { - xfer += iprot->readString(this->part_vals[_i1391]); + xfer += iprot->readString(this->part_vals[_i1397]); } xfer += iprot->readListEnd(); } @@ -12012,10 +12012,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1392; - for (_iter1392 = this->part_vals.begin(); _iter1392 != this->part_vals.end(); ++_iter1392) + std::vector ::const_iterator _iter1398; + for (_iter1398 = this->part_vals.begin(); _iter1398 != this->part_vals.end(); ++_iter1398) { - xfer += oprot->writeString((*_iter1392)); + xfer += oprot->writeString((*_iter1398)); } xfer += oprot->writeListEnd(); } @@ -12047,10 +12047,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1393; - for (_iter1393 = (*(this->part_vals)).begin(); _iter1393 != (*(this->part_vals)).end(); ++_iter1393) + std::vector ::const_iterator _iter1399; + for (_iter1399 = (*(this->part_vals)).begin(); _iter1399 != (*(this->part_vals)).end(); ++_iter1399) { - xfer += oprot->writeString((*_iter1393)); + xfer += oprot->writeString((*_iter1399)); } xfer += oprot->writeListEnd(); } @@ -12522,14 +12522,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1394; - ::apache::thrift::protocol::TType _etype1397; - xfer += iprot->readListBegin(_etype1397, _size1394); - this->part_vals.resize(_size1394); - uint32_t _i1398; - for (_i1398 = 0; _i1398 < _size1394; ++_i1398) + uint32_t _size1400; + ::apache::thrift::protocol::TType _etype1403; + xfer += iprot->readListBegin(_etype1403, _size1400); + this->part_vals.resize(_size1400); + uint32_t _i1404; + for (_i1404 = 0; _i1404 < _size1400; ++_i1404) { - xfer += iprot->readString(this->part_vals[_i1398]); + xfer += iprot->readString(this->part_vals[_i1404]); } xfer += iprot->readListEnd(); } @@ -12574,10 +12574,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1399; - for (_iter1399 = this->part_vals.begin(); _iter1399 != this->part_vals.end(); ++_iter1399) + std::vector ::const_iterator _iter1405; + for (_iter1405 = this->part_vals.begin(); _iter1405 != this->part_vals.end(); ++_iter1405) { - xfer += oprot->writeString((*_iter1399)); + xfer += oprot->writeString((*_iter1405)); } xfer += oprot->writeListEnd(); } @@ -12613,10 +12613,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1400; - for (_iter1400 = (*(this->part_vals)).begin(); _iter1400 != (*(this->part_vals)).end(); ++_iter1400) + std::vector ::const_iterator _iter1406; + for (_iter1406 = (*(this->part_vals)).begin(); _iter1406 != (*(this->part_vals)).end(); ++_iter1406) { - xfer += oprot->writeString((*_iter1400)); + xfer += oprot->writeString((*_iter1406)); } xfer += oprot->writeListEnd(); } @@ -13419,14 +13419,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->part_vals.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1407; + ::apache::thrift::protocol::TType _etype1410; + xfer += iprot->readListBegin(_etype1410, _size1407); + this->part_vals.resize(_size1407); + uint32_t _i1411; + for (_i1411 = 0; _i1411 < _size1407; ++_i1411) { - xfer += iprot->readString(this->part_vals[_i1405]); + xfer += iprot->readString(this->part_vals[_i1411]); } xfer += iprot->readListEnd(); } @@ -13471,10 +13471,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1406; - for (_iter1406 = this->part_vals.begin(); _iter1406 != this->part_vals.end(); ++_iter1406) + std::vector ::const_iterator _iter1412; + for (_iter1412 = this->part_vals.begin(); _iter1412 != this->part_vals.end(); ++_iter1412) { - xfer += oprot->writeString((*_iter1406)); + xfer += oprot->writeString((*_iter1412)); } xfer += oprot->writeListEnd(); } @@ -13510,10 +13510,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1407; - for (_iter1407 = (*(this->part_vals)).begin(); _iter1407 != (*(this->part_vals)).end(); ++_iter1407) + std::vector ::const_iterator _iter1413; + for (_iter1413 = (*(this->part_vals)).begin(); _iter1413 != (*(this->part_vals)).end(); ++_iter1413) { - xfer += oprot->writeString((*_iter1407)); + xfer += oprot->writeString((*_iter1413)); } xfer += oprot->writeListEnd(); } @@ -13722,14 +13722,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1408; - ::apache::thrift::protocol::TType _etype1411; - xfer += iprot->readListBegin(_etype1411, _size1408); - this->part_vals.resize(_size1408); - uint32_t _i1412; - for (_i1412 = 0; _i1412 < _size1408; ++_i1412) + uint32_t _size1414; + ::apache::thrift::protocol::TType _etype1417; + xfer += iprot->readListBegin(_etype1417, _size1414); + this->part_vals.resize(_size1414); + uint32_t _i1418; + for (_i1418 = 0; _i1418 < _size1414; ++_i1418) { - xfer += iprot->readString(this->part_vals[_i1412]); + xfer += iprot->readString(this->part_vals[_i1418]); } xfer += iprot->readListEnd(); } @@ -13782,10 +13782,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1413; - for (_iter1413 = this->part_vals.begin(); _iter1413 != this->part_vals.end(); ++_iter1413) + std::vector ::const_iterator _iter1419; + for (_iter1419 = this->part_vals.begin(); _iter1419 != this->part_vals.end(); ++_iter1419) { - xfer += oprot->writeString((*_iter1413)); + xfer += oprot->writeString((*_iter1419)); } xfer += oprot->writeListEnd(); } @@ -13825,10 +13825,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1414; - for (_iter1414 = (*(this->part_vals)).begin(); _iter1414 != (*(this->part_vals)).end(); ++_iter1414) + std::vector ::const_iterator _iter1420; + for (_iter1420 = (*(this->part_vals)).begin(); _iter1420 != (*(this->part_vals)).end(); ++_iter1420) { - xfer += oprot->writeString((*_iter1414)); + xfer += oprot->writeString((*_iter1420)); } xfer += oprot->writeListEnd(); } @@ -14834,14 +14834,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1415; - ::apache::thrift::protocol::TType _etype1418; - xfer += iprot->readListBegin(_etype1418, _size1415); - this->part_vals.resize(_size1415); - uint32_t _i1419; - for (_i1419 = 0; _i1419 < _size1415; ++_i1419) + uint32_t _size1421; + ::apache::thrift::protocol::TType _etype1424; + xfer += iprot->readListBegin(_etype1424, _size1421); + this->part_vals.resize(_size1421); + uint32_t _i1425; + for (_i1425 = 0; _i1425 < _size1421; ++_i1425) { - xfer += iprot->readString(this->part_vals[_i1419]); + xfer += iprot->readString(this->part_vals[_i1425]); } xfer += iprot->readListEnd(); } @@ -14878,10 +14878,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1420; - for (_iter1420 = this->part_vals.begin(); _iter1420 != this->part_vals.end(); ++_iter1420) + std::vector ::const_iterator _iter1426; + for (_iter1426 = this->part_vals.begin(); _iter1426 != this->part_vals.end(); ++_iter1426) { - xfer += oprot->writeString((*_iter1420)); + xfer += oprot->writeString((*_iter1426)); } xfer += oprot->writeListEnd(); } @@ -14913,10 +14913,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1421; - for (_iter1421 = (*(this->part_vals)).begin(); _iter1421 != (*(this->part_vals)).end(); ++_iter1421) + std::vector ::const_iterator _iter1427; + for (_iter1427 = (*(this->part_vals)).begin(); _iter1427 != (*(this->part_vals)).end(); ++_iter1427) { - xfer += oprot->writeString((*_iter1421)); + xfer += oprot->writeString((*_iter1427)); } xfer += oprot->writeListEnd(); } @@ -15105,17 +15105,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1422; - ::apache::thrift::protocol::TType _ktype1423; - ::apache::thrift::protocol::TType _vtype1424; - xfer += iprot->readMapBegin(_ktype1423, _vtype1424, _size1422); - uint32_t _i1426; - for (_i1426 = 0; _i1426 < _size1422; ++_i1426) + uint32_t _size1428; + ::apache::thrift::protocol::TType _ktype1429; + ::apache::thrift::protocol::TType _vtype1430; + xfer += iprot->readMapBegin(_ktype1429, _vtype1430, _size1428); + uint32_t _i1432; + for (_i1432 = 0; _i1432 < _size1428; ++_i1432) { - std::string _key1427; - xfer += iprot->readString(_key1427); - std::string& _val1428 = this->partitionSpecs[_key1427]; - xfer += iprot->readString(_val1428); + std::string _key1433; + xfer += iprot->readString(_key1433); + std::string& _val1434 = this->partitionSpecs[_key1433]; + xfer += iprot->readString(_val1434); } xfer += iprot->readMapEnd(); } @@ -15176,11 +15176,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1429; - for (_iter1429 = this->partitionSpecs.begin(); _iter1429 != this->partitionSpecs.end(); ++_iter1429) + std::map ::const_iterator _iter1435; + for (_iter1435 = this->partitionSpecs.begin(); _iter1435 != this->partitionSpecs.end(); ++_iter1435) { - xfer += oprot->writeString(_iter1429->first); - xfer += oprot->writeString(_iter1429->second); + xfer += oprot->writeString(_iter1435->first); + xfer += oprot->writeString(_iter1435->second); } xfer += oprot->writeMapEnd(); } @@ -15220,11 +15220,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1430; - for (_iter1430 = (*(this->partitionSpecs)).begin(); _iter1430 != (*(this->partitionSpecs)).end(); ++_iter1430) + std::map ::const_iterator _iter1436; + for (_iter1436 = (*(this->partitionSpecs)).begin(); _iter1436 != (*(this->partitionSpecs)).end(); ++_iter1436) { - xfer += oprot->writeString(_iter1430->first); - xfer += oprot->writeString(_iter1430->second); + xfer += oprot->writeString(_iter1436->first); + xfer += oprot->writeString(_iter1436->second); } xfer += oprot->writeMapEnd(); } @@ -15469,17 +15469,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1431; - ::apache::thrift::protocol::TType _ktype1432; - ::apache::thrift::protocol::TType _vtype1433; - xfer += iprot->readMapBegin(_ktype1432, _vtype1433, _size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1437; + ::apache::thrift::protocol::TType _ktype1438; + ::apache::thrift::protocol::TType _vtype1439; + xfer += iprot->readMapBegin(_ktype1438, _vtype1439, _size1437); + uint32_t _i1441; + for (_i1441 = 0; _i1441 < _size1437; ++_i1441) { - std::string _key1436; - xfer += iprot->readString(_key1436); - std::string& _val1437 = this->partitionSpecs[_key1436]; - xfer += iprot->readString(_val1437); + std::string _key1442; + xfer += iprot->readString(_key1442); + std::string& _val1443 = this->partitionSpecs[_key1442]; + xfer += iprot->readString(_val1443); } xfer += iprot->readMapEnd(); } @@ -15540,11 +15540,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1438; - for (_iter1438 = this->partitionSpecs.begin(); _iter1438 != this->partitionSpecs.end(); ++_iter1438) + std::map ::const_iterator _iter1444; + for (_iter1444 = this->partitionSpecs.begin(); _iter1444 != this->partitionSpecs.end(); ++_iter1444) { - xfer += oprot->writeString(_iter1438->first); - xfer += oprot->writeString(_iter1438->second); + xfer += oprot->writeString(_iter1444->first); + xfer += oprot->writeString(_iter1444->second); } xfer += oprot->writeMapEnd(); } @@ -15584,11 +15584,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1439; - for (_iter1439 = (*(this->partitionSpecs)).begin(); _iter1439 != (*(this->partitionSpecs)).end(); ++_iter1439) + std::map ::const_iterator _iter1445; + for (_iter1445 = (*(this->partitionSpecs)).begin(); _iter1445 != (*(this->partitionSpecs)).end(); ++_iter1445) { - xfer += oprot->writeString(_iter1439->first); - xfer += oprot->writeString(_iter1439->second); + xfer += oprot->writeString(_iter1445->first); + xfer += oprot->writeString(_iter1445->second); } xfer += oprot->writeMapEnd(); } @@ -15645,14 +15645,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1440; - ::apache::thrift::protocol::TType _etype1443; - xfer += iprot->readListBegin(_etype1443, _size1440); - this->success.resize(_size1440); - uint32_t _i1444; - for (_i1444 = 0; _i1444 < _size1440; ++_i1444) + uint32_t _size1446; + ::apache::thrift::protocol::TType _etype1449; + xfer += iprot->readListBegin(_etype1449, _size1446); + this->success.resize(_size1446); + uint32_t _i1450; + for (_i1450 = 0; _i1450 < _size1446; ++_i1450) { - xfer += this->success[_i1444].read(iprot); + xfer += this->success[_i1450].read(iprot); } xfer += iprot->readListEnd(); } @@ -15715,10 +15715,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1445; - for (_iter1445 = this->success.begin(); _iter1445 != this->success.end(); ++_iter1445) + std::vector ::const_iterator _iter1451; + for (_iter1451 = this->success.begin(); _iter1451 != this->success.end(); ++_iter1451) { - xfer += (*_iter1445).write(oprot); + xfer += (*_iter1451).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15775,14 +15775,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - (*(this->success)).resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _size1452; + ::apache::thrift::protocol::TType _etype1455; + xfer += iprot->readListBegin(_etype1455, _size1452); + (*(this->success)).resize(_size1452); + uint32_t _i1456; + for (_i1456 = 0; _i1456 < _size1452; ++_i1456) { - xfer += (*(this->success))[_i1450].read(iprot); + xfer += (*(this->success))[_i1456].read(iprot); } xfer += iprot->readListEnd(); } @@ -15881,14 +15881,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1451; - ::apache::thrift::protocol::TType _etype1454; - xfer += iprot->readListBegin(_etype1454, _size1451); - this->part_vals.resize(_size1451); - uint32_t _i1455; - for (_i1455 = 0; _i1455 < _size1451; ++_i1455) + uint32_t _size1457; + ::apache::thrift::protocol::TType _etype1460; + xfer += iprot->readListBegin(_etype1460, _size1457); + this->part_vals.resize(_size1457); + uint32_t _i1461; + for (_i1461 = 0; _i1461 < _size1457; ++_i1461) { - xfer += iprot->readString(this->part_vals[_i1455]); + xfer += iprot->readString(this->part_vals[_i1461]); } xfer += iprot->readListEnd(); } @@ -15909,14 +15909,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1456; - ::apache::thrift::protocol::TType _etype1459; - xfer += iprot->readListBegin(_etype1459, _size1456); - this->group_names.resize(_size1456); - uint32_t _i1460; - for (_i1460 = 0; _i1460 < _size1456; ++_i1460) + uint32_t _size1462; + ::apache::thrift::protocol::TType _etype1465; + xfer += iprot->readListBegin(_etype1465, _size1462); + this->group_names.resize(_size1462); + uint32_t _i1466; + for (_i1466 = 0; _i1466 < _size1462; ++_i1466) { - xfer += iprot->readString(this->group_names[_i1460]); + xfer += iprot->readString(this->group_names[_i1466]); } xfer += iprot->readListEnd(); } @@ -15953,10 +15953,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1461; - for (_iter1461 = this->part_vals.begin(); _iter1461 != this->part_vals.end(); ++_iter1461) + std::vector ::const_iterator _iter1467; + for (_iter1467 = this->part_vals.begin(); _iter1467 != this->part_vals.end(); ++_iter1467) { - xfer += oprot->writeString((*_iter1461)); + xfer += oprot->writeString((*_iter1467)); } xfer += oprot->writeListEnd(); } @@ -15969,10 +15969,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1462; - for (_iter1462 = this->group_names.begin(); _iter1462 != this->group_names.end(); ++_iter1462) + std::vector ::const_iterator _iter1468; + for (_iter1468 = this->group_names.begin(); _iter1468 != this->group_names.end(); ++_iter1468) { - xfer += oprot->writeString((*_iter1462)); + xfer += oprot->writeString((*_iter1468)); } xfer += oprot->writeListEnd(); } @@ -16004,10 +16004,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1463; - for (_iter1463 = (*(this->part_vals)).begin(); _iter1463 != (*(this->part_vals)).end(); ++_iter1463) + std::vector ::const_iterator _iter1469; + for (_iter1469 = (*(this->part_vals)).begin(); _iter1469 != (*(this->part_vals)).end(); ++_iter1469) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1469)); } xfer += oprot->writeListEnd(); } @@ -16020,10 +16020,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1464; - for (_iter1464 = (*(this->group_names)).begin(); _iter1464 != (*(this->group_names)).end(); ++_iter1464) + std::vector ::const_iterator _iter1470; + for (_iter1470 = (*(this->group_names)).begin(); _iter1470 != (*(this->group_names)).end(); ++_iter1470) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1470)); } xfer += oprot->writeListEnd(); } @@ -16582,14 +16582,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1465; - ::apache::thrift::protocol::TType _etype1468; - xfer += iprot->readListBegin(_etype1468, _size1465); - this->success.resize(_size1465); - uint32_t _i1469; - for (_i1469 = 0; _i1469 < _size1465; ++_i1469) + uint32_t _size1471; + ::apache::thrift::protocol::TType _etype1474; + xfer += iprot->readListBegin(_etype1474, _size1471); + this->success.resize(_size1471); + uint32_t _i1475; + for (_i1475 = 0; _i1475 < _size1471; ++_i1475) { - xfer += this->success[_i1469].read(iprot); + xfer += this->success[_i1475].read(iprot); } xfer += iprot->readListEnd(); } @@ -16636,10 +16636,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1470; - for (_iter1470 = this->success.begin(); _iter1470 != this->success.end(); ++_iter1470) + std::vector ::const_iterator _iter1476; + for (_iter1476 = this->success.begin(); _iter1476 != this->success.end(); ++_iter1476) { - xfer += (*_iter1470).write(oprot); + xfer += (*_iter1476).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16688,14 +16688,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1471; - ::apache::thrift::protocol::TType _etype1474; - xfer += iprot->readListBegin(_etype1474, _size1471); - (*(this->success)).resize(_size1471); - uint32_t _i1475; - for (_i1475 = 0; _i1475 < _size1471; ++_i1475) + uint32_t _size1477; + ::apache::thrift::protocol::TType _etype1480; + xfer += iprot->readListBegin(_etype1480, _size1477); + (*(this->success)).resize(_size1477); + uint32_t _i1481; + for (_i1481 = 0; _i1481 < _size1477; ++_i1481) { - xfer += (*(this->success))[_i1475].read(iprot); + xfer += (*(this->success))[_i1481].read(iprot); } xfer += iprot->readListEnd(); } @@ -16794,14 +16794,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1476; - ::apache::thrift::protocol::TType _etype1479; - xfer += iprot->readListBegin(_etype1479, _size1476); - this->group_names.resize(_size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + uint32_t _size1482; + ::apache::thrift::protocol::TType _etype1485; + xfer += iprot->readListBegin(_etype1485, _size1482); + this->group_names.resize(_size1482); + uint32_t _i1486; + for (_i1486 = 0; _i1486 < _size1482; ++_i1486) { - xfer += iprot->readString(this->group_names[_i1480]); + xfer += iprot->readString(this->group_names[_i1486]); } xfer += iprot->readListEnd(); } @@ -16846,10 +16846,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1481; - for (_iter1481 = this->group_names.begin(); _iter1481 != this->group_names.end(); ++_iter1481) + std::vector ::const_iterator _iter1487; + for (_iter1487 = this->group_names.begin(); _iter1487 != this->group_names.end(); ++_iter1487) { - xfer += oprot->writeString((*_iter1481)); + xfer += oprot->writeString((*_iter1487)); } xfer += oprot->writeListEnd(); } @@ -16889,10 +16889,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1482; - for (_iter1482 = (*(this->group_names)).begin(); _iter1482 != (*(this->group_names)).end(); ++_iter1482) + std::vector ::const_iterator _iter1488; + for (_iter1488 = (*(this->group_names)).begin(); _iter1488 != (*(this->group_names)).end(); ++_iter1488) { - xfer += oprot->writeString((*_iter1482)); + xfer += oprot->writeString((*_iter1488)); } xfer += oprot->writeListEnd(); } @@ -16933,14 +16933,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1483; - ::apache::thrift::protocol::TType _etype1486; - xfer += iprot->readListBegin(_etype1486, _size1483); - this->success.resize(_size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1489; + ::apache::thrift::protocol::TType _etype1492; + xfer += iprot->readListBegin(_etype1492, _size1489); + this->success.resize(_size1489); + uint32_t _i1493; + for (_i1493 = 0; _i1493 < _size1489; ++_i1493) { - xfer += this->success[_i1487].read(iprot); + xfer += this->success[_i1493].read(iprot); } xfer += iprot->readListEnd(); } @@ -16987,10 +16987,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1488; - for (_iter1488 = this->success.begin(); _iter1488 != this->success.end(); ++_iter1488) + std::vector ::const_iterator _iter1494; + for (_iter1494 = this->success.begin(); _iter1494 != this->success.end(); ++_iter1494) { - xfer += (*_iter1488).write(oprot); + xfer += (*_iter1494).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17039,14 +17039,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1489; - ::apache::thrift::protocol::TType _etype1492; - xfer += iprot->readListBegin(_etype1492, _size1489); - (*(this->success)).resize(_size1489); - uint32_t _i1493; - for (_i1493 = 0; _i1493 < _size1489; ++_i1493) + uint32_t _size1495; + ::apache::thrift::protocol::TType _etype1498; + xfer += iprot->readListBegin(_etype1498, _size1495); + (*(this->success)).resize(_size1495); + uint32_t _i1499; + for (_i1499 = 0; _i1499 < _size1495; ++_i1499) { - xfer += (*(this->success))[_i1493].read(iprot); + xfer += (*(this->success))[_i1499].read(iprot); } xfer += iprot->readListEnd(); } @@ -17224,14 +17224,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1494; - ::apache::thrift::protocol::TType _etype1497; - xfer += iprot->readListBegin(_etype1497, _size1494); - this->success.resize(_size1494); - uint32_t _i1498; - for (_i1498 = 0; _i1498 < _size1494; ++_i1498) + uint32_t _size1500; + ::apache::thrift::protocol::TType _etype1503; + xfer += iprot->readListBegin(_etype1503, _size1500); + this->success.resize(_size1500); + uint32_t _i1504; + for (_i1504 = 0; _i1504 < _size1500; ++_i1504) { - xfer += this->success[_i1498].read(iprot); + xfer += this->success[_i1504].read(iprot); } xfer += iprot->readListEnd(); } @@ -17278,10 +17278,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1499; - for (_iter1499 = this->success.begin(); _iter1499 != this->success.end(); ++_iter1499) + std::vector ::const_iterator _iter1505; + for (_iter1505 = this->success.begin(); _iter1505 != this->success.end(); ++_iter1505) { - xfer += (*_iter1499).write(oprot); + xfer += (*_iter1505).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17330,14 +17330,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1500; - ::apache::thrift::protocol::TType _etype1503; - xfer += iprot->readListBegin(_etype1503, _size1500); - (*(this->success)).resize(_size1500); - uint32_t _i1504; - for (_i1504 = 0; _i1504 < _size1500; ++_i1504) + uint32_t _size1506; + ::apache::thrift::protocol::TType _etype1509; + xfer += iprot->readListBegin(_etype1509, _size1506); + (*(this->success)).resize(_size1506); + uint32_t _i1510; + for (_i1510 = 0; _i1510 < _size1506; ++_i1510) { - xfer += (*(this->success))[_i1504].read(iprot); + xfer += (*(this->success))[_i1510].read(iprot); } xfer += iprot->readListEnd(); } @@ -17515,14 +17515,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1505; - ::apache::thrift::protocol::TType _etype1508; - xfer += iprot->readListBegin(_etype1508, _size1505); - this->success.resize(_size1505); - uint32_t _i1509; - for (_i1509 = 0; _i1509 < _size1505; ++_i1509) + uint32_t _size1511; + ::apache::thrift::protocol::TType _etype1514; + xfer += iprot->readListBegin(_etype1514, _size1511); + this->success.resize(_size1511); + uint32_t _i1515; + for (_i1515 = 0; _i1515 < _size1511; ++_i1515) { - xfer += iprot->readString(this->success[_i1509]); + xfer += iprot->readString(this->success[_i1515]); } xfer += iprot->readListEnd(); } @@ -17569,10 +17569,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1510; - for (_iter1510 = this->success.begin(); _iter1510 != this->success.end(); ++_iter1510) + std::vector ::const_iterator _iter1516; + for (_iter1516 = this->success.begin(); _iter1516 != this->success.end(); ++_iter1516) { - xfer += oprot->writeString((*_iter1510)); + xfer += oprot->writeString((*_iter1516)); } xfer += oprot->writeListEnd(); } @@ -17621,14 +17621,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1511; - ::apache::thrift::protocol::TType _etype1514; - xfer += iprot->readListBegin(_etype1514, _size1511); - (*(this->success)).resize(_size1511); - uint32_t _i1515; - for (_i1515 = 0; _i1515 < _size1511; ++_i1515) + uint32_t _size1517; + ::apache::thrift::protocol::TType _etype1520; + xfer += iprot->readListBegin(_etype1520, _size1517); + (*(this->success)).resize(_size1517); + uint32_t _i1521; + for (_i1521 = 0; _i1521 < _size1517; ++_i1521) { - xfer += iprot->readString((*(this->success))[_i1515]); + xfer += iprot->readString((*(this->success))[_i1521]); } xfer += iprot->readListEnd(); } @@ -17938,14 +17938,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - this->part_vals.resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1522; + ::apache::thrift::protocol::TType _etype1525; + xfer += iprot->readListBegin(_etype1525, _size1522); + this->part_vals.resize(_size1522); + uint32_t _i1526; + for (_i1526 = 0; _i1526 < _size1522; ++_i1526) { - xfer += iprot->readString(this->part_vals[_i1520]); + xfer += iprot->readString(this->part_vals[_i1526]); } xfer += iprot->readListEnd(); } @@ -17990,10 +17990,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1521; - for (_iter1521 = this->part_vals.begin(); _iter1521 != this->part_vals.end(); ++_iter1521) + std::vector ::const_iterator _iter1527; + for (_iter1527 = this->part_vals.begin(); _iter1527 != this->part_vals.end(); ++_iter1527) { - xfer += oprot->writeString((*_iter1521)); + xfer += oprot->writeString((*_iter1527)); } xfer += oprot->writeListEnd(); } @@ -18029,10 +18029,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1522; - for (_iter1522 = (*(this->part_vals)).begin(); _iter1522 != (*(this->part_vals)).end(); ++_iter1522) + std::vector ::const_iterator _iter1528; + for (_iter1528 = (*(this->part_vals)).begin(); _iter1528 != (*(this->part_vals)).end(); ++_iter1528) { - xfer += oprot->writeString((*_iter1522)); + xfer += oprot->writeString((*_iter1528)); } xfer += oprot->writeListEnd(); } @@ -18077,14 +18077,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1523; - ::apache::thrift::protocol::TType _etype1526; - xfer += iprot->readListBegin(_etype1526, _size1523); - this->success.resize(_size1523); - uint32_t _i1527; - for (_i1527 = 0; _i1527 < _size1523; ++_i1527) + uint32_t _size1529; + ::apache::thrift::protocol::TType _etype1532; + xfer += iprot->readListBegin(_etype1532, _size1529); + this->success.resize(_size1529); + uint32_t _i1533; + for (_i1533 = 0; _i1533 < _size1529; ++_i1533) { - xfer += this->success[_i1527].read(iprot); + xfer += this->success[_i1533].read(iprot); } xfer += iprot->readListEnd(); } @@ -18131,10 +18131,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1528; - for (_iter1528 = this->success.begin(); _iter1528 != this->success.end(); ++_iter1528) + std::vector ::const_iterator _iter1534; + for (_iter1534 = this->success.begin(); _iter1534 != this->success.end(); ++_iter1534) { - xfer += (*_iter1528).write(oprot); + xfer += (*_iter1534).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18183,14 +18183,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1529; - ::apache::thrift::protocol::TType _etype1532; - xfer += iprot->readListBegin(_etype1532, _size1529); - (*(this->success)).resize(_size1529); - uint32_t _i1533; - for (_i1533 = 0; _i1533 < _size1529; ++_i1533) + uint32_t _size1535; + ::apache::thrift::protocol::TType _etype1538; + xfer += iprot->readListBegin(_etype1538, _size1535); + (*(this->success)).resize(_size1535); + uint32_t _i1539; + for (_i1539 = 0; _i1539 < _size1535; ++_i1539) { - xfer += (*(this->success))[_i1533].read(iprot); + xfer += (*(this->success))[_i1539].read(iprot); } xfer += iprot->readListEnd(); } @@ -18273,14 +18273,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1534; - ::apache::thrift::protocol::TType _etype1537; - xfer += iprot->readListBegin(_etype1537, _size1534); - this->part_vals.resize(_size1534); - uint32_t _i1538; - for (_i1538 = 0; _i1538 < _size1534; ++_i1538) + uint32_t _size1540; + ::apache::thrift::protocol::TType _etype1543; + xfer += iprot->readListBegin(_etype1543, _size1540); + this->part_vals.resize(_size1540); + uint32_t _i1544; + for (_i1544 = 0; _i1544 < _size1540; ++_i1544) { - xfer += iprot->readString(this->part_vals[_i1538]); + xfer += iprot->readString(this->part_vals[_i1544]); } xfer += iprot->readListEnd(); } @@ -18309,14 +18309,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1539; - ::apache::thrift::protocol::TType _etype1542; - xfer += iprot->readListBegin(_etype1542, _size1539); - this->group_names.resize(_size1539); - uint32_t _i1543; - for (_i1543 = 0; _i1543 < _size1539; ++_i1543) + uint32_t _size1545; + ::apache::thrift::protocol::TType _etype1548; + xfer += iprot->readListBegin(_etype1548, _size1545); + this->group_names.resize(_size1545); + uint32_t _i1549; + for (_i1549 = 0; _i1549 < _size1545; ++_i1549) { - xfer += iprot->readString(this->group_names[_i1543]); + xfer += iprot->readString(this->group_names[_i1549]); } xfer += iprot->readListEnd(); } @@ -18353,10 +18353,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1544; - for (_iter1544 = this->part_vals.begin(); _iter1544 != this->part_vals.end(); ++_iter1544) + std::vector ::const_iterator _iter1550; + for (_iter1550 = this->part_vals.begin(); _iter1550 != this->part_vals.end(); ++_iter1550) { - xfer += oprot->writeString((*_iter1544)); + xfer += oprot->writeString((*_iter1550)); } xfer += oprot->writeListEnd(); } @@ -18373,10 +18373,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1545; - for (_iter1545 = this->group_names.begin(); _iter1545 != this->group_names.end(); ++_iter1545) + std::vector ::const_iterator _iter1551; + for (_iter1551 = this->group_names.begin(); _iter1551 != this->group_names.end(); ++_iter1551) { - xfer += oprot->writeString((*_iter1545)); + xfer += oprot->writeString((*_iter1551)); } xfer += oprot->writeListEnd(); } @@ -18408,10 +18408,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1546; - for (_iter1546 = (*(this->part_vals)).begin(); _iter1546 != (*(this->part_vals)).end(); ++_iter1546) + std::vector ::const_iterator _iter1552; + for (_iter1552 = (*(this->part_vals)).begin(); _iter1552 != (*(this->part_vals)).end(); ++_iter1552) { - xfer += oprot->writeString((*_iter1546)); + xfer += oprot->writeString((*_iter1552)); } xfer += oprot->writeListEnd(); } @@ -18428,10 +18428,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1547; - for (_iter1547 = (*(this->group_names)).begin(); _iter1547 != (*(this->group_names)).end(); ++_iter1547) + std::vector ::const_iterator _iter1553; + for (_iter1553 = (*(this->group_names)).begin(); _iter1553 != (*(this->group_names)).end(); ++_iter1553) { - xfer += oprot->writeString((*_iter1547)); + xfer += oprot->writeString((*_iter1553)); } xfer += oprot->writeListEnd(); } @@ -18472,14 +18472,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1548; - ::apache::thrift::protocol::TType _etype1551; - xfer += iprot->readListBegin(_etype1551, _size1548); - this->success.resize(_size1548); - uint32_t _i1552; - for (_i1552 = 0; _i1552 < _size1548; ++_i1552) + uint32_t _size1554; + ::apache::thrift::protocol::TType _etype1557; + xfer += iprot->readListBegin(_etype1557, _size1554); + this->success.resize(_size1554); + uint32_t _i1558; + for (_i1558 = 0; _i1558 < _size1554; ++_i1558) { - xfer += this->success[_i1552].read(iprot); + xfer += this->success[_i1558].read(iprot); } xfer += iprot->readListEnd(); } @@ -18526,10 +18526,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1553; - for (_iter1553 = this->success.begin(); _iter1553 != this->success.end(); ++_iter1553) + std::vector ::const_iterator _iter1559; + for (_iter1559 = this->success.begin(); _iter1559 != this->success.end(); ++_iter1559) { - xfer += (*_iter1553).write(oprot); + xfer += (*_iter1559).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18578,14 +18578,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1554; - ::apache::thrift::protocol::TType _etype1557; - xfer += iprot->readListBegin(_etype1557, _size1554); - (*(this->success)).resize(_size1554); - uint32_t _i1558; - for (_i1558 = 0; _i1558 < _size1554; ++_i1558) + uint32_t _size1560; + ::apache::thrift::protocol::TType _etype1563; + xfer += iprot->readListBegin(_etype1563, _size1560); + (*(this->success)).resize(_size1560); + uint32_t _i1564; + for (_i1564 = 0; _i1564 < _size1560; ++_i1564) { - xfer += (*(this->success))[_i1558].read(iprot); + xfer += (*(this->success))[_i1564].read(iprot); } xfer += iprot->readListEnd(); } @@ -18668,14 +18668,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1559; - ::apache::thrift::protocol::TType _etype1562; - xfer += iprot->readListBegin(_etype1562, _size1559); - this->part_vals.resize(_size1559); - uint32_t _i1563; - for (_i1563 = 0; _i1563 < _size1559; ++_i1563) + uint32_t _size1565; + ::apache::thrift::protocol::TType _etype1568; + xfer += iprot->readListBegin(_etype1568, _size1565); + this->part_vals.resize(_size1565); + uint32_t _i1569; + for (_i1569 = 0; _i1569 < _size1565; ++_i1569) { - xfer += iprot->readString(this->part_vals[_i1563]); + xfer += iprot->readString(this->part_vals[_i1569]); } xfer += iprot->readListEnd(); } @@ -18720,10 +18720,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1564; - for (_iter1564 = this->part_vals.begin(); _iter1564 != this->part_vals.end(); ++_iter1564) + std::vector ::const_iterator _iter1570; + for (_iter1570 = this->part_vals.begin(); _iter1570 != this->part_vals.end(); ++_iter1570) { - xfer += oprot->writeString((*_iter1564)); + xfer += oprot->writeString((*_iter1570)); } xfer += oprot->writeListEnd(); } @@ -18759,10 +18759,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1565; - for (_iter1565 = (*(this->part_vals)).begin(); _iter1565 != (*(this->part_vals)).end(); ++_iter1565) + std::vector ::const_iterator _iter1571; + for (_iter1571 = (*(this->part_vals)).begin(); _iter1571 != (*(this->part_vals)).end(); ++_iter1571) { - xfer += oprot->writeString((*_iter1565)); + xfer += oprot->writeString((*_iter1571)); } xfer += oprot->writeListEnd(); } @@ -18807,14 +18807,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->success.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1572; + ::apache::thrift::protocol::TType _etype1575; + xfer += iprot->readListBegin(_etype1575, _size1572); + this->success.resize(_size1572); + uint32_t _i1576; + for (_i1576 = 0; _i1576 < _size1572; ++_i1576) { - xfer += iprot->readString(this->success[_i1570]); + xfer += iprot->readString(this->success[_i1576]); } xfer += iprot->readListEnd(); } @@ -18861,10 +18861,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1571; - for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) + std::vector ::const_iterator _iter1577; + for (_iter1577 = this->success.begin(); _iter1577 != this->success.end(); ++_iter1577) { - xfer += oprot->writeString((*_iter1571)); + xfer += oprot->writeString((*_iter1577)); } xfer += oprot->writeListEnd(); } @@ -18913,14 +18913,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - (*(this->success)).resize(_size1572); - uint32_t _i1576; - for (_i1576 = 0; _i1576 < _size1572; ++_i1576) + uint32_t _size1578; + ::apache::thrift::protocol::TType _etype1581; + xfer += iprot->readListBegin(_etype1581, _size1578); + (*(this->success)).resize(_size1578); + uint32_t _i1582; + for (_i1582 = 0; _i1582 < _size1578; ++_i1582) { - xfer += iprot->readString((*(this->success))[_i1576]); + xfer += iprot->readString((*(this->success))[_i1582]); } xfer += iprot->readListEnd(); } @@ -19114,14 +19114,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1577; - ::apache::thrift::protocol::TType _etype1580; - xfer += iprot->readListBegin(_etype1580, _size1577); - this->success.resize(_size1577); - uint32_t _i1581; - for (_i1581 = 0; _i1581 < _size1577; ++_i1581) + uint32_t _size1583; + ::apache::thrift::protocol::TType _etype1586; + xfer += iprot->readListBegin(_etype1586, _size1583); + this->success.resize(_size1583); + uint32_t _i1587; + for (_i1587 = 0; _i1587 < _size1583; ++_i1587) { - xfer += this->success[_i1581].read(iprot); + xfer += this->success[_i1587].read(iprot); } xfer += iprot->readListEnd(); } @@ -19168,10 +19168,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1582; - for (_iter1582 = this->success.begin(); _iter1582 != this->success.end(); ++_iter1582) + std::vector ::const_iterator _iter1588; + for (_iter1588 = this->success.begin(); _iter1588 != this->success.end(); ++_iter1588) { - xfer += (*_iter1582).write(oprot); + xfer += (*_iter1588).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19220,14 +19220,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1583; - ::apache::thrift::protocol::TType _etype1586; - xfer += iprot->readListBegin(_etype1586, _size1583); - (*(this->success)).resize(_size1583); - uint32_t _i1587; - for (_i1587 = 0; _i1587 < _size1583; ++_i1587) + uint32_t _size1589; + ::apache::thrift::protocol::TType _etype1592; + xfer += iprot->readListBegin(_etype1592, _size1589); + (*(this->success)).resize(_size1589); + uint32_t _i1593; + for (_i1593 = 0; _i1593 < _size1589; ++_i1593) { - xfer += (*(this->success))[_i1587].read(iprot); + xfer += (*(this->success))[_i1593].read(iprot); } xfer += iprot->readListEnd(); } @@ -19421,14 +19421,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1588; - ::apache::thrift::protocol::TType _etype1591; - xfer += iprot->readListBegin(_etype1591, _size1588); - this->success.resize(_size1588); - uint32_t _i1592; - for (_i1592 = 0; _i1592 < _size1588; ++_i1592) + uint32_t _size1594; + ::apache::thrift::protocol::TType _etype1597; + xfer += iprot->readListBegin(_etype1597, _size1594); + this->success.resize(_size1594); + uint32_t _i1598; + for (_i1598 = 0; _i1598 < _size1594; ++_i1598) { - xfer += this->success[_i1592].read(iprot); + xfer += this->success[_i1598].read(iprot); } xfer += iprot->readListEnd(); } @@ -19475,10 +19475,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1593; - for (_iter1593 = this->success.begin(); _iter1593 != this->success.end(); ++_iter1593) + std::vector ::const_iterator _iter1599; + for (_iter1599 = this->success.begin(); _iter1599 != this->success.end(); ++_iter1599) { - xfer += (*_iter1593).write(oprot); + xfer += (*_iter1599).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19527,14 +19527,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1594; - ::apache::thrift::protocol::TType _etype1597; - xfer += iprot->readListBegin(_etype1597, _size1594); - (*(this->success)).resize(_size1594); - uint32_t _i1598; - for (_i1598 = 0; _i1598 < _size1594; ++_i1598) + uint32_t _size1600; + ::apache::thrift::protocol::TType _etype1603; + xfer += iprot->readListBegin(_etype1603, _size1600); + (*(this->success)).resize(_size1600); + uint32_t _i1604; + for (_i1604 = 0; _i1604 < _size1600; ++_i1604) { - xfer += (*(this->success))[_i1598].read(iprot); + xfer += (*(this->success))[_i1604].read(iprot); } xfer += iprot->readListEnd(); } @@ -20103,14 +20103,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - this->names.resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1605; + ::apache::thrift::protocol::TType _etype1608; + xfer += iprot->readListBegin(_etype1608, _size1605); + this->names.resize(_size1605); + uint32_t _i1609; + for (_i1609 = 0; _i1609 < _size1605; ++_i1609) { - xfer += iprot->readString(this->names[_i1603]); + xfer += iprot->readString(this->names[_i1609]); } xfer += iprot->readListEnd(); } @@ -20147,10 +20147,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1604; - for (_iter1604 = this->names.begin(); _iter1604 != this->names.end(); ++_iter1604) + std::vector ::const_iterator _iter1610; + for (_iter1610 = this->names.begin(); _iter1610 != this->names.end(); ++_iter1610) { - xfer += oprot->writeString((*_iter1604)); + xfer += oprot->writeString((*_iter1610)); } xfer += oprot->writeListEnd(); } @@ -20182,10 +20182,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1605; - for (_iter1605 = (*(this->names)).begin(); _iter1605 != (*(this->names)).end(); ++_iter1605) + std::vector ::const_iterator _iter1611; + for (_iter1611 = (*(this->names)).begin(); _iter1611 != (*(this->names)).end(); ++_iter1611) { - xfer += oprot->writeString((*_iter1605)); + xfer += oprot->writeString((*_iter1611)); } xfer += oprot->writeListEnd(); } @@ -20226,14 +20226,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1606; - ::apache::thrift::protocol::TType _etype1609; - xfer += iprot->readListBegin(_etype1609, _size1606); - this->success.resize(_size1606); - uint32_t _i1610; - for (_i1610 = 0; _i1610 < _size1606; ++_i1610) + uint32_t _size1612; + ::apache::thrift::protocol::TType _etype1615; + xfer += iprot->readListBegin(_etype1615, _size1612); + this->success.resize(_size1612); + uint32_t _i1616; + for (_i1616 = 0; _i1616 < _size1612; ++_i1616) { - xfer += this->success[_i1610].read(iprot); + xfer += this->success[_i1616].read(iprot); } xfer += iprot->readListEnd(); } @@ -20280,10 +20280,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1611; - for (_iter1611 = this->success.begin(); _iter1611 != this->success.end(); ++_iter1611) + std::vector ::const_iterator _iter1617; + for (_iter1617 = this->success.begin(); _iter1617 != this->success.end(); ++_iter1617) { - xfer += (*_iter1611).write(oprot); + xfer += (*_iter1617).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20332,14 +20332,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1612; - ::apache::thrift::protocol::TType _etype1615; - xfer += iprot->readListBegin(_etype1615, _size1612); - (*(this->success)).resize(_size1612); - uint32_t _i1616; - for (_i1616 = 0; _i1616 < _size1612; ++_i1616) + uint32_t _size1618; + ::apache::thrift::protocol::TType _etype1621; + xfer += iprot->readListBegin(_etype1621, _size1618); + (*(this->success)).resize(_size1618); + uint32_t _i1622; + for (_i1622 = 0; _i1622 < _size1618; ++_i1622) { - xfer += (*(this->success))[_i1616].read(iprot); + xfer += (*(this->success))[_i1622].read(iprot); } xfer += iprot->readListEnd(); } @@ -20661,14 +20661,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1617; - ::apache::thrift::protocol::TType _etype1620; - xfer += iprot->readListBegin(_etype1620, _size1617); - this->new_parts.resize(_size1617); - uint32_t _i1621; - for (_i1621 = 0; _i1621 < _size1617; ++_i1621) + uint32_t _size1623; + ::apache::thrift::protocol::TType _etype1626; + xfer += iprot->readListBegin(_etype1626, _size1623); + this->new_parts.resize(_size1623); + uint32_t _i1627; + for (_i1627 = 0; _i1627 < _size1623; ++_i1627) { - xfer += this->new_parts[_i1621].read(iprot); + xfer += this->new_parts[_i1627].read(iprot); } xfer += iprot->readListEnd(); } @@ -20705,10 +20705,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1622; - for (_iter1622 = this->new_parts.begin(); _iter1622 != this->new_parts.end(); ++_iter1622) + std::vector ::const_iterator _iter1628; + for (_iter1628 = this->new_parts.begin(); _iter1628 != this->new_parts.end(); ++_iter1628) { - xfer += (*_iter1622).write(oprot); + xfer += (*_iter1628).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20740,10 +20740,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1623; - for (_iter1623 = (*(this->new_parts)).begin(); _iter1623 != (*(this->new_parts)).end(); ++_iter1623) + std::vector ::const_iterator _iter1629; + for (_iter1629 = (*(this->new_parts)).begin(); _iter1629 != (*(this->new_parts)).end(); ++_iter1629) { - xfer += (*_iter1623).write(oprot); + xfer += (*_iter1629).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20928,14 +20928,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1624; - ::apache::thrift::protocol::TType _etype1627; - xfer += iprot->readListBegin(_etype1627, _size1624); - this->new_parts.resize(_size1624); - uint32_t _i1628; - for (_i1628 = 0; _i1628 < _size1624; ++_i1628) + uint32_t _size1630; + ::apache::thrift::protocol::TType _etype1633; + xfer += iprot->readListBegin(_etype1633, _size1630); + this->new_parts.resize(_size1630); + uint32_t _i1634; + for (_i1634 = 0; _i1634 < _size1630; ++_i1634) { - xfer += this->new_parts[_i1628].read(iprot); + xfer += this->new_parts[_i1634].read(iprot); } xfer += iprot->readListEnd(); } @@ -20980,10 +20980,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1629; - for (_iter1629 = this->new_parts.begin(); _iter1629 != this->new_parts.end(); ++_iter1629) + std::vector ::const_iterator _iter1635; + for (_iter1635 = this->new_parts.begin(); _iter1635 != this->new_parts.end(); ++_iter1635) { - xfer += (*_iter1629).write(oprot); + xfer += (*_iter1635).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21019,10 +21019,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1630; - for (_iter1630 = (*(this->new_parts)).begin(); _iter1630 != (*(this->new_parts)).end(); ++_iter1630) + std::vector ::const_iterator _iter1636; + for (_iter1636 = (*(this->new_parts)).begin(); _iter1636 != (*(this->new_parts)).end(); ++_iter1636) { - xfer += (*_iter1630).write(oprot); + xfer += (*_iter1636).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1631; - ::apache::thrift::protocol::TType _etype1634; - xfer += iprot->readListBegin(_etype1634, _size1631); - this->part_vals.resize(_size1631); - uint32_t _i1635; - for (_i1635 = 0; _i1635 < _size1631; ++_i1635) + uint32_t _size1637; + ::apache::thrift::protocol::TType _etype1640; + xfer += iprot->readListBegin(_etype1640, _size1637); + this->part_vals.resize(_size1637); + uint32_t _i1641; + for (_i1641 = 0; _i1641 < _size1637; ++_i1641) { - xfer += iprot->readString(this->part_vals[_i1635]); + xfer += iprot->readString(this->part_vals[_i1641]); } xfer += iprot->readListEnd(); } @@ -21518,10 +21518,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1636; - for (_iter1636 = this->part_vals.begin(); _iter1636 != this->part_vals.end(); ++_iter1636) + std::vector ::const_iterator _iter1642; + for (_iter1642 = this->part_vals.begin(); _iter1642 != this->part_vals.end(); ++_iter1642) { - xfer += oprot->writeString((*_iter1636)); + xfer += oprot->writeString((*_iter1642)); } xfer += oprot->writeListEnd(); } @@ -21557,10 +21557,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1637; - for (_iter1637 = (*(this->part_vals)).begin(); _iter1637 != (*(this->part_vals)).end(); ++_iter1637) + std::vector ::const_iterator _iter1643; + for (_iter1643 = (*(this->part_vals)).begin(); _iter1643 != (*(this->part_vals)).end(); ++_iter1643) { - xfer += oprot->writeString((*_iter1637)); + xfer += oprot->writeString((*_iter1643)); } xfer += oprot->writeListEnd(); } @@ -21733,14 +21733,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1638; - ::apache::thrift::protocol::TType _etype1641; - xfer += iprot->readListBegin(_etype1641, _size1638); - this->part_vals.resize(_size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1644; + ::apache::thrift::protocol::TType _etype1647; + xfer += iprot->readListBegin(_etype1647, _size1644); + this->part_vals.resize(_size1644); + uint32_t _i1648; + for (_i1648 = 0; _i1648 < _size1644; ++_i1648) { - xfer += iprot->readString(this->part_vals[_i1642]); + xfer += iprot->readString(this->part_vals[_i1648]); } xfer += iprot->readListEnd(); } @@ -21777,10 +21777,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1643; - for (_iter1643 = this->part_vals.begin(); _iter1643 != this->part_vals.end(); ++_iter1643) + std::vector ::const_iterator _iter1649; + for (_iter1649 = this->part_vals.begin(); _iter1649 != this->part_vals.end(); ++_iter1649) { - xfer += oprot->writeString((*_iter1643)); + xfer += oprot->writeString((*_iter1649)); } xfer += oprot->writeListEnd(); } @@ -21808,10 +21808,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1644; - for (_iter1644 = (*(this->part_vals)).begin(); _iter1644 != (*(this->part_vals)).end(); ++_iter1644) + std::vector ::const_iterator _iter1650; + for (_iter1650 = (*(this->part_vals)).begin(); _iter1650 != (*(this->part_vals)).end(); ++_iter1650) { - xfer += oprot->writeString((*_iter1644)); + xfer += oprot->writeString((*_iter1650)); } xfer += oprot->writeListEnd(); } @@ -22286,14 +22286,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1645; - ::apache::thrift::protocol::TType _etype1648; - xfer += iprot->readListBegin(_etype1648, _size1645); - this->success.resize(_size1645); - uint32_t _i1649; - for (_i1649 = 0; _i1649 < _size1645; ++_i1649) + uint32_t _size1651; + ::apache::thrift::protocol::TType _etype1654; + xfer += iprot->readListBegin(_etype1654, _size1651); + this->success.resize(_size1651); + uint32_t _i1655; + for (_i1655 = 0; _i1655 < _size1651; ++_i1655) { - xfer += iprot->readString(this->success[_i1649]); + xfer += iprot->readString(this->success[_i1655]); } xfer += iprot->readListEnd(); } @@ -22332,10 +22332,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1650; - for (_iter1650 = this->success.begin(); _iter1650 != this->success.end(); ++_iter1650) + std::vector ::const_iterator _iter1656; + for (_iter1656 = this->success.begin(); _iter1656 != this->success.end(); ++_iter1656) { - xfer += oprot->writeString((*_iter1650)); + xfer += oprot->writeString((*_iter1656)); } xfer += oprot->writeListEnd(); } @@ -22380,14 +22380,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - (*(this->success)).resize(_size1651); - uint32_t _i1655; - for (_i1655 = 0; _i1655 < _size1651; ++_i1655) + uint32_t _size1657; + ::apache::thrift::protocol::TType _etype1660; + xfer += iprot->readListBegin(_etype1660, _size1657); + (*(this->success)).resize(_size1657); + uint32_t _i1661; + for (_i1661 = 0; _i1661 < _size1657; ++_i1661) { - xfer += iprot->readString((*(this->success))[_i1655]); + xfer += iprot->readString((*(this->success))[_i1661]); } xfer += iprot->readListEnd(); } @@ -22525,17 +22525,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1656; - ::apache::thrift::protocol::TType _ktype1657; - ::apache::thrift::protocol::TType _vtype1658; - xfer += iprot->readMapBegin(_ktype1657, _vtype1658, _size1656); - uint32_t _i1660; - for (_i1660 = 0; _i1660 < _size1656; ++_i1660) + uint32_t _size1662; + ::apache::thrift::protocol::TType _ktype1663; + ::apache::thrift::protocol::TType _vtype1664; + xfer += iprot->readMapBegin(_ktype1663, _vtype1664, _size1662); + uint32_t _i1666; + for (_i1666 = 0; _i1666 < _size1662; ++_i1666) { - std::string _key1661; - xfer += iprot->readString(_key1661); - std::string& _val1662 = this->success[_key1661]; - xfer += iprot->readString(_val1662); + std::string _key1667; + xfer += iprot->readString(_key1667); + std::string& _val1668 = this->success[_key1667]; + xfer += iprot->readString(_val1668); } xfer += iprot->readMapEnd(); } @@ -22574,11 +22574,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1663; - for (_iter1663 = this->success.begin(); _iter1663 != this->success.end(); ++_iter1663) + std::map ::const_iterator _iter1669; + for (_iter1669 = this->success.begin(); _iter1669 != this->success.end(); ++_iter1669) { - xfer += oprot->writeString(_iter1663->first); - xfer += oprot->writeString(_iter1663->second); + xfer += oprot->writeString(_iter1669->first); + xfer += oprot->writeString(_iter1669->second); } xfer += oprot->writeMapEnd(); } @@ -22623,17 +22623,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1664; - ::apache::thrift::protocol::TType _ktype1665; - ::apache::thrift::protocol::TType _vtype1666; - xfer += iprot->readMapBegin(_ktype1665, _vtype1666, _size1664); - uint32_t _i1668; - for (_i1668 = 0; _i1668 < _size1664; ++_i1668) + uint32_t _size1670; + ::apache::thrift::protocol::TType _ktype1671; + ::apache::thrift::protocol::TType _vtype1672; + xfer += iprot->readMapBegin(_ktype1671, _vtype1672, _size1670); + uint32_t _i1674; + for (_i1674 = 0; _i1674 < _size1670; ++_i1674) { - std::string _key1669; - xfer += iprot->readString(_key1669); - std::string& _val1670 = (*(this->success))[_key1669]; - xfer += iprot->readString(_val1670); + std::string _key1675; + xfer += iprot->readString(_key1675); + std::string& _val1676 = (*(this->success))[_key1675]; + xfer += iprot->readString(_val1676); } xfer += iprot->readMapEnd(); } @@ -22708,17 +22708,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1671; - ::apache::thrift::protocol::TType _ktype1672; - ::apache::thrift::protocol::TType _vtype1673; - xfer += iprot->readMapBegin(_ktype1672, _vtype1673, _size1671); - uint32_t _i1675; - for (_i1675 = 0; _i1675 < _size1671; ++_i1675) + uint32_t _size1677; + ::apache::thrift::protocol::TType _ktype1678; + ::apache::thrift::protocol::TType _vtype1679; + xfer += iprot->readMapBegin(_ktype1678, _vtype1679, _size1677); + uint32_t _i1681; + for (_i1681 = 0; _i1681 < _size1677; ++_i1681) { - std::string _key1676; - xfer += iprot->readString(_key1676); - std::string& _val1677 = this->part_vals[_key1676]; - xfer += iprot->readString(_val1677); + std::string _key1682; + xfer += iprot->readString(_key1682); + std::string& _val1683 = this->part_vals[_key1682]; + xfer += iprot->readString(_val1683); } xfer += iprot->readMapEnd(); } @@ -22729,9 +22729,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1678; - xfer += iprot->readI32(ecast1678); - this->eventType = (PartitionEventType::type)ecast1678; + int32_t ecast1684; + xfer += iprot->readI32(ecast1684); + this->eventType = (PartitionEventType::type)ecast1684; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22765,11 +22765,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1679; - for (_iter1679 = this->part_vals.begin(); _iter1679 != this->part_vals.end(); ++_iter1679) + std::map ::const_iterator _iter1685; + for (_iter1685 = this->part_vals.begin(); _iter1685 != this->part_vals.end(); ++_iter1685) { - xfer += oprot->writeString(_iter1679->first); - xfer += oprot->writeString(_iter1679->second); + xfer += oprot->writeString(_iter1685->first); + xfer += oprot->writeString(_iter1685->second); } xfer += oprot->writeMapEnd(); } @@ -22805,11 +22805,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1680; - for (_iter1680 = (*(this->part_vals)).begin(); _iter1680 != (*(this->part_vals)).end(); ++_iter1680) + std::map ::const_iterator _iter1686; + for (_iter1686 = (*(this->part_vals)).begin(); _iter1686 != (*(this->part_vals)).end(); ++_iter1686) { - xfer += oprot->writeString(_iter1680->first); - xfer += oprot->writeString(_iter1680->second); + xfer += oprot->writeString(_iter1686->first); + xfer += oprot->writeString(_iter1686->second); } xfer += oprot->writeMapEnd(); } @@ -23078,17 +23078,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1681; - ::apache::thrift::protocol::TType _ktype1682; - ::apache::thrift::protocol::TType _vtype1683; - xfer += iprot->readMapBegin(_ktype1682, _vtype1683, _size1681); - uint32_t _i1685; - for (_i1685 = 0; _i1685 < _size1681; ++_i1685) + uint32_t _size1687; + ::apache::thrift::protocol::TType _ktype1688; + ::apache::thrift::protocol::TType _vtype1689; + xfer += iprot->readMapBegin(_ktype1688, _vtype1689, _size1687); + uint32_t _i1691; + for (_i1691 = 0; _i1691 < _size1687; ++_i1691) { - std::string _key1686; - xfer += iprot->readString(_key1686); - std::string& _val1687 = this->part_vals[_key1686]; - xfer += iprot->readString(_val1687); + std::string _key1692; + xfer += iprot->readString(_key1692); + std::string& _val1693 = this->part_vals[_key1692]; + xfer += iprot->readString(_val1693); } xfer += iprot->readMapEnd(); } @@ -23099,9 +23099,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1688; - xfer += iprot->readI32(ecast1688); - this->eventType = (PartitionEventType::type)ecast1688; + int32_t ecast1694; + xfer += iprot->readI32(ecast1694); + this->eventType = (PartitionEventType::type)ecast1694; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23135,11 +23135,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1689; - for (_iter1689 = this->part_vals.begin(); _iter1689 != this->part_vals.end(); ++_iter1689) + std::map ::const_iterator _iter1695; + for (_iter1695 = this->part_vals.begin(); _iter1695 != this->part_vals.end(); ++_iter1695) { - xfer += oprot->writeString(_iter1689->first); - xfer += oprot->writeString(_iter1689->second); + xfer += oprot->writeString(_iter1695->first); + xfer += oprot->writeString(_iter1695->second); } xfer += oprot->writeMapEnd(); } @@ -23175,11 +23175,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1690; - for (_iter1690 = (*(this->part_vals)).begin(); _iter1690 != (*(this->part_vals)).end(); ++_iter1690) + std::map ::const_iterator _iter1696; + for (_iter1696 = (*(this->part_vals)).begin(); _iter1696 != (*(this->part_vals)).end(); ++_iter1696) { - xfer += oprot->writeString(_iter1690->first); - xfer += oprot->writeString(_iter1690->second); + xfer += oprot->writeString(_iter1696->first); + xfer += oprot->writeString(_iter1696->second); } xfer += oprot->writeMapEnd(); } @@ -28101,14 +28101,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1691; - ::apache::thrift::protocol::TType _etype1694; - xfer += iprot->readListBegin(_etype1694, _size1691); - this->success.resize(_size1691); - uint32_t _i1695; - for (_i1695 = 0; _i1695 < _size1691; ++_i1695) + uint32_t _size1697; + ::apache::thrift::protocol::TType _etype1700; + xfer += iprot->readListBegin(_etype1700, _size1697); + this->success.resize(_size1697); + uint32_t _i1701; + for (_i1701 = 0; _i1701 < _size1697; ++_i1701) { - xfer += iprot->readString(this->success[_i1695]); + xfer += iprot->readString(this->success[_i1701]); } xfer += iprot->readListEnd(); } @@ -28147,10 +28147,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1696; - for (_iter1696 = this->success.begin(); _iter1696 != this->success.end(); ++_iter1696) + std::vector ::const_iterator _iter1702; + for (_iter1702 = this->success.begin(); _iter1702 != this->success.end(); ++_iter1702) { - xfer += oprot->writeString((*_iter1696)); + xfer += oprot->writeString((*_iter1702)); } xfer += oprot->writeListEnd(); } @@ -28195,14 +28195,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1697; - ::apache::thrift::protocol::TType _etype1700; - xfer += iprot->readListBegin(_etype1700, _size1697); - (*(this->success)).resize(_size1697); - uint32_t _i1701; - for (_i1701 = 0; _i1701 < _size1697; ++_i1701) + uint32_t _size1703; + ::apache::thrift::protocol::TType _etype1706; + xfer += iprot->readListBegin(_etype1706, _size1703); + (*(this->success)).resize(_size1703); + uint32_t _i1707; + for (_i1707 = 0; _i1707 < _size1703; ++_i1707) { - xfer += iprot->readString((*(this->success))[_i1701]); + xfer += iprot->readString((*(this->success))[_i1707]); } xfer += iprot->readListEnd(); } @@ -29162,14 +29162,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - this->success.resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _size1708; + ::apache::thrift::protocol::TType _etype1711; + xfer += iprot->readListBegin(_etype1711, _size1708); + this->success.resize(_size1708); + uint32_t _i1712; + for (_i1712 = 0; _i1712 < _size1708; ++_i1712) { - xfer += iprot->readString(this->success[_i1706]); + xfer += iprot->readString(this->success[_i1712]); } xfer += iprot->readListEnd(); } @@ -29208,10 +29208,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1707; - for (_iter1707 = this->success.begin(); _iter1707 != this->success.end(); ++_iter1707) + std::vector ::const_iterator _iter1713; + for (_iter1713 = this->success.begin(); _iter1713 != this->success.end(); ++_iter1713) { - xfer += oprot->writeString((*_iter1707)); + xfer += oprot->writeString((*_iter1713)); } xfer += oprot->writeListEnd(); } @@ -29256,14 +29256,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1708; - ::apache::thrift::protocol::TType _etype1711; - xfer += iprot->readListBegin(_etype1711, _size1708); - (*(this->success)).resize(_size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + uint32_t _size1714; + ::apache::thrift::protocol::TType _etype1717; + xfer += iprot->readListBegin(_etype1717, _size1714); + (*(this->success)).resize(_size1714); + uint32_t _i1718; + for (_i1718 = 0; _i1718 < _size1714; ++_i1718) { - xfer += iprot->readString((*(this->success))[_i1712]); + xfer += iprot->readString((*(this->success))[_i1718]); } xfer += iprot->readListEnd(); } @@ -29336,9 +29336,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1713; - xfer += iprot->readI32(ecast1713); - this->principal_type = (PrincipalType::type)ecast1713; + int32_t ecast1719; + xfer += iprot->readI32(ecast1719); + this->principal_type = (PrincipalType::type)ecast1719; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29354,9 +29354,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1714; - xfer += iprot->readI32(ecast1714); - this->grantorType = (PrincipalType::type)ecast1714; + int32_t ecast1720; + xfer += iprot->readI32(ecast1720); + this->grantorType = (PrincipalType::type)ecast1720; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -29627,9 +29627,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1715; - xfer += iprot->readI32(ecast1715); - this->principal_type = (PrincipalType::type)ecast1715; + int32_t ecast1721; + xfer += iprot->readI32(ecast1721); + this->principal_type = (PrincipalType::type)ecast1721; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29860,9 +29860,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1716; - xfer += iprot->readI32(ecast1716); - this->principal_type = (PrincipalType::type)ecast1716; + int32_t ecast1722; + xfer += iprot->readI32(ecast1722); + this->principal_type = (PrincipalType::type)ecast1722; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29951,14 +29951,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1717; - ::apache::thrift::protocol::TType _etype1720; - xfer += iprot->readListBegin(_etype1720, _size1717); - this->success.resize(_size1717); - uint32_t _i1721; - for (_i1721 = 0; _i1721 < _size1717; ++_i1721) + uint32_t _size1723; + ::apache::thrift::protocol::TType _etype1726; + xfer += iprot->readListBegin(_etype1726, _size1723); + this->success.resize(_size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - xfer += this->success[_i1721].read(iprot); + xfer += this->success[_i1727].read(iprot); } xfer += iprot->readListEnd(); } @@ -29997,10 +29997,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1722; - for (_iter1722 = this->success.begin(); _iter1722 != this->success.end(); ++_iter1722) + std::vector ::const_iterator _iter1728; + for (_iter1728 = this->success.begin(); _iter1728 != this->success.end(); ++_iter1728) { - xfer += (*_iter1722).write(oprot); + xfer += (*_iter1728).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30045,14 +30045,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1723; - ::apache::thrift::protocol::TType _etype1726; - xfer += iprot->readListBegin(_etype1726, _size1723); - (*(this->success)).resize(_size1723); - uint32_t _i1727; - for (_i1727 = 0; _i1727 < _size1723; ++_i1727) + uint32_t _size1729; + ::apache::thrift::protocol::TType _etype1732; + xfer += iprot->readListBegin(_etype1732, _size1729); + (*(this->success)).resize(_size1729); + uint32_t _i1733; + for (_i1733 = 0; _i1733 < _size1729; ++_i1733) { - xfer += (*(this->success))[_i1727].read(iprot); + xfer += (*(this->success))[_i1733].read(iprot); } xfer += iprot->readListEnd(); } @@ -30748,14 +30748,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1728; - ::apache::thrift::protocol::TType _etype1731; - xfer += iprot->readListBegin(_etype1731, _size1728); - this->group_names.resize(_size1728); - uint32_t _i1732; - for (_i1732 = 0; _i1732 < _size1728; ++_i1732) + uint32_t _size1734; + ::apache::thrift::protocol::TType _etype1737; + xfer += iprot->readListBegin(_etype1737, _size1734); + this->group_names.resize(_size1734); + uint32_t _i1738; + for (_i1738 = 0; _i1738 < _size1734; ++_i1738) { - xfer += iprot->readString(this->group_names[_i1732]); + xfer += iprot->readString(this->group_names[_i1738]); } xfer += iprot->readListEnd(); } @@ -30792,10 +30792,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1733; - for (_iter1733 = this->group_names.begin(); _iter1733 != this->group_names.end(); ++_iter1733) + std::vector ::const_iterator _iter1739; + for (_iter1739 = this->group_names.begin(); _iter1739 != this->group_names.end(); ++_iter1739) { - xfer += oprot->writeString((*_iter1733)); + xfer += oprot->writeString((*_iter1739)); } xfer += oprot->writeListEnd(); } @@ -30827,10 +30827,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1734; - for (_iter1734 = (*(this->group_names)).begin(); _iter1734 != (*(this->group_names)).end(); ++_iter1734) + std::vector ::const_iterator _iter1740; + for (_iter1740 = (*(this->group_names)).begin(); _iter1740 != (*(this->group_names)).end(); ++_iter1740) { - xfer += oprot->writeString((*_iter1734)); + xfer += oprot->writeString((*_iter1740)); } xfer += oprot->writeListEnd(); } @@ -31005,9 +31005,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1735; - xfer += iprot->readI32(ecast1735); - this->principal_type = (PrincipalType::type)ecast1735; + int32_t ecast1741; + xfer += iprot->readI32(ecast1741); + this->principal_type = (PrincipalType::type)ecast1741; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31112,14 +31112,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1736; - ::apache::thrift::protocol::TType _etype1739; - xfer += iprot->readListBegin(_etype1739, _size1736); - this->success.resize(_size1736); - uint32_t _i1740; - for (_i1740 = 0; _i1740 < _size1736; ++_i1740) + uint32_t _size1742; + ::apache::thrift::protocol::TType _etype1745; + xfer += iprot->readListBegin(_etype1745, _size1742); + this->success.resize(_size1742); + uint32_t _i1746; + for (_i1746 = 0; _i1746 < _size1742; ++_i1746) { - xfer += this->success[_i1740].read(iprot); + xfer += this->success[_i1746].read(iprot); } xfer += iprot->readListEnd(); } @@ -31158,10 +31158,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1741; - for (_iter1741 = this->success.begin(); _iter1741 != this->success.end(); ++_iter1741) + std::vector ::const_iterator _iter1747; + for (_iter1747 = this->success.begin(); _iter1747 != this->success.end(); ++_iter1747) { - xfer += (*_iter1741).write(oprot); + xfer += (*_iter1747).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31206,14 +31206,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1742; - ::apache::thrift::protocol::TType _etype1745; - xfer += iprot->readListBegin(_etype1745, _size1742); - (*(this->success)).resize(_size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1748; + ::apache::thrift::protocol::TType _etype1751; + xfer += iprot->readListBegin(_etype1751, _size1748); + (*(this->success)).resize(_size1748); + uint32_t _i1752; + for (_i1752 = 0; _i1752 < _size1748; ++_i1752) { - xfer += (*(this->success))[_i1746].read(iprot); + xfer += (*(this->success))[_i1752].read(iprot); } xfer += iprot->readListEnd(); } @@ -31901,14 +31901,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1747; - ::apache::thrift::protocol::TType _etype1750; - xfer += iprot->readListBegin(_etype1750, _size1747); - this->group_names.resize(_size1747); - uint32_t _i1751; - for (_i1751 = 0; _i1751 < _size1747; ++_i1751) + uint32_t _size1753; + ::apache::thrift::protocol::TType _etype1756; + xfer += iprot->readListBegin(_etype1756, _size1753); + this->group_names.resize(_size1753); + uint32_t _i1757; + for (_i1757 = 0; _i1757 < _size1753; ++_i1757) { - xfer += iprot->readString(this->group_names[_i1751]); + xfer += iprot->readString(this->group_names[_i1757]); } xfer += iprot->readListEnd(); } @@ -31941,10 +31941,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1752; - for (_iter1752 = this->group_names.begin(); _iter1752 != this->group_names.end(); ++_iter1752) + std::vector ::const_iterator _iter1758; + for (_iter1758 = this->group_names.begin(); _iter1758 != this->group_names.end(); ++_iter1758) { - xfer += oprot->writeString((*_iter1752)); + xfer += oprot->writeString((*_iter1758)); } xfer += oprot->writeListEnd(); } @@ -31972,10 +31972,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1753; - for (_iter1753 = (*(this->group_names)).begin(); _iter1753 != (*(this->group_names)).end(); ++_iter1753) + std::vector ::const_iterator _iter1759; + for (_iter1759 = (*(this->group_names)).begin(); _iter1759 != (*(this->group_names)).end(); ++_iter1759) { - xfer += oprot->writeString((*_iter1753)); + xfer += oprot->writeString((*_iter1759)); } xfer += oprot->writeListEnd(); } @@ -32016,14 +32016,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1754; - ::apache::thrift::protocol::TType _etype1757; - xfer += iprot->readListBegin(_etype1757, _size1754); - this->success.resize(_size1754); - uint32_t _i1758; - for (_i1758 = 0; _i1758 < _size1754; ++_i1758) + uint32_t _size1760; + ::apache::thrift::protocol::TType _etype1763; + xfer += iprot->readListBegin(_etype1763, _size1760); + this->success.resize(_size1760); + uint32_t _i1764; + for (_i1764 = 0; _i1764 < _size1760; ++_i1764) { - xfer += iprot->readString(this->success[_i1758]); + xfer += iprot->readString(this->success[_i1764]); } xfer += iprot->readListEnd(); } @@ -32062,10 +32062,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1759; - for (_iter1759 = this->success.begin(); _iter1759 != this->success.end(); ++_iter1759) + std::vector ::const_iterator _iter1765; + for (_iter1765 = this->success.begin(); _iter1765 != this->success.end(); ++_iter1765) { - xfer += oprot->writeString((*_iter1759)); + xfer += oprot->writeString((*_iter1765)); } xfer += oprot->writeListEnd(); } @@ -32110,14 +32110,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1760; - ::apache::thrift::protocol::TType _etype1763; - xfer += iprot->readListBegin(_etype1763, _size1760); - (*(this->success)).resize(_size1760); - uint32_t _i1764; - for (_i1764 = 0; _i1764 < _size1760; ++_i1764) + uint32_t _size1766; + ::apache::thrift::protocol::TType _etype1769; + xfer += iprot->readListBegin(_etype1769, _size1766); + (*(this->success)).resize(_size1766); + uint32_t _i1770; + for (_i1770 = 0; _i1770 < _size1766; ++_i1770) { - xfer += iprot->readString((*(this->success))[_i1764]); + xfer += iprot->readString((*(this->success))[_i1770]); } xfer += iprot->readListEnd(); } @@ -33428,14 +33428,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1765; - ::apache::thrift::protocol::TType _etype1768; - xfer += iprot->readListBegin(_etype1768, _size1765); - this->success.resize(_size1765); - uint32_t _i1769; - for (_i1769 = 0; _i1769 < _size1765; ++_i1769) + uint32_t _size1771; + ::apache::thrift::protocol::TType _etype1774; + xfer += iprot->readListBegin(_etype1774, _size1771); + this->success.resize(_size1771); + uint32_t _i1775; + for (_i1775 = 0; _i1775 < _size1771; ++_i1775) { - xfer += iprot->readString(this->success[_i1769]); + xfer += iprot->readString(this->success[_i1775]); } xfer += iprot->readListEnd(); } @@ -33466,10 +33466,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1770; - for (_iter1770 = this->success.begin(); _iter1770 != this->success.end(); ++_iter1770) + std::vector ::const_iterator _iter1776; + for (_iter1776 = this->success.begin(); _iter1776 != this->success.end(); ++_iter1776) { - xfer += oprot->writeString((*_iter1770)); + xfer += oprot->writeString((*_iter1776)); } xfer += oprot->writeListEnd(); } @@ -33510,14 +33510,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1771; - ::apache::thrift::protocol::TType _etype1774; - xfer += iprot->readListBegin(_etype1774, _size1771); - (*(this->success)).resize(_size1771); - uint32_t _i1775; - for (_i1775 = 0; _i1775 < _size1771; ++_i1775) + uint32_t _size1777; + ::apache::thrift::protocol::TType _etype1780; + xfer += iprot->readListBegin(_etype1780, _size1777); + (*(this->success)).resize(_size1777); + uint32_t _i1781; + for (_i1781 = 0; _i1781 < _size1777; ++_i1781) { - xfer += iprot->readString((*(this->success))[_i1775]); + xfer += iprot->readString((*(this->success))[_i1781]); } xfer += iprot->readListEnd(); } @@ -34243,14 +34243,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1776; - ::apache::thrift::protocol::TType _etype1779; - xfer += iprot->readListBegin(_etype1779, _size1776); - this->success.resize(_size1776); - uint32_t _i1780; - for (_i1780 = 0; _i1780 < _size1776; ++_i1780) + uint32_t _size1782; + ::apache::thrift::protocol::TType _etype1785; + xfer += iprot->readListBegin(_etype1785, _size1782); + this->success.resize(_size1782); + uint32_t _i1786; + for (_i1786 = 0; _i1786 < _size1782; ++_i1786) { - xfer += iprot->readString(this->success[_i1780]); + xfer += iprot->readString(this->success[_i1786]); } xfer += iprot->readListEnd(); } @@ -34281,10 +34281,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1781; - for (_iter1781 = this->success.begin(); _iter1781 != this->success.end(); ++_iter1781) + std::vector ::const_iterator _iter1787; + for (_iter1787 = this->success.begin(); _iter1787 != this->success.end(); ++_iter1787) { - xfer += oprot->writeString((*_iter1781)); + xfer += oprot->writeString((*_iter1787)); } xfer += oprot->writeListEnd(); } @@ -34325,14 +34325,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1782; - ::apache::thrift::protocol::TType _etype1785; - xfer += iprot->readListBegin(_etype1785, _size1782); - (*(this->success)).resize(_size1782); - uint32_t _i1786; - for (_i1786 = 0; _i1786 < _size1782; ++_i1786) + uint32_t _size1788; + ::apache::thrift::protocol::TType _etype1791; + xfer += iprot->readListBegin(_etype1791, _size1788); + (*(this->success)).resize(_size1788); + uint32_t _i1792; + for (_i1792 = 0; _i1792 < _size1788; ++_i1792) { - xfer += iprot->readString((*(this->success))[_i1786]); + xfer += iprot->readString((*(this->success))[_i1792]); } xfer += iprot->readListEnd(); } @@ -45973,14 +45973,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1793; + ::apache::thrift::protocol::TType _etype1796; + xfer += iprot->readListBegin(_etype1796, _size1793); + this->success.resize(_size1793); + uint32_t _i1797; + for (_i1797 = 0; _i1797 < _size1793; ++_i1797) { - xfer += this->success[_i1791].read(iprot); + xfer += this->success[_i1797].read(iprot); } xfer += iprot->readListEnd(); } @@ -46027,10 +46027,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1798; + for (_iter1798 = this->success.begin(); _iter1798 != this->success.end(); ++_iter1798) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1798).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46079,14 +46079,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _size1799; + ::apache::thrift::protocol::TType _etype1802; + xfer += iprot->readListBegin(_etype1802, _size1799); + (*(this->success)).resize(_size1799); + uint32_t _i1803; + for (_i1803 = 0; _i1803 < _size1799; ++_i1803) { - xfer += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1803].read(iprot); } xfer += iprot->readListEnd(); } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 620d6ef6ba..a9a642943e 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -14201,6 +14201,16 @@ void OpenTxnRequest::__set_agentInfo(const std::string& val) { __isset.agentInfo = true; } +void OpenTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + +void OpenTxnRequest::__set_replSrcTxnIds(const std::vector & val) { + this->replSrcTxnIds = val; +__isset.replSrcTxnIds = true; +} + uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -14257,6 +14267,34 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->replSrcTxnIds.clear(); + uint32_t _size606; + ::apache::thrift::protocol::TType _etype609; + xfer += iprot->readListBegin(_etype609, _size606); + this->replSrcTxnIds.resize(_size606); + uint32_t _i610; + for (_i610 = 0; _i610 < _size606; ++_i610) + { + xfer += iprot->readI64(this->replSrcTxnIds[_i610]); + } + xfer += iprot->readListEnd(); + } + this->__isset.replSrcTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14297,6 +14335,24 @@ uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeString(this->agentInfo); xfer += oprot->writeFieldEnd(); } + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.replSrcTxnIds) { + xfer += oprot->writeFieldBegin("replSrcTxnIds", ::apache::thrift::protocol::T_LIST, 6); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->replSrcTxnIds.size())); + std::vector ::const_iterator _iter611; + for (_iter611 = this->replSrcTxnIds.begin(); _iter611 != this->replSrcTxnIds.end(); ++_iter611) + { + xfer += oprot->writeI64((*_iter611)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14308,22 +14364,28 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.user, b.user); swap(a.hostname, b.hostname); swap(a.agentInfo, b.agentInfo); + swap(a.replPolicy, b.replPolicy); + swap(a.replSrcTxnIds, b.replSrcTxnIds); swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other606) { - num_txns = other606.num_txns; - user = other606.user; - hostname = other606.hostname; - agentInfo = other606.agentInfo; - __isset = other606.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other607) { - num_txns = other607.num_txns; - user = other607.user; - hostname = other607.hostname; - agentInfo = other607.agentInfo; - __isset = other607.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other612) { + num_txns = other612.num_txns; + user = other612.user; + hostname = other612.hostname; + agentInfo = other612.agentInfo; + replPolicy = other612.replPolicy; + replSrcTxnIds = other612.replSrcTxnIds; + __isset = other612.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other613) { + num_txns = other613.num_txns; + user = other613.user; + hostname = other613.hostname; + agentInfo = other613.agentInfo; + replPolicy = other613.replPolicy; + replSrcTxnIds = other613.replSrcTxnIds; + __isset = other613.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -14333,6 +14395,8 @@ void OpenTxnRequest::printTo(std::ostream& out) const { out << ", " << "user=" << to_string(user); out << ", " << "hostname=" << to_string(hostname); out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); + out << ", " << "replSrcTxnIds="; (__isset.replSrcTxnIds ? (out << to_string(replSrcTxnIds)) : (out << "")); out << ")"; } @@ -14371,14 +14435,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size608; - ::apache::thrift::protocol::TType _etype611; - xfer += iprot->readListBegin(_etype611, _size608); - this->txn_ids.resize(_size608); - uint32_t _i612; - for (_i612 = 0; _i612 < _size608; ++_i612) + uint32_t _size614; + ::apache::thrift::protocol::TType _etype617; + xfer += iprot->readListBegin(_etype617, _size614); + this->txn_ids.resize(_size614); + uint32_t _i618; + for (_i618 = 0; _i618 < _size614; ++_i618) { - xfer += iprot->readI64(this->txn_ids[_i612]); + xfer += iprot->readI64(this->txn_ids[_i618]); } xfer += iprot->readListEnd(); } @@ -14409,10 +14473,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter613; - for (_iter613 = this->txn_ids.begin(); _iter613 != this->txn_ids.end(); ++_iter613) + std::vector ::const_iterator _iter619; + for (_iter619 = this->txn_ids.begin(); _iter619 != this->txn_ids.end(); ++_iter619) { - xfer += oprot->writeI64((*_iter613)); + xfer += oprot->writeI64((*_iter619)); } xfer += oprot->writeListEnd(); } @@ -14428,11 +14492,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other614) { - txn_ids = other614.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other620) { + txn_ids = other620.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other615) { - txn_ids = other615.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other621) { + txn_ids = other621.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -14451,6 +14515,11 @@ void AbortTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } +void AbortTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -14481,6 +14550,14 @@ uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14504,6 +14581,11 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeI64(this->txnid); xfer += oprot->writeFieldEnd(); + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14512,19 +14594,26 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co void swap(AbortTxnRequest &a, AbortTxnRequest &b) { using ::std::swap; swap(a.txnid, b.txnid); + swap(a.replPolicy, b.replPolicy); + swap(a.__isset, b.__isset); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other616) { - txnid = other616.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other622) { + txnid = other622.txnid; + replPolicy = other622.replPolicy; + __isset = other622.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other617) { - txnid = other617.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other623) { + txnid = other623.txnid; + replPolicy = other623.replPolicy; + __isset = other623.__isset; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "AbortTxnRequest("; out << "txnid=" << to_string(txnid); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); out << ")"; } @@ -14563,14 +14652,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size618; - ::apache::thrift::protocol::TType _etype621; - xfer += iprot->readListBegin(_etype621, _size618); - this->txn_ids.resize(_size618); - uint32_t _i622; - for (_i622 = 0; _i622 < _size618; ++_i622) + uint32_t _size624; + ::apache::thrift::protocol::TType _etype627; + xfer += iprot->readListBegin(_etype627, _size624); + this->txn_ids.resize(_size624); + uint32_t _i628; + for (_i628 = 0; _i628 < _size624; ++_i628) { - xfer += iprot->readI64(this->txn_ids[_i622]); + xfer += iprot->readI64(this->txn_ids[_i628]); } xfer += iprot->readListEnd(); } @@ -14601,10 +14690,10 @@ uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter623; - for (_iter623 = this->txn_ids.begin(); _iter623 != this->txn_ids.end(); ++_iter623) + std::vector ::const_iterator _iter629; + for (_iter629 = this->txn_ids.begin(); _iter629 != this->txn_ids.end(); ++_iter629) { - xfer += oprot->writeI64((*_iter623)); + xfer += oprot->writeI64((*_iter629)); } xfer += oprot->writeListEnd(); } @@ -14620,11 +14709,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other624) { - txn_ids = other624.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other630) { + txn_ids = other630.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other625) { - txn_ids = other625.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other631) { + txn_ids = other631.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -14643,6 +14732,11 @@ void CommitTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } +void CommitTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -14673,6 +14767,14 @@ uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14696,6 +14798,11 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeI64(this->txnid); xfer += oprot->writeFieldEnd(); + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14704,19 +14811,26 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c void swap(CommitTxnRequest &a, CommitTxnRequest &b) { using ::std::swap; swap(a.txnid, b.txnid); + swap(a.replPolicy, b.replPolicy); + swap(a.__isset, b.__isset); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other626) { - txnid = other626.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other632) { + txnid = other632.txnid; + replPolicy = other632.replPolicy; + __isset = other632.__isset; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other627) { - txnid = other627.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other633) { + txnid = other633.txnid; + replPolicy = other633.replPolicy; + __isset = other633.__isset; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "CommitTxnRequest("; out << "txnid=" << to_string(txnid); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); out << ")"; } @@ -14760,14 +14874,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size628; - ::apache::thrift::protocol::TType _etype631; - xfer += iprot->readListBegin(_etype631, _size628); - this->fullTableNames.resize(_size628); - uint32_t _i632; - for (_i632 = 0; _i632 < _size628; ++_i632) + uint32_t _size634; + ::apache::thrift::protocol::TType _etype637; + xfer += iprot->readListBegin(_etype637, _size634); + this->fullTableNames.resize(_size634); + uint32_t _i638; + for (_i638 = 0; _i638 < _size634; ++_i638) { - xfer += iprot->readString(this->fullTableNames[_i632]); + xfer += iprot->readString(this->fullTableNames[_i638]); } xfer += iprot->readListEnd(); } @@ -14808,10 +14922,10 @@ uint32_t GetValidWriteIdsRequest::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("fullTableNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->fullTableNames.size())); - std::vector ::const_iterator _iter633; - for (_iter633 = this->fullTableNames.begin(); _iter633 != this->fullTableNames.end(); ++_iter633) + std::vector ::const_iterator _iter639; + for (_iter639 = this->fullTableNames.begin(); _iter639 != this->fullTableNames.end(); ++_iter639) { - xfer += oprot->writeString((*_iter633)); + xfer += oprot->writeString((*_iter639)); } xfer += oprot->writeListEnd(); } @@ -14832,13 +14946,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other634) { - fullTableNames = other634.fullTableNames; - validTxnList = other634.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other640) { + fullTableNames = other640.fullTableNames; + validTxnList = other640.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other635) { - fullTableNames = other635.fullTableNames; - validTxnList = other635.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other641) { + fullTableNames = other641.fullTableNames; + validTxnList = other641.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -14920,14 +15034,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size636; - ::apache::thrift::protocol::TType _etype639; - xfer += iprot->readListBegin(_etype639, _size636); - this->invalidWriteIds.resize(_size636); - uint32_t _i640; - for (_i640 = 0; _i640 < _size636; ++_i640) + uint32_t _size642; + ::apache::thrift::protocol::TType _etype645; + xfer += iprot->readListBegin(_etype645, _size642); + this->invalidWriteIds.resize(_size642); + uint32_t _i646; + for (_i646 = 0; _i646 < _size642; ++_i646) { - xfer += iprot->readI64(this->invalidWriteIds[_i640]); + xfer += iprot->readI64(this->invalidWriteIds[_i646]); } xfer += iprot->readListEnd(); } @@ -14988,10 +15102,10 @@ uint32_t TableValidWriteIds::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("invalidWriteIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->invalidWriteIds.size())); - std::vector ::const_iterator _iter641; - for (_iter641 = this->invalidWriteIds.begin(); _iter641 != this->invalidWriteIds.end(); ++_iter641) + std::vector ::const_iterator _iter647; + for (_iter647 = this->invalidWriteIds.begin(); _iter647 != this->invalidWriteIds.end(); ++_iter647) { - xfer += oprot->writeI64((*_iter641)); + xfer += oprot->writeI64((*_iter647)); } xfer += oprot->writeListEnd(); } @@ -15021,21 +15135,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other642) { - fullTableName = other642.fullTableName; - writeIdHighWaterMark = other642.writeIdHighWaterMark; - invalidWriteIds = other642.invalidWriteIds; - minOpenWriteId = other642.minOpenWriteId; - abortedBits = other642.abortedBits; - __isset = other642.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other643) { - fullTableName = other643.fullTableName; - writeIdHighWaterMark = other643.writeIdHighWaterMark; - invalidWriteIds = other643.invalidWriteIds; - minOpenWriteId = other643.minOpenWriteId; - abortedBits = other643.abortedBits; - __isset = other643.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other648) { + fullTableName = other648.fullTableName; + writeIdHighWaterMark = other648.writeIdHighWaterMark; + invalidWriteIds = other648.invalidWriteIds; + minOpenWriteId = other648.minOpenWriteId; + abortedBits = other648.abortedBits; + __isset = other648.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other649) { + fullTableName = other649.fullTableName; + writeIdHighWaterMark = other649.writeIdHighWaterMark; + invalidWriteIds = other649.invalidWriteIds; + minOpenWriteId = other649.minOpenWriteId; + abortedBits = other649.abortedBits; + __isset = other649.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -15084,14 +15198,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size644; - ::apache::thrift::protocol::TType _etype647; - xfer += iprot->readListBegin(_etype647, _size644); - this->tblValidWriteIds.resize(_size644); - uint32_t _i648; - for (_i648 = 0; _i648 < _size644; ++_i648) + uint32_t _size650; + ::apache::thrift::protocol::TType _etype653; + xfer += iprot->readListBegin(_etype653, _size650); + this->tblValidWriteIds.resize(_size650); + uint32_t _i654; + for (_i654 = 0; _i654 < _size650; ++_i654) { - xfer += this->tblValidWriteIds[_i648].read(iprot); + xfer += this->tblValidWriteIds[_i654].read(iprot); } xfer += iprot->readListEnd(); } @@ -15122,10 +15236,10 @@ uint32_t GetValidWriteIdsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("tblValidWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tblValidWriteIds.size())); - std::vector ::const_iterator _iter649; - for (_iter649 = this->tblValidWriteIds.begin(); _iter649 != this->tblValidWriteIds.end(); ++_iter649) + std::vector ::const_iterator _iter655; + for (_iter655 = this->tblValidWriteIds.begin(); _iter655 != this->tblValidWriteIds.end(); ++_iter655) { - xfer += (*_iter649).write(oprot); + xfer += (*_iter655).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15141,11 +15255,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other650) { - tblValidWriteIds = other650.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other656) { + tblValidWriteIds = other656.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other651) { - tblValidWriteIds = other651.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other657) { + tblValidWriteIds = other657.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -15200,14 +15314,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size652; - ::apache::thrift::protocol::TType _etype655; - xfer += iprot->readListBegin(_etype655, _size652); - this->txnIds.resize(_size652); - uint32_t _i656; - for (_i656 = 0; _i656 < _size652; ++_i656) + uint32_t _size658; + ::apache::thrift::protocol::TType _etype661; + xfer += iprot->readListBegin(_etype661, _size658); + this->txnIds.resize(_size658); + uint32_t _i662; + for (_i662 = 0; _i662 < _size658; ++_i662) { - xfer += iprot->readI64(this->txnIds[_i656]); + xfer += iprot->readI64(this->txnIds[_i662]); } xfer += iprot->readListEnd(); } @@ -15258,10 +15372,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("txnIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txnIds.size())); - std::vector ::const_iterator _iter657; - for (_iter657 = this->txnIds.begin(); _iter657 != this->txnIds.end(); ++_iter657) + std::vector ::const_iterator _iter663; + for (_iter663 = this->txnIds.begin(); _iter663 != this->txnIds.end(); ++_iter663) { - xfer += oprot->writeI64((*_iter657)); + xfer += oprot->writeI64((*_iter663)); } xfer += oprot->writeListEnd(); } @@ -15287,15 +15401,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other658) { - txnIds = other658.txnIds; - dbName = other658.dbName; - tableName = other658.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other664) { + txnIds = other664.txnIds; + dbName = other664.dbName; + tableName = other664.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other659) { - txnIds = other659.txnIds; - dbName = other659.dbName; - tableName = other659.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other665) { + txnIds = other665.txnIds; + dbName = other665.dbName; + tableName = other665.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -15399,13 +15513,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other660) { - txnId = other660.txnId; - writeId = other660.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other666) { + txnId = other666.txnId; + writeId = other666.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other661) { - txnId = other661.txnId; - writeId = other661.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other667) { + txnId = other667.txnId; + writeId = other667.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -15451,14 +15565,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size662; - ::apache::thrift::protocol::TType _etype665; - xfer += iprot->readListBegin(_etype665, _size662); - this->txnToWriteIds.resize(_size662); - uint32_t _i666; - for (_i666 = 0; _i666 < _size662; ++_i666) + uint32_t _size668; + ::apache::thrift::protocol::TType _etype671; + xfer += iprot->readListBegin(_etype671, _size668); + this->txnToWriteIds.resize(_size668); + uint32_t _i672; + for (_i672 = 0; _i672 < _size668; ++_i672) { - xfer += this->txnToWriteIds[_i666].read(iprot); + xfer += this->txnToWriteIds[_i672].read(iprot); } xfer += iprot->readListEnd(); } @@ -15489,10 +15603,10 @@ uint32_t AllocateTableWriteIdsResponse::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("txnToWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->txnToWriteIds.size())); - std::vector ::const_iterator _iter667; - for (_iter667 = this->txnToWriteIds.begin(); _iter667 != this->txnToWriteIds.end(); ++_iter667) + std::vector ::const_iterator _iter673; + for (_iter673 = this->txnToWriteIds.begin(); _iter673 != this->txnToWriteIds.end(); ++_iter673) { - xfer += (*_iter667).write(oprot); + xfer += (*_iter673).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15508,11 +15622,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other668) { - txnToWriteIds = other668.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other674) { + txnToWriteIds = other674.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other669) { - txnToWriteIds = other669.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other675) { + txnToWriteIds = other675.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -15590,9 +15704,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast670; - xfer += iprot->readI32(ecast670); - this->type = (LockType::type)ecast670; + int32_t ecast676; + xfer += iprot->readI32(ecast676); + this->type = (LockType::type)ecast676; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15600,9 +15714,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast671; - xfer += iprot->readI32(ecast671); - this->level = (LockLevel::type)ecast671; + int32_t ecast677; + xfer += iprot->readI32(ecast677); + this->level = (LockLevel::type)ecast677; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -15634,9 +15748,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast672; - xfer += iprot->readI32(ecast672); - this->operationType = (DataOperationType::type)ecast672; + int32_t ecast678; + xfer += iprot->readI32(ecast678); + this->operationType = (DataOperationType::type)ecast678; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -15736,27 +15850,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other673) { - type = other673.type; - level = other673.level; - dbname = other673.dbname; - tablename = other673.tablename; - partitionname = other673.partitionname; - operationType = other673.operationType; - isTransactional = other673.isTransactional; - isDynamicPartitionWrite = other673.isDynamicPartitionWrite; - __isset = other673.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other674) { - type = other674.type; - level = other674.level; - dbname = other674.dbname; - tablename = other674.tablename; - partitionname = other674.partitionname; - operationType = other674.operationType; - isTransactional = other674.isTransactional; - isDynamicPartitionWrite = other674.isDynamicPartitionWrite; - __isset = other674.__isset; +LockComponent::LockComponent(const LockComponent& other679) { + type = other679.type; + level = other679.level; + dbname = other679.dbname; + tablename = other679.tablename; + partitionname = other679.partitionname; + operationType = other679.operationType; + isTransactional = other679.isTransactional; + isDynamicPartitionWrite = other679.isDynamicPartitionWrite; + __isset = other679.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other680) { + type = other680.type; + level = other680.level; + dbname = other680.dbname; + tablename = other680.tablename; + partitionname = other680.partitionname; + operationType = other680.operationType; + isTransactional = other680.isTransactional; + isDynamicPartitionWrite = other680.isDynamicPartitionWrite; + __isset = other680.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -15828,14 +15942,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size675; - ::apache::thrift::protocol::TType _etype678; - xfer += iprot->readListBegin(_etype678, _size675); - this->component.resize(_size675); - uint32_t _i679; - for (_i679 = 0; _i679 < _size675; ++_i679) + uint32_t _size681; + ::apache::thrift::protocol::TType _etype684; + xfer += iprot->readListBegin(_etype684, _size681); + this->component.resize(_size681); + uint32_t _i685; + for (_i685 = 0; _i685 < _size681; ++_i685) { - xfer += this->component[_i679].read(iprot); + xfer += this->component[_i685].read(iprot); } xfer += iprot->readListEnd(); } @@ -15902,10 +16016,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter680; - for (_iter680 = this->component.begin(); _iter680 != this->component.end(); ++_iter680) + std::vector ::const_iterator _iter686; + for (_iter686 = this->component.begin(); _iter686 != this->component.end(); ++_iter686) { - xfer += (*_iter680).write(oprot); + xfer += (*_iter686).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15944,21 +16058,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other681) { - component = other681.component; - txnid = other681.txnid; - user = other681.user; - hostname = other681.hostname; - agentInfo = other681.agentInfo; - __isset = other681.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other682) { - component = other682.component; - txnid = other682.txnid; - user = other682.user; - hostname = other682.hostname; - agentInfo = other682.agentInfo; - __isset = other682.__isset; +LockRequest::LockRequest(const LockRequest& other687) { + component = other687.component; + txnid = other687.txnid; + user = other687.user; + hostname = other687.hostname; + agentInfo = other687.agentInfo; + __isset = other687.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other688) { + component = other688.component; + txnid = other688.txnid; + user = other688.user; + hostname = other688.hostname; + agentInfo = other688.agentInfo; + __isset = other688.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -16018,9 +16132,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast683; - xfer += iprot->readI32(ecast683); - this->state = (LockState::type)ecast683; + int32_t ecast689; + xfer += iprot->readI32(ecast689); + this->state = (LockState::type)ecast689; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16066,13 +16180,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other684) { - lockid = other684.lockid; - state = other684.state; +LockResponse::LockResponse(const LockResponse& other690) { + lockid = other690.lockid; + state = other690.state; } -LockResponse& LockResponse::operator=(const LockResponse& other685) { - lockid = other685.lockid; - state = other685.state; +LockResponse& LockResponse::operator=(const LockResponse& other691) { + lockid = other691.lockid; + state = other691.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -16194,17 +16308,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other686) { - lockid = other686.lockid; - txnid = other686.txnid; - elapsed_ms = other686.elapsed_ms; - __isset = other686.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other692) { + lockid = other692.lockid; + txnid = other692.txnid; + elapsed_ms = other692.elapsed_ms; + __isset = other692.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other687) { - lockid = other687.lockid; - txnid = other687.txnid; - elapsed_ms = other687.elapsed_ms; - __isset = other687.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other693) { + lockid = other693.lockid; + txnid = other693.txnid; + elapsed_ms = other693.elapsed_ms; + __isset = other693.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -16288,11 +16402,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other688) { - lockid = other688.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other694) { + lockid = other694.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other689) { - lockid = other689.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other695) { + lockid = other695.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -16431,19 +16545,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other690) { - dbname = other690.dbname; - tablename = other690.tablename; - partname = other690.partname; - isExtended = other690.isExtended; - __isset = other690.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other696) { + dbname = other696.dbname; + tablename = other696.tablename; + partname = other696.partname; + isExtended = other696.isExtended; + __isset = other696.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other691) { - dbname = other691.dbname; - tablename = other691.tablename; - partname = other691.partname; - isExtended = other691.isExtended; - __isset = other691.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other697) { + dbname = other697.dbname; + tablename = other697.tablename; + partname = other697.partname; + isExtended = other697.isExtended; + __isset = other697.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -16596,9 +16710,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast692; - xfer += iprot->readI32(ecast692); - this->state = (LockState::type)ecast692; + int32_t ecast698; + xfer += iprot->readI32(ecast698); + this->state = (LockState::type)ecast698; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16606,9 +16720,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast693; - xfer += iprot->readI32(ecast693); - this->type = (LockType::type)ecast693; + int32_t ecast699; + xfer += iprot->readI32(ecast699); + this->type = (LockType::type)ecast699; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16824,43 +16938,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other694) { - lockid = other694.lockid; - dbname = other694.dbname; - tablename = other694.tablename; - partname = other694.partname; - state = other694.state; - type = other694.type; - txnid = other694.txnid; - lastheartbeat = other694.lastheartbeat; - acquiredat = other694.acquiredat; - user = other694.user; - hostname = other694.hostname; - heartbeatCount = other694.heartbeatCount; - agentInfo = other694.agentInfo; - blockedByExtId = other694.blockedByExtId; - blockedByIntId = other694.blockedByIntId; - lockIdInternal = other694.lockIdInternal; - __isset = other694.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other695) { - lockid = other695.lockid; - dbname = other695.dbname; - tablename = other695.tablename; - partname = other695.partname; - state = other695.state; - type = other695.type; - txnid = other695.txnid; - lastheartbeat = other695.lastheartbeat; - acquiredat = other695.acquiredat; - user = other695.user; - hostname = other695.hostname; - heartbeatCount = other695.heartbeatCount; - agentInfo = other695.agentInfo; - blockedByExtId = other695.blockedByExtId; - blockedByIntId = other695.blockedByIntId; - lockIdInternal = other695.lockIdInternal; - __isset = other695.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other700) { + lockid = other700.lockid; + dbname = other700.dbname; + tablename = other700.tablename; + partname = other700.partname; + state = other700.state; + type = other700.type; + txnid = other700.txnid; + lastheartbeat = other700.lastheartbeat; + acquiredat = other700.acquiredat; + user = other700.user; + hostname = other700.hostname; + heartbeatCount = other700.heartbeatCount; + agentInfo = other700.agentInfo; + blockedByExtId = other700.blockedByExtId; + blockedByIntId = other700.blockedByIntId; + lockIdInternal = other700.lockIdInternal; + __isset = other700.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other701) { + lockid = other701.lockid; + dbname = other701.dbname; + tablename = other701.tablename; + partname = other701.partname; + state = other701.state; + type = other701.type; + txnid = other701.txnid; + lastheartbeat = other701.lastheartbeat; + acquiredat = other701.acquiredat; + user = other701.user; + hostname = other701.hostname; + heartbeatCount = other701.heartbeatCount; + agentInfo = other701.agentInfo; + blockedByExtId = other701.blockedByExtId; + blockedByIntId = other701.blockedByIntId; + lockIdInternal = other701.lockIdInternal; + __isset = other701.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -16919,14 +17033,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size696; - ::apache::thrift::protocol::TType _etype699; - xfer += iprot->readListBegin(_etype699, _size696); - this->locks.resize(_size696); - uint32_t _i700; - for (_i700 = 0; _i700 < _size696; ++_i700) + uint32_t _size702; + ::apache::thrift::protocol::TType _etype705; + xfer += iprot->readListBegin(_etype705, _size702); + this->locks.resize(_size702); + uint32_t _i706; + for (_i706 = 0; _i706 < _size702; ++_i706) { - xfer += this->locks[_i700].read(iprot); + xfer += this->locks[_i706].read(iprot); } xfer += iprot->readListEnd(); } @@ -16955,10 +17069,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter701; - for (_iter701 = this->locks.begin(); _iter701 != this->locks.end(); ++_iter701) + std::vector ::const_iterator _iter707; + for (_iter707 = this->locks.begin(); _iter707 != this->locks.end(); ++_iter707) { - xfer += (*_iter701).write(oprot); + xfer += (*_iter707).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16975,13 +17089,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other702) { - locks = other702.locks; - __isset = other702.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other708) { + locks = other708.locks; + __isset = other708.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other703) { - locks = other703.locks; - __isset = other703.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other709) { + locks = other709.locks; + __isset = other709.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -17082,15 +17196,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other704) { - lockid = other704.lockid; - txnid = other704.txnid; - __isset = other704.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other710) { + lockid = other710.lockid; + txnid = other710.txnid; + __isset = other710.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other705) { - lockid = other705.lockid; - txnid = other705.txnid; - __isset = other705.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other711) { + lockid = other711.lockid; + txnid = other711.txnid; + __isset = other711.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -17193,13 +17307,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other706) { - min = other706.min; - max = other706.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other712) { + min = other712.min; + max = other712.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other707) { - min = other707.min; - max = other707.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other713) { + min = other713.min; + max = other713.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -17250,15 +17364,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size708; - ::apache::thrift::protocol::TType _etype711; - xfer += iprot->readSetBegin(_etype711, _size708); - uint32_t _i712; - for (_i712 = 0; _i712 < _size708; ++_i712) + uint32_t _size714; + ::apache::thrift::protocol::TType _etype717; + xfer += iprot->readSetBegin(_etype717, _size714); + uint32_t _i718; + for (_i718 = 0; _i718 < _size714; ++_i718) { - int64_t _elem713; - xfer += iprot->readI64(_elem713); - this->aborted.insert(_elem713); + int64_t _elem719; + xfer += iprot->readI64(_elem719); + this->aborted.insert(_elem719); } xfer += iprot->readSetEnd(); } @@ -17271,15 +17385,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size714; - ::apache::thrift::protocol::TType _etype717; - xfer += iprot->readSetBegin(_etype717, _size714); - uint32_t _i718; - for (_i718 = 0; _i718 < _size714; ++_i718) + uint32_t _size720; + ::apache::thrift::protocol::TType _etype723; + xfer += iprot->readSetBegin(_etype723, _size720); + uint32_t _i724; + for (_i724 = 0; _i724 < _size720; ++_i724) { - int64_t _elem719; - xfer += iprot->readI64(_elem719); - this->nosuch.insert(_elem719); + int64_t _elem725; + xfer += iprot->readI64(_elem725); + this->nosuch.insert(_elem725); } xfer += iprot->readSetEnd(); } @@ -17312,10 +17426,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter720; - for (_iter720 = this->aborted.begin(); _iter720 != this->aborted.end(); ++_iter720) + std::set ::const_iterator _iter726; + for (_iter726 = this->aborted.begin(); _iter726 != this->aborted.end(); ++_iter726) { - xfer += oprot->writeI64((*_iter720)); + xfer += oprot->writeI64((*_iter726)); } xfer += oprot->writeSetEnd(); } @@ -17324,10 +17438,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter721; - for (_iter721 = this->nosuch.begin(); _iter721 != this->nosuch.end(); ++_iter721) + std::set ::const_iterator _iter727; + for (_iter727 = this->nosuch.begin(); _iter727 != this->nosuch.end(); ++_iter727) { - xfer += oprot->writeI64((*_iter721)); + xfer += oprot->writeI64((*_iter727)); } xfer += oprot->writeSetEnd(); } @@ -17344,13 +17458,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other722) { - aborted = other722.aborted; - nosuch = other722.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other728) { + aborted = other728.aborted; + nosuch = other728.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other723) { - aborted = other723.aborted; - nosuch = other723.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other729) { + aborted = other729.aborted; + nosuch = other729.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -17443,9 +17557,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast724; - xfer += iprot->readI32(ecast724); - this->type = (CompactionType::type)ecast724; + int32_t ecast730; + xfer += iprot->readI32(ecast730); + this->type = (CompactionType::type)ecast730; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17463,17 +17577,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size725; - ::apache::thrift::protocol::TType _ktype726; - ::apache::thrift::protocol::TType _vtype727; - xfer += iprot->readMapBegin(_ktype726, _vtype727, _size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size731; + ::apache::thrift::protocol::TType _ktype732; + ::apache::thrift::protocol::TType _vtype733; + xfer += iprot->readMapBegin(_ktype732, _vtype733, _size731); + uint32_t _i735; + for (_i735 = 0; _i735 < _size731; ++_i735) { - std::string _key730; - xfer += iprot->readString(_key730); - std::string& _val731 = this->properties[_key730]; - xfer += iprot->readString(_val731); + std::string _key736; + xfer += iprot->readString(_key736); + std::string& _val737 = this->properties[_key736]; + xfer += iprot->readString(_val737); } xfer += iprot->readMapEnd(); } @@ -17531,11 +17645,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter732; - for (_iter732 = this->properties.begin(); _iter732 != this->properties.end(); ++_iter732) + std::map ::const_iterator _iter738; + for (_iter738 = this->properties.begin(); _iter738 != this->properties.end(); ++_iter738) { - xfer += oprot->writeString(_iter732->first); - xfer += oprot->writeString(_iter732->second); + xfer += oprot->writeString(_iter738->first); + xfer += oprot->writeString(_iter738->second); } xfer += oprot->writeMapEnd(); } @@ -17557,23 +17671,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other733) { - dbname = other733.dbname; - tablename = other733.tablename; - partitionname = other733.partitionname; - type = other733.type; - runas = other733.runas; - properties = other733.properties; - __isset = other733.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other734) { - dbname = other734.dbname; - tablename = other734.tablename; - partitionname = other734.partitionname; - type = other734.type; - runas = other734.runas; - properties = other734.properties; - __isset = other734.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other739) { + dbname = other739.dbname; + tablename = other739.tablename; + partitionname = other739.partitionname; + type = other739.type; + runas = other739.runas; + properties = other739.properties; + __isset = other739.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other740) { + dbname = other740.dbname; + tablename = other740.tablename; + partitionname = other740.partitionname; + type = other740.type; + runas = other740.runas; + properties = other740.properties; + __isset = other740.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -17700,15 +17814,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other735) { - id = other735.id; - state = other735.state; - accepted = other735.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other741) { + id = other741.id; + state = other741.state; + accepted = other741.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other736) { - id = other736.id; - state = other736.state; - accepted = other736.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other742) { + id = other742.id; + state = other742.state; + accepted = other742.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -17769,11 +17883,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other737) { - (void) other737; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other743) { + (void) other743; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other738) { - (void) other738; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other744) { + (void) other744; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -17899,9 +18013,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast739; - xfer += iprot->readI32(ecast739); - this->type = (CompactionType::type)ecast739; + int32_t ecast745; + xfer += iprot->readI32(ecast745); + this->type = (CompactionType::type)ecast745; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18088,37 +18202,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other740) { - dbname = other740.dbname; - tablename = other740.tablename; - partitionname = other740.partitionname; - type = other740.type; - state = other740.state; - workerid = other740.workerid; - start = other740.start; - runAs = other740.runAs; - hightestTxnId = other740.hightestTxnId; - metaInfo = other740.metaInfo; - endTime = other740.endTime; - hadoopJobId = other740.hadoopJobId; - id = other740.id; - __isset = other740.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other741) { - dbname = other741.dbname; - tablename = other741.tablename; - partitionname = other741.partitionname; - type = other741.type; - state = other741.state; - workerid = other741.workerid; - start = other741.start; - runAs = other741.runAs; - hightestTxnId = other741.hightestTxnId; - metaInfo = other741.metaInfo; - endTime = other741.endTime; - hadoopJobId = other741.hadoopJobId; - id = other741.id; - __isset = other741.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other746) { + dbname = other746.dbname; + tablename = other746.tablename; + partitionname = other746.partitionname; + type = other746.type; + state = other746.state; + workerid = other746.workerid; + start = other746.start; + runAs = other746.runAs; + hightestTxnId = other746.hightestTxnId; + metaInfo = other746.metaInfo; + endTime = other746.endTime; + hadoopJobId = other746.hadoopJobId; + id = other746.id; + __isset = other746.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other747) { + dbname = other747.dbname; + tablename = other747.tablename; + partitionname = other747.partitionname; + type = other747.type; + state = other747.state; + workerid = other747.workerid; + start = other747.start; + runAs = other747.runAs; + hightestTxnId = other747.hightestTxnId; + metaInfo = other747.metaInfo; + endTime = other747.endTime; + hadoopJobId = other747.hadoopJobId; + id = other747.id; + __isset = other747.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -18175,14 +18289,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size742; - ::apache::thrift::protocol::TType _etype745; - xfer += iprot->readListBegin(_etype745, _size742); - this->compacts.resize(_size742); - uint32_t _i746; - for (_i746 = 0; _i746 < _size742; ++_i746) + uint32_t _size748; + ::apache::thrift::protocol::TType _etype751; + xfer += iprot->readListBegin(_etype751, _size748); + this->compacts.resize(_size748); + uint32_t _i752; + for (_i752 = 0; _i752 < _size748; ++_i752) { - xfer += this->compacts[_i746].read(iprot); + xfer += this->compacts[_i752].read(iprot); } xfer += iprot->readListEnd(); } @@ -18213,10 +18327,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter747; - for (_iter747 = this->compacts.begin(); _iter747 != this->compacts.end(); ++_iter747) + std::vector ::const_iterator _iter753; + for (_iter753 = this->compacts.begin(); _iter753 != this->compacts.end(); ++_iter753) { - xfer += (*_iter747).write(oprot); + xfer += (*_iter753).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18232,11 +18346,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other748) { - compacts = other748.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other754) { + compacts = other754.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other749) { - compacts = other749.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other755) { + compacts = other755.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -18338,14 +18452,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size750; - ::apache::thrift::protocol::TType _etype753; - xfer += iprot->readListBegin(_etype753, _size750); - this->partitionnames.resize(_size750); - uint32_t _i754; - for (_i754 = 0; _i754 < _size750; ++_i754) + uint32_t _size756; + ::apache::thrift::protocol::TType _etype759; + xfer += iprot->readListBegin(_etype759, _size756); + this->partitionnames.resize(_size756); + uint32_t _i760; + for (_i760 = 0; _i760 < _size756; ++_i760) { - xfer += iprot->readString(this->partitionnames[_i754]); + xfer += iprot->readString(this->partitionnames[_i760]); } xfer += iprot->readListEnd(); } @@ -18356,9 +18470,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast755; - xfer += iprot->readI32(ecast755); - this->operationType = (DataOperationType::type)ecast755; + int32_t ecast761; + xfer += iprot->readI32(ecast761); + this->operationType = (DataOperationType::type)ecast761; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -18410,10 +18524,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter756; - for (_iter756 = this->partitionnames.begin(); _iter756 != this->partitionnames.end(); ++_iter756) + std::vector ::const_iterator _iter762; + for (_iter762 = this->partitionnames.begin(); _iter762 != this->partitionnames.end(); ++_iter762) { - xfer += oprot->writeString((*_iter756)); + xfer += oprot->writeString((*_iter762)); } xfer += oprot->writeListEnd(); } @@ -18440,23 +18554,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other757) { - txnid = other757.txnid; - writeid = other757.writeid; - dbname = other757.dbname; - tablename = other757.tablename; - partitionnames = other757.partitionnames; - operationType = other757.operationType; - __isset = other757.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other758) { - txnid = other758.txnid; - writeid = other758.writeid; - dbname = other758.dbname; - tablename = other758.tablename; - partitionnames = other758.partitionnames; - operationType = other758.operationType; - __isset = other758.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other763) { + txnid = other763.txnid; + writeid = other763.writeid; + dbname = other763.dbname; + tablename = other763.tablename; + partitionnames = other763.partitionnames; + operationType = other763.operationType; + __isset = other763.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other764) { + txnid = other764.txnid; + writeid = other764.writeid; + dbname = other764.dbname; + tablename = other764.tablename; + partitionnames = other764.partitionnames; + operationType = other764.operationType; + __isset = other764.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -18639,23 +18753,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other759) { - isnull = other759.isnull; - time = other759.time; - txnid = other759.txnid; - dbname = other759.dbname; - tablename = other759.tablename; - partitionname = other759.partitionname; - __isset = other759.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other760) { - isnull = other760.isnull; - time = other760.time; - txnid = other760.txnid; - dbname = other760.dbname; - tablename = other760.tablename; - partitionname = other760.partitionname; - __isset = other760.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other765) { + isnull = other765.isnull; + time = other765.time; + txnid = other765.txnid; + dbname = other765.dbname; + tablename = other765.tablename; + partitionname = other765.partitionname; + __isset = other765.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other766) { + isnull = other766.isnull; + time = other766.time; + txnid = other766.txnid; + dbname = other766.dbname; + tablename = other766.tablename; + partitionname = other766.partitionname; + __isset = other766.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -18736,15 +18850,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size761; - ::apache::thrift::protocol::TType _etype764; - xfer += iprot->readSetBegin(_etype764, _size761); - uint32_t _i765; - for (_i765 = 0; _i765 < _size761; ++_i765) + uint32_t _size767; + ::apache::thrift::protocol::TType _etype770; + xfer += iprot->readSetBegin(_etype770, _size767); + uint32_t _i771; + for (_i771 = 0; _i771 < _size767; ++_i771) { - std::string _elem766; - xfer += iprot->readString(_elem766); - this->tablesUsed.insert(_elem766); + std::string _elem772; + xfer += iprot->readString(_elem772); + this->tablesUsed.insert(_elem772); } xfer += iprot->readSetEnd(); } @@ -18795,10 +18909,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 3); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter767; - for (_iter767 = this->tablesUsed.begin(); _iter767 != this->tablesUsed.end(); ++_iter767) + std::set ::const_iterator _iter773; + for (_iter773 = this->tablesUsed.begin(); _iter773 != this->tablesUsed.end(); ++_iter773) { - xfer += oprot->writeString((*_iter767)); + xfer += oprot->writeString((*_iter773)); } xfer += oprot->writeSetEnd(); } @@ -18823,19 +18937,19 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other768) { - dbName = other768.dbName; - tblName = other768.tblName; - tablesUsed = other768.tablesUsed; - validTxnList = other768.validTxnList; - __isset = other768.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other774) { + dbName = other774.dbName; + tblName = other774.tblName; + tablesUsed = other774.tablesUsed; + validTxnList = other774.validTxnList; + __isset = other774.__isset; } -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other769) { - dbName = other769.dbName; - tblName = other769.tblName; - tablesUsed = other769.tablesUsed; - validTxnList = other769.validTxnList; - __isset = other769.__isset; +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other775) { + dbName = other775.dbName; + tblName = other775.tblName; + tablesUsed = other775.tablesUsed; + validTxnList = other775.validTxnList; + __isset = other775.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -18940,15 +19054,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other770) { - lastEvent = other770.lastEvent; - maxEvents = other770.maxEvents; - __isset = other770.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other776) { + lastEvent = other776.lastEvent; + maxEvents = other776.maxEvents; + __isset = other776.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other771) { - lastEvent = other771.lastEvent; - maxEvents = other771.maxEvents; - __isset = other771.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other777) { + lastEvent = other777.lastEvent; + maxEvents = other777.maxEvents; + __isset = other777.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -19149,25 +19263,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other772) { - eventId = other772.eventId; - eventTime = other772.eventTime; - eventType = other772.eventType; - dbName = other772.dbName; - tableName = other772.tableName; - message = other772.message; - messageFormat = other772.messageFormat; - __isset = other772.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other773) { - eventId = other773.eventId; - eventTime = other773.eventTime; - eventType = other773.eventType; - dbName = other773.dbName; - tableName = other773.tableName; - message = other773.message; - messageFormat = other773.messageFormat; - __isset = other773.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other778) { + eventId = other778.eventId; + eventTime = other778.eventTime; + eventType = other778.eventType; + dbName = other778.dbName; + tableName = other778.tableName; + message = other778.message; + messageFormat = other778.messageFormat; + __isset = other778.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other779) { + eventId = other779.eventId; + eventTime = other779.eventTime; + eventType = other779.eventType; + dbName = other779.dbName; + tableName = other779.tableName; + message = other779.message; + messageFormat = other779.messageFormat; + __isset = other779.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -19218,14 +19332,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size774; - ::apache::thrift::protocol::TType _etype777; - xfer += iprot->readListBegin(_etype777, _size774); - this->events.resize(_size774); - uint32_t _i778; - for (_i778 = 0; _i778 < _size774; ++_i778) + uint32_t _size780; + ::apache::thrift::protocol::TType _etype783; + xfer += iprot->readListBegin(_etype783, _size780); + this->events.resize(_size780); + uint32_t _i784; + for (_i784 = 0; _i784 < _size780; ++_i784) { - xfer += this->events[_i778].read(iprot); + xfer += this->events[_i784].read(iprot); } xfer += iprot->readListEnd(); } @@ -19256,10 +19370,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter779; - for (_iter779 = this->events.begin(); _iter779 != this->events.end(); ++_iter779) + std::vector ::const_iterator _iter785; + for (_iter785 = this->events.begin(); _iter785 != this->events.end(); ++_iter785) { - xfer += (*_iter779).write(oprot); + xfer += (*_iter785).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19275,11 +19389,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other780) { - events = other780.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other786) { + events = other786.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other781) { - events = other781.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other787) { + events = other787.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -19361,11 +19475,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other782) { - eventId = other782.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other788) { + eventId = other788.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other783) { - eventId = other783.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other789) { + eventId = other789.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -19467,13 +19581,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other784) { - fromEventId = other784.fromEventId; - dbName = other784.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other790) { + fromEventId = other790.fromEventId; + dbName = other790.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other785) { - fromEventId = other785.fromEventId; - dbName = other785.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other791) { + fromEventId = other791.fromEventId; + dbName = other791.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -19556,11 +19670,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other786) { - eventsCount = other786.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other792) { + eventsCount = other792.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other787) { - eventsCount = other787.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other793) { + eventsCount = other793.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -19623,14 +19737,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _etype791; - xfer += iprot->readListBegin(_etype791, _size788); - this->filesAdded.resize(_size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + uint32_t _size794; + ::apache::thrift::protocol::TType _etype797; + xfer += iprot->readListBegin(_etype797, _size794); + this->filesAdded.resize(_size794); + uint32_t _i798; + for (_i798 = 0; _i798 < _size794; ++_i798) { - xfer += iprot->readString(this->filesAdded[_i792]); + xfer += iprot->readString(this->filesAdded[_i798]); } xfer += iprot->readListEnd(); } @@ -19643,14 +19757,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size793; - ::apache::thrift::protocol::TType _etype796; - xfer += iprot->readListBegin(_etype796, _size793); - this->filesAddedChecksum.resize(_size793); - uint32_t _i797; - for (_i797 = 0; _i797 < _size793; ++_i797) + uint32_t _size799; + ::apache::thrift::protocol::TType _etype802; + xfer += iprot->readListBegin(_etype802, _size799); + this->filesAddedChecksum.resize(_size799); + uint32_t _i803; + for (_i803 = 0; _i803 < _size799; ++_i803) { - xfer += iprot->readString(this->filesAddedChecksum[_i797]); + xfer += iprot->readString(this->filesAddedChecksum[_i803]); } xfer += iprot->readListEnd(); } @@ -19686,10 +19800,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter798; - for (_iter798 = this->filesAdded.begin(); _iter798 != this->filesAdded.end(); ++_iter798) + std::vector ::const_iterator _iter804; + for (_iter804 = this->filesAdded.begin(); _iter804 != this->filesAdded.end(); ++_iter804) { - xfer += oprot->writeString((*_iter798)); + xfer += oprot->writeString((*_iter804)); } xfer += oprot->writeListEnd(); } @@ -19699,10 +19813,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter799; - for (_iter799 = this->filesAddedChecksum.begin(); _iter799 != this->filesAddedChecksum.end(); ++_iter799) + std::vector ::const_iterator _iter805; + for (_iter805 = this->filesAddedChecksum.begin(); _iter805 != this->filesAddedChecksum.end(); ++_iter805) { - xfer += oprot->writeString((*_iter799)); + xfer += oprot->writeString((*_iter805)); } xfer += oprot->writeListEnd(); } @@ -19721,17 +19835,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other800) { - replace = other800.replace; - filesAdded = other800.filesAdded; - filesAddedChecksum = other800.filesAddedChecksum; - __isset = other800.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other806) { + replace = other806.replace; + filesAdded = other806.filesAdded; + filesAddedChecksum = other806.filesAddedChecksum; + __isset = other806.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other801) { - replace = other801.replace; - filesAdded = other801.filesAdded; - filesAddedChecksum = other801.filesAddedChecksum; - __isset = other801.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other807) { + replace = other807.replace; + filesAdded = other807.filesAdded; + filesAddedChecksum = other807.filesAddedChecksum; + __isset = other807.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -19813,13 +19927,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other802) { - insertData = other802.insertData; - __isset = other802.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other808) { + insertData = other808.insertData; + __isset = other808.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other803) { - insertData = other803.insertData; - __isset = other803.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other809) { + insertData = other809.insertData; + __isset = other809.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -19916,14 +20030,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size804; - ::apache::thrift::protocol::TType _etype807; - xfer += iprot->readListBegin(_etype807, _size804); - this->partitionVals.resize(_size804); - uint32_t _i808; - for (_i808 = 0; _i808 < _size804; ++_i808) + uint32_t _size810; + ::apache::thrift::protocol::TType _etype813; + xfer += iprot->readListBegin(_etype813, _size810); + this->partitionVals.resize(_size810); + uint32_t _i814; + for (_i814 = 0; _i814 < _size810; ++_i814) { - xfer += iprot->readString(this->partitionVals[_i808]); + xfer += iprot->readString(this->partitionVals[_i814]); } xfer += iprot->readListEnd(); } @@ -19975,10 +20089,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter809; - for (_iter809 = this->partitionVals.begin(); _iter809 != this->partitionVals.end(); ++_iter809) + std::vector ::const_iterator _iter815; + for (_iter815 = this->partitionVals.begin(); _iter815 != this->partitionVals.end(); ++_iter815) { - xfer += oprot->writeString((*_iter809)); + xfer += oprot->writeString((*_iter815)); } xfer += oprot->writeListEnd(); } @@ -19999,21 +20113,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other810) { - successful = other810.successful; - data = other810.data; - dbName = other810.dbName; - tableName = other810.tableName; - partitionVals = other810.partitionVals; - __isset = other810.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other811) { - successful = other811.successful; - data = other811.data; - dbName = other811.dbName; - tableName = other811.tableName; - partitionVals = other811.partitionVals; - __isset = other811.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other816) { + successful = other816.successful; + data = other816.data; + dbName = other816.dbName; + tableName = other816.tableName; + partitionVals = other816.partitionVals; + __isset = other816.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other817) { + successful = other817.successful; + data = other817.data; + dbName = other817.dbName; + tableName = other817.tableName; + partitionVals = other817.partitionVals; + __isset = other817.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -20076,11 +20190,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other812) { - (void) other812; +FireEventResponse::FireEventResponse(const FireEventResponse& other818) { + (void) other818; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other813) { - (void) other813; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other819) { + (void) other819; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -20180,15 +20294,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other814) { - metadata = other814.metadata; - includeBitset = other814.includeBitset; - __isset = other814.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other820) { + metadata = other820.metadata; + includeBitset = other820.includeBitset; + __isset = other820.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other815) { - metadata = other815.metadata; - includeBitset = other815.includeBitset; - __isset = other815.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other821) { + metadata = other821.metadata; + includeBitset = other821.includeBitset; + __isset = other821.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -20239,17 +20353,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size816; - ::apache::thrift::protocol::TType _ktype817; - ::apache::thrift::protocol::TType _vtype818; - xfer += iprot->readMapBegin(_ktype817, _vtype818, _size816); - uint32_t _i820; - for (_i820 = 0; _i820 < _size816; ++_i820) + uint32_t _size822; + ::apache::thrift::protocol::TType _ktype823; + ::apache::thrift::protocol::TType _vtype824; + xfer += iprot->readMapBegin(_ktype823, _vtype824, _size822); + uint32_t _i826; + for (_i826 = 0; _i826 < _size822; ++_i826) { - int64_t _key821; - xfer += iprot->readI64(_key821); - MetadataPpdResult& _val822 = this->metadata[_key821]; - xfer += _val822.read(iprot); + int64_t _key827; + xfer += iprot->readI64(_key827); + MetadataPpdResult& _val828 = this->metadata[_key827]; + xfer += _val828.read(iprot); } xfer += iprot->readMapEnd(); } @@ -20290,11 +20404,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter823; - for (_iter823 = this->metadata.begin(); _iter823 != this->metadata.end(); ++_iter823) + std::map ::const_iterator _iter829; + for (_iter829 = this->metadata.begin(); _iter829 != this->metadata.end(); ++_iter829) { - xfer += oprot->writeI64(_iter823->first); - xfer += _iter823->second.write(oprot); + xfer += oprot->writeI64(_iter829->first); + xfer += _iter829->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -20315,13 +20429,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other824) { - metadata = other824.metadata; - isSupported = other824.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other830) { + metadata = other830.metadata; + isSupported = other830.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other825) { - metadata = other825.metadata; - isSupported = other825.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other831) { + metadata = other831.metadata; + isSupported = other831.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -20382,14 +20496,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->fileIds.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + uint32_t _size832; + ::apache::thrift::protocol::TType _etype835; + xfer += iprot->readListBegin(_etype835, _size832); + this->fileIds.resize(_size832); + uint32_t _i836; + for (_i836 = 0; _i836 < _size832; ++_i836) { - xfer += iprot->readI64(this->fileIds[_i830]); + xfer += iprot->readI64(this->fileIds[_i836]); } xfer += iprot->readListEnd(); } @@ -20416,9 +20530,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast831; - xfer += iprot->readI32(ecast831); - this->type = (FileMetadataExprType::type)ecast831; + int32_t ecast837; + xfer += iprot->readI32(ecast837); + this->type = (FileMetadataExprType::type)ecast837; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20448,10 +20562,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter832; - for (_iter832 = this->fileIds.begin(); _iter832 != this->fileIds.end(); ++_iter832) + std::vector ::const_iterator _iter838; + for (_iter838 = this->fileIds.begin(); _iter838 != this->fileIds.end(); ++_iter838) { - xfer += oprot->writeI64((*_iter832)); + xfer += oprot->writeI64((*_iter838)); } xfer += oprot->writeListEnd(); } @@ -20485,19 +20599,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other833) { - fileIds = other833.fileIds; - expr = other833.expr; - doGetFooters = other833.doGetFooters; - type = other833.type; - __isset = other833.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other839) { + fileIds = other839.fileIds; + expr = other839.expr; + doGetFooters = other839.doGetFooters; + type = other839.type; + __isset = other839.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other834) { - fileIds = other834.fileIds; - expr = other834.expr; - doGetFooters = other834.doGetFooters; - type = other834.type; - __isset = other834.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other840) { + fileIds = other840.fileIds; + expr = other840.expr; + doGetFooters = other840.doGetFooters; + type = other840.type; + __isset = other840.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -20550,17 +20664,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size835; - ::apache::thrift::protocol::TType _ktype836; - ::apache::thrift::protocol::TType _vtype837; - xfer += iprot->readMapBegin(_ktype836, _vtype837, _size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size841; + ::apache::thrift::protocol::TType _ktype842; + ::apache::thrift::protocol::TType _vtype843; + xfer += iprot->readMapBegin(_ktype842, _vtype843, _size841); + uint32_t _i845; + for (_i845 = 0; _i845 < _size841; ++_i845) { - int64_t _key840; - xfer += iprot->readI64(_key840); - std::string& _val841 = this->metadata[_key840]; - xfer += iprot->readBinary(_val841); + int64_t _key846; + xfer += iprot->readI64(_key846); + std::string& _val847 = this->metadata[_key846]; + xfer += iprot->readBinary(_val847); } xfer += iprot->readMapEnd(); } @@ -20601,11 +20715,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter842; - for (_iter842 = this->metadata.begin(); _iter842 != this->metadata.end(); ++_iter842) + std::map ::const_iterator _iter848; + for (_iter848 = this->metadata.begin(); _iter848 != this->metadata.end(); ++_iter848) { - xfer += oprot->writeI64(_iter842->first); - xfer += oprot->writeBinary(_iter842->second); + xfer += oprot->writeI64(_iter848->first); + xfer += oprot->writeBinary(_iter848->second); } xfer += oprot->writeMapEnd(); } @@ -20626,13 +20740,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other843) { - metadata = other843.metadata; - isSupported = other843.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other849) { + metadata = other849.metadata; + isSupported = other849.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other844) { - metadata = other844.metadata; - isSupported = other844.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other850) { + metadata = other850.metadata; + isSupported = other850.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -20678,14 +20792,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size845; - ::apache::thrift::protocol::TType _etype848; - xfer += iprot->readListBegin(_etype848, _size845); - this->fileIds.resize(_size845); - uint32_t _i849; - for (_i849 = 0; _i849 < _size845; ++_i849) + uint32_t _size851; + ::apache::thrift::protocol::TType _etype854; + xfer += iprot->readListBegin(_etype854, _size851); + this->fileIds.resize(_size851); + uint32_t _i855; + for (_i855 = 0; _i855 < _size851; ++_i855) { - xfer += iprot->readI64(this->fileIds[_i849]); + xfer += iprot->readI64(this->fileIds[_i855]); } xfer += iprot->readListEnd(); } @@ -20716,10 +20830,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter850; - for (_iter850 = this->fileIds.begin(); _iter850 != this->fileIds.end(); ++_iter850) + std::vector ::const_iterator _iter856; + for (_iter856 = this->fileIds.begin(); _iter856 != this->fileIds.end(); ++_iter856) { - xfer += oprot->writeI64((*_iter850)); + xfer += oprot->writeI64((*_iter856)); } xfer += oprot->writeListEnd(); } @@ -20735,11 +20849,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other851) { - fileIds = other851.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other857) { + fileIds = other857.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other852) { - fileIds = other852.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other858) { + fileIds = other858.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -20798,11 +20912,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other853) { - (void) other853; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other859) { + (void) other859; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other854) { - (void) other854; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other860) { + (void) other860; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -20856,14 +20970,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size855; - ::apache::thrift::protocol::TType _etype858; - xfer += iprot->readListBegin(_etype858, _size855); - this->fileIds.resize(_size855); - uint32_t _i859; - for (_i859 = 0; _i859 < _size855; ++_i859) + uint32_t _size861; + ::apache::thrift::protocol::TType _etype864; + xfer += iprot->readListBegin(_etype864, _size861); + this->fileIds.resize(_size861); + uint32_t _i865; + for (_i865 = 0; _i865 < _size861; ++_i865) { - xfer += iprot->readI64(this->fileIds[_i859]); + xfer += iprot->readI64(this->fileIds[_i865]); } xfer += iprot->readListEnd(); } @@ -20876,14 +20990,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _etype863; - xfer += iprot->readListBegin(_etype863, _size860); - this->metadata.resize(_size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size866; + ::apache::thrift::protocol::TType _etype869; + xfer += iprot->readListBegin(_etype869, _size866); + this->metadata.resize(_size866); + uint32_t _i870; + for (_i870 = 0; _i870 < _size866; ++_i870) { - xfer += iprot->readBinary(this->metadata[_i864]); + xfer += iprot->readBinary(this->metadata[_i870]); } xfer += iprot->readListEnd(); } @@ -20894,9 +21008,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast865; - xfer += iprot->readI32(ecast865); - this->type = (FileMetadataExprType::type)ecast865; + int32_t ecast871; + xfer += iprot->readI32(ecast871); + this->type = (FileMetadataExprType::type)ecast871; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20926,10 +21040,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter866; - for (_iter866 = this->fileIds.begin(); _iter866 != this->fileIds.end(); ++_iter866) + std::vector ::const_iterator _iter872; + for (_iter872 = this->fileIds.begin(); _iter872 != this->fileIds.end(); ++_iter872) { - xfer += oprot->writeI64((*_iter866)); + xfer += oprot->writeI64((*_iter872)); } xfer += oprot->writeListEnd(); } @@ -20938,10 +21052,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter867; - for (_iter867 = this->metadata.begin(); _iter867 != this->metadata.end(); ++_iter867) + std::vector ::const_iterator _iter873; + for (_iter873 = this->metadata.begin(); _iter873 != this->metadata.end(); ++_iter873) { - xfer += oprot->writeBinary((*_iter867)); + xfer += oprot->writeBinary((*_iter873)); } xfer += oprot->writeListEnd(); } @@ -20965,17 +21079,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other868) { - fileIds = other868.fileIds; - metadata = other868.metadata; - type = other868.type; - __isset = other868.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other874) { + fileIds = other874.fileIds; + metadata = other874.metadata; + type = other874.type; + __isset = other874.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other869) { - fileIds = other869.fileIds; - metadata = other869.metadata; - type = other869.type; - __isset = other869.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other875) { + fileIds = other875.fileIds; + metadata = other875.metadata; + type = other875.type; + __isset = other875.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -21036,11 +21150,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other870) { - (void) other870; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other876) { + (void) other876; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other871) { - (void) other871; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other877) { + (void) other877; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -21084,14 +21198,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size872; - ::apache::thrift::protocol::TType _etype875; - xfer += iprot->readListBegin(_etype875, _size872); - this->fileIds.resize(_size872); - uint32_t _i876; - for (_i876 = 0; _i876 < _size872; ++_i876) + uint32_t _size878; + ::apache::thrift::protocol::TType _etype881; + xfer += iprot->readListBegin(_etype881, _size878); + this->fileIds.resize(_size878); + uint32_t _i882; + for (_i882 = 0; _i882 < _size878; ++_i882) { - xfer += iprot->readI64(this->fileIds[_i876]); + xfer += iprot->readI64(this->fileIds[_i882]); } xfer += iprot->readListEnd(); } @@ -21122,10 +21236,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter877; - for (_iter877 = this->fileIds.begin(); _iter877 != this->fileIds.end(); ++_iter877) + std::vector ::const_iterator _iter883; + for (_iter883 = this->fileIds.begin(); _iter883 != this->fileIds.end(); ++_iter883) { - xfer += oprot->writeI64((*_iter877)); + xfer += oprot->writeI64((*_iter883)); } xfer += oprot->writeListEnd(); } @@ -21141,11 +21255,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other878) { - fileIds = other878.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other884) { + fileIds = other884.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other879) { - fileIds = other879.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other885) { + fileIds = other885.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -21227,11 +21341,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other880) { - isSupported = other880.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other886) { + isSupported = other886.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other881) { - isSupported = other881.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other887) { + isSupported = other887.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -21372,19 +21486,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other882) { - dbName = other882.dbName; - tblName = other882.tblName; - partName = other882.partName; - isAllParts = other882.isAllParts; - __isset = other882.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other888) { + dbName = other888.dbName; + tblName = other888.tblName; + partName = other888.partName; + isAllParts = other888.isAllParts; + __isset = other888.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other883) { - dbName = other883.dbName; - tblName = other883.tblName; - partName = other883.partName; - isAllParts = other883.isAllParts; - __isset = other883.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other889) { + dbName = other889.dbName; + tblName = other889.tblName; + partName = other889.partName; + isAllParts = other889.isAllParts; + __isset = other889.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -21432,14 +21546,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size884; - ::apache::thrift::protocol::TType _etype887; - xfer += iprot->readListBegin(_etype887, _size884); - this->functions.resize(_size884); - uint32_t _i888; - for (_i888 = 0; _i888 < _size884; ++_i888) + uint32_t _size890; + ::apache::thrift::protocol::TType _etype893; + xfer += iprot->readListBegin(_etype893, _size890); + this->functions.resize(_size890); + uint32_t _i894; + for (_i894 = 0; _i894 < _size890; ++_i894) { - xfer += this->functions[_i888].read(iprot); + xfer += this->functions[_i894].read(iprot); } xfer += iprot->readListEnd(); } @@ -21469,10 +21583,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter889; - for (_iter889 = this->functions.begin(); _iter889 != this->functions.end(); ++_iter889) + std::vector ::const_iterator _iter895; + for (_iter895 = this->functions.begin(); _iter895 != this->functions.end(); ++_iter895) { - xfer += (*_iter889).write(oprot); + xfer += (*_iter895).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21489,13 +21603,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other890) { - functions = other890.functions; - __isset = other890.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other896) { + functions = other896.functions; + __isset = other896.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other891) { - functions = other891.functions; - __isset = other891.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other897) { + functions = other897.functions; + __isset = other897.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -21540,16 +21654,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size892; - ::apache::thrift::protocol::TType _etype895; - xfer += iprot->readListBegin(_etype895, _size892); - this->values.resize(_size892); - uint32_t _i896; - for (_i896 = 0; _i896 < _size892; ++_i896) + uint32_t _size898; + ::apache::thrift::protocol::TType _etype901; + xfer += iprot->readListBegin(_etype901, _size898); + this->values.resize(_size898); + uint32_t _i902; + for (_i902 = 0; _i902 < _size898; ++_i902) { - int32_t ecast897; - xfer += iprot->readI32(ecast897); - this->values[_i896] = (ClientCapability::type)ecast897; + int32_t ecast903; + xfer += iprot->readI32(ecast903); + this->values[_i902] = (ClientCapability::type)ecast903; } xfer += iprot->readListEnd(); } @@ -21580,10 +21694,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter898; - for (_iter898 = this->values.begin(); _iter898 != this->values.end(); ++_iter898) + std::vector ::const_iterator _iter904; + for (_iter904 = this->values.begin(); _iter904 != this->values.end(); ++_iter904) { - xfer += oprot->writeI32((int32_t)(*_iter898)); + xfer += oprot->writeI32((int32_t)(*_iter904)); } xfer += oprot->writeListEnd(); } @@ -21599,11 +21713,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other899) { - values = other899.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other905) { + values = other905.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other900) { - values = other900.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other906) { + values = other906.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -21725,17 +21839,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other901) { - dbName = other901.dbName; - tblName = other901.tblName; - capabilities = other901.capabilities; - __isset = other901.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other907) { + dbName = other907.dbName; + tblName = other907.tblName; + capabilities = other907.capabilities; + __isset = other907.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other902) { - dbName = other902.dbName; - tblName = other902.tblName; - capabilities = other902.capabilities; - __isset = other902.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other908) { + dbName = other908.dbName; + tblName = other908.tblName; + capabilities = other908.capabilities; + __isset = other908.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -21819,11 +21933,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other903) { - table = other903.table; +GetTableResult::GetTableResult(const GetTableResult& other909) { + table = other909.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other904) { - table = other904.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other910) { + table = other910.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -21886,14 +22000,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size905; - ::apache::thrift::protocol::TType _etype908; - xfer += iprot->readListBegin(_etype908, _size905); - this->tblNames.resize(_size905); - uint32_t _i909; - for (_i909 = 0; _i909 < _size905; ++_i909) + uint32_t _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + this->tblNames.resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += iprot->readString(this->tblNames[_i909]); + xfer += iprot->readString(this->tblNames[_i915]); } xfer += iprot->readListEnd(); } @@ -21937,10 +22051,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter910; - for (_iter910 = this->tblNames.begin(); _iter910 != this->tblNames.end(); ++_iter910) + std::vector ::const_iterator _iter916; + for (_iter916 = this->tblNames.begin(); _iter916 != this->tblNames.end(); ++_iter916) { - xfer += oprot->writeString((*_iter910)); + xfer += oprot->writeString((*_iter916)); } xfer += oprot->writeListEnd(); } @@ -21964,17 +22078,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other911) { - dbName = other911.dbName; - tblNames = other911.tblNames; - capabilities = other911.capabilities; - __isset = other911.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other917) { + dbName = other917.dbName; + tblNames = other917.tblNames; + capabilities = other917.capabilities; + __isset = other917.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other912) { - dbName = other912.dbName; - tblNames = other912.tblNames; - capabilities = other912.capabilities; - __isset = other912.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other918) { + dbName = other918.dbName; + tblNames = other918.tblNames; + capabilities = other918.capabilities; + __isset = other918.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -22021,14 +22135,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size913; - ::apache::thrift::protocol::TType _etype916; - xfer += iprot->readListBegin(_etype916, _size913); - this->tables.resize(_size913); - uint32_t _i917; - for (_i917 = 0; _i917 < _size913; ++_i917) + uint32_t _size919; + ::apache::thrift::protocol::TType _etype922; + xfer += iprot->readListBegin(_etype922, _size919); + this->tables.resize(_size919); + uint32_t _i923; + for (_i923 = 0; _i923 < _size919; ++_i923) { - xfer += this->tables[_i917].read(iprot); + xfer += this->tables[_i923].read(iprot); } xfer += iprot->readListEnd(); } @@ -22059,10 +22173,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter918; - for (_iter918 = this->tables.begin(); _iter918 != this->tables.end(); ++_iter918) + std::vector
::const_iterator _iter924; + for (_iter924 = this->tables.begin(); _iter924 != this->tables.end(); ++_iter924) { - xfer += (*_iter918).write(oprot); + xfer += (*_iter924).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22078,11 +22192,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other919) { - tables = other919.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other925) { + tables = other925.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other920) { - tables = other920.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other926) { + tables = other926.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -22184,13 +22298,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other921) { - dataPath = other921.dataPath; - purge = other921.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other927) { + dataPath = other927.dataPath; + purge = other927.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other922) { - dataPath = other922.dataPath; - purge = other922.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other928) { + dataPath = other928.dataPath; + purge = other928.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -22250,11 +22364,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other923) { - (void) other923; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other929) { + (void) other929; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other924) { - (void) other924; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other930) { + (void) other930; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -22395,19 +22509,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other925) { - dbName = other925.dbName; - tableName = other925.tableName; - tableType = other925.tableType; - comments = other925.comments; - __isset = other925.__isset; +TableMeta::TableMeta(const TableMeta& other931) { + dbName = other931.dbName; + tableName = other931.tableName; + tableType = other931.tableType; + comments = other931.comments; + __isset = other931.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other926) { - dbName = other926.dbName; - tableName = other926.tableName; - tableType = other926.tableType; - comments = other926.comments; - __isset = other926.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other932) { + dbName = other932.dbName; + tableName = other932.tableName; + tableType = other932.tableType; + comments = other932.comments; + __isset = other932.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -22465,15 +22579,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size927; - ::apache::thrift::protocol::TType _etype930; - xfer += iprot->readSetBegin(_etype930, _size927); - uint32_t _i931; - for (_i931 = 0; _i931 < _size927; ++_i931) + uint32_t _size933; + ::apache::thrift::protocol::TType _etype936; + xfer += iprot->readSetBegin(_etype936, _size933); + uint32_t _i937; + for (_i937 = 0; _i937 < _size933; ++_i937) { - std::string _elem932; - xfer += iprot->readString(_elem932); - this->tablesUsed.insert(_elem932); + std::string _elem938; + xfer += iprot->readString(_elem938); + this->tablesUsed.insert(_elem938); } xfer += iprot->readSetEnd(); } @@ -22522,10 +22636,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter933; - for (_iter933 = this->tablesUsed.begin(); _iter933 != this->tablesUsed.end(); ++_iter933) + std::set ::const_iterator _iter939; + for (_iter939 = this->tablesUsed.begin(); _iter939 != this->tablesUsed.end(); ++_iter939) { - xfer += oprot->writeString((*_iter933)); + xfer += oprot->writeString((*_iter939)); } xfer += oprot->writeSetEnd(); } @@ -22553,17 +22667,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other934) { - tablesUsed = other934.tablesUsed; - validTxnList = other934.validTxnList; - invalidationTime = other934.invalidationTime; - __isset = other934.__isset; +Materialization::Materialization(const Materialization& other940) { + tablesUsed = other940.tablesUsed; + validTxnList = other940.validTxnList; + invalidationTime = other940.invalidationTime; + __isset = other940.__isset; } -Materialization& Materialization::operator=(const Materialization& other935) { - tablesUsed = other935.tablesUsed; - validTxnList = other935.validTxnList; - invalidationTime = other935.invalidationTime; - __isset = other935.__isset; +Materialization& Materialization::operator=(const Materialization& other941) { + tablesUsed = other941.tablesUsed; + validTxnList = other941.validTxnList; + invalidationTime = other941.invalidationTime; + __isset = other941.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -22631,9 +22745,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast936; - xfer += iprot->readI32(ecast936); - this->status = (WMResourcePlanStatus::type)ecast936; + int32_t ecast942; + xfer += iprot->readI32(ecast942); + this->status = (WMResourcePlanStatus::type)ecast942; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22707,19 +22821,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other937) { - name = other937.name; - status = other937.status; - queryParallelism = other937.queryParallelism; - defaultPoolPath = other937.defaultPoolPath; - __isset = other937.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other943) { + name = other943.name; + status = other943.status; + queryParallelism = other943.queryParallelism; + defaultPoolPath = other943.defaultPoolPath; + __isset = other943.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other938) { - name = other938.name; - status = other938.status; - queryParallelism = other938.queryParallelism; - defaultPoolPath = other938.defaultPoolPath; - __isset = other938.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other944) { + name = other944.name; + status = other944.status; + queryParallelism = other944.queryParallelism; + defaultPoolPath = other944.defaultPoolPath; + __isset = other944.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -22798,9 +22912,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast939; - xfer += iprot->readI32(ecast939); - this->status = (WMResourcePlanStatus::type)ecast939; + int32_t ecast945; + xfer += iprot->readI32(ecast945); + this->status = (WMResourcePlanStatus::type)ecast945; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22902,23 +23016,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other940) { - name = other940.name; - status = other940.status; - queryParallelism = other940.queryParallelism; - isSetQueryParallelism = other940.isSetQueryParallelism; - defaultPoolPath = other940.defaultPoolPath; - isSetDefaultPoolPath = other940.isSetDefaultPoolPath; - __isset = other940.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other946) { + name = other946.name; + status = other946.status; + queryParallelism = other946.queryParallelism; + isSetQueryParallelism = other946.isSetQueryParallelism; + defaultPoolPath = other946.defaultPoolPath; + isSetDefaultPoolPath = other946.isSetDefaultPoolPath; + __isset = other946.__isset; } -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other941) { - name = other941.name; - status = other941.status; - queryParallelism = other941.queryParallelism; - isSetQueryParallelism = other941.isSetQueryParallelism; - defaultPoolPath = other941.defaultPoolPath; - isSetDefaultPoolPath = other941.isSetDefaultPoolPath; - __isset = other941.__isset; +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other947) { + name = other947.name; + status = other947.status; + queryParallelism = other947.queryParallelism; + isSetQueryParallelism = other947.isSetQueryParallelism; + defaultPoolPath = other947.defaultPoolPath; + isSetDefaultPoolPath = other947.isSetDefaultPoolPath; + __isset = other947.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -23083,21 +23197,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other942) { - resourcePlanName = other942.resourcePlanName; - poolPath = other942.poolPath; - allocFraction = other942.allocFraction; - queryParallelism = other942.queryParallelism; - schedulingPolicy = other942.schedulingPolicy; - __isset = other942.__isset; +WMPool::WMPool(const WMPool& other948) { + resourcePlanName = other948.resourcePlanName; + poolPath = other948.poolPath; + allocFraction = other948.allocFraction; + queryParallelism = other948.queryParallelism; + schedulingPolicy = other948.schedulingPolicy; + __isset = other948.__isset; } -WMPool& WMPool::operator=(const WMPool& other943) { - resourcePlanName = other943.resourcePlanName; - poolPath = other943.poolPath; - allocFraction = other943.allocFraction; - queryParallelism = other943.queryParallelism; - schedulingPolicy = other943.schedulingPolicy; - __isset = other943.__isset; +WMPool& WMPool::operator=(const WMPool& other949) { + resourcePlanName = other949.resourcePlanName; + poolPath = other949.poolPath; + allocFraction = other949.allocFraction; + queryParallelism = other949.queryParallelism; + schedulingPolicy = other949.schedulingPolicy; + __isset = other949.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -23280,23 +23394,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other944) { - resourcePlanName = other944.resourcePlanName; - poolPath = other944.poolPath; - allocFraction = other944.allocFraction; - queryParallelism = other944.queryParallelism; - schedulingPolicy = other944.schedulingPolicy; - isSetSchedulingPolicy = other944.isSetSchedulingPolicy; - __isset = other944.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other945) { - resourcePlanName = other945.resourcePlanName; - poolPath = other945.poolPath; - allocFraction = other945.allocFraction; - queryParallelism = other945.queryParallelism; - schedulingPolicy = other945.schedulingPolicy; - isSetSchedulingPolicy = other945.isSetSchedulingPolicy; - __isset = other945.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other950) { + resourcePlanName = other950.resourcePlanName; + poolPath = other950.poolPath; + allocFraction = other950.allocFraction; + queryParallelism = other950.queryParallelism; + schedulingPolicy = other950.schedulingPolicy; + isSetSchedulingPolicy = other950.isSetSchedulingPolicy; + __isset = other950.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other951) { + resourcePlanName = other951.resourcePlanName; + poolPath = other951.poolPath; + allocFraction = other951.allocFraction; + queryParallelism = other951.queryParallelism; + schedulingPolicy = other951.schedulingPolicy; + isSetSchedulingPolicy = other951.isSetSchedulingPolicy; + __isset = other951.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -23461,21 +23575,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other946) { - resourcePlanName = other946.resourcePlanName; - triggerName = other946.triggerName; - triggerExpression = other946.triggerExpression; - actionExpression = other946.actionExpression; - isInUnmanaged = other946.isInUnmanaged; - __isset = other946.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other947) { - resourcePlanName = other947.resourcePlanName; - triggerName = other947.triggerName; - triggerExpression = other947.triggerExpression; - actionExpression = other947.actionExpression; - isInUnmanaged = other947.isInUnmanaged; - __isset = other947.__isset; +WMTrigger::WMTrigger(const WMTrigger& other952) { + resourcePlanName = other952.resourcePlanName; + triggerName = other952.triggerName; + triggerExpression = other952.triggerExpression; + actionExpression = other952.actionExpression; + isInUnmanaged = other952.isInUnmanaged; + __isset = other952.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other953) { + resourcePlanName = other953.resourcePlanName; + triggerName = other953.triggerName; + triggerExpression = other953.triggerExpression; + actionExpression = other953.actionExpression; + isInUnmanaged = other953.isInUnmanaged; + __isset = other953.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -23640,21 +23754,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other948) { - resourcePlanName = other948.resourcePlanName; - entityType = other948.entityType; - entityName = other948.entityName; - poolPath = other948.poolPath; - ordering = other948.ordering; - __isset = other948.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other949) { - resourcePlanName = other949.resourcePlanName; - entityType = other949.entityType; - entityName = other949.entityName; - poolPath = other949.poolPath; - ordering = other949.ordering; - __isset = other949.__isset; +WMMapping::WMMapping(const WMMapping& other954) { + resourcePlanName = other954.resourcePlanName; + entityType = other954.entityType; + entityName = other954.entityName; + poolPath = other954.poolPath; + ordering = other954.ordering; + __isset = other954.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other955) { + resourcePlanName = other955.resourcePlanName; + entityType = other955.entityType; + entityName = other955.entityName; + poolPath = other955.poolPath; + ordering = other955.ordering; + __isset = other955.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -23760,13 +23874,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other950) { - pool = other950.pool; - trigger = other950.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other956) { + pool = other956.pool; + trigger = other956.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other951) { - pool = other951.pool; - trigger = other951.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other957) { + pool = other957.pool; + trigger = other957.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -23840,14 +23954,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size952; - ::apache::thrift::protocol::TType _etype955; - xfer += iprot->readListBegin(_etype955, _size952); - this->pools.resize(_size952); - uint32_t _i956; - for (_i956 = 0; _i956 < _size952; ++_i956) + uint32_t _size958; + ::apache::thrift::protocol::TType _etype961; + xfer += iprot->readListBegin(_etype961, _size958); + this->pools.resize(_size958); + uint32_t _i962; + for (_i962 = 0; _i962 < _size958; ++_i962) { - xfer += this->pools[_i956].read(iprot); + xfer += this->pools[_i962].read(iprot); } xfer += iprot->readListEnd(); } @@ -23860,14 +23974,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size957; - ::apache::thrift::protocol::TType _etype960; - xfer += iprot->readListBegin(_etype960, _size957); - this->mappings.resize(_size957); - uint32_t _i961; - for (_i961 = 0; _i961 < _size957; ++_i961) + uint32_t _size963; + ::apache::thrift::protocol::TType _etype966; + xfer += iprot->readListBegin(_etype966, _size963); + this->mappings.resize(_size963); + uint32_t _i967; + for (_i967 = 0; _i967 < _size963; ++_i967) { - xfer += this->mappings[_i961].read(iprot); + xfer += this->mappings[_i967].read(iprot); } xfer += iprot->readListEnd(); } @@ -23880,14 +23994,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size962; - ::apache::thrift::protocol::TType _etype965; - xfer += iprot->readListBegin(_etype965, _size962); - this->triggers.resize(_size962); - uint32_t _i966; - for (_i966 = 0; _i966 < _size962; ++_i966) + uint32_t _size968; + ::apache::thrift::protocol::TType _etype971; + xfer += iprot->readListBegin(_etype971, _size968); + this->triggers.resize(_size968); + uint32_t _i972; + for (_i972 = 0; _i972 < _size968; ++_i972) { - xfer += this->triggers[_i966].read(iprot); + xfer += this->triggers[_i972].read(iprot); } xfer += iprot->readListEnd(); } @@ -23900,14 +24014,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size967; - ::apache::thrift::protocol::TType _etype970; - xfer += iprot->readListBegin(_etype970, _size967); - this->poolTriggers.resize(_size967); - uint32_t _i971; - for (_i971 = 0; _i971 < _size967; ++_i971) + uint32_t _size973; + ::apache::thrift::protocol::TType _etype976; + xfer += iprot->readListBegin(_etype976, _size973); + this->poolTriggers.resize(_size973); + uint32_t _i977; + for (_i977 = 0; _i977 < _size973; ++_i977) { - xfer += this->poolTriggers[_i971].read(iprot); + xfer += this->poolTriggers[_i977].read(iprot); } xfer += iprot->readListEnd(); } @@ -23944,10 +24058,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("pools", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->pools.size())); - std::vector ::const_iterator _iter972; - for (_iter972 = this->pools.begin(); _iter972 != this->pools.end(); ++_iter972) + std::vector ::const_iterator _iter978; + for (_iter978 = this->pools.begin(); _iter978 != this->pools.end(); ++_iter978) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter978).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23957,10 +24071,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("mappings", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->mappings.size())); - std::vector ::const_iterator _iter973; - for (_iter973 = this->mappings.begin(); _iter973 != this->mappings.end(); ++_iter973) + std::vector ::const_iterator _iter979; + for (_iter979 = this->mappings.begin(); _iter979 != this->mappings.end(); ++_iter979) { - xfer += (*_iter973).write(oprot); + xfer += (*_iter979).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23970,10 +24084,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter974; - for (_iter974 = this->triggers.begin(); _iter974 != this->triggers.end(); ++_iter974) + std::vector ::const_iterator _iter980; + for (_iter980 = this->triggers.begin(); _iter980 != this->triggers.end(); ++_iter980) { - xfer += (*_iter974).write(oprot); + xfer += (*_iter980).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23983,10 +24097,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("poolTriggers", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->poolTriggers.size())); - std::vector ::const_iterator _iter975; - for (_iter975 = this->poolTriggers.begin(); _iter975 != this->poolTriggers.end(); ++_iter975) + std::vector ::const_iterator _iter981; + for (_iter981 = this->poolTriggers.begin(); _iter981 != this->poolTriggers.end(); ++_iter981) { - xfer += (*_iter975).write(oprot); + xfer += (*_iter981).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24007,21 +24121,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other976) { - plan = other976.plan; - pools = other976.pools; - mappings = other976.mappings; - triggers = other976.triggers; - poolTriggers = other976.poolTriggers; - __isset = other976.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other977) { - plan = other977.plan; - pools = other977.pools; - mappings = other977.mappings; - triggers = other977.triggers; - poolTriggers = other977.poolTriggers; - __isset = other977.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other982) { + plan = other982.plan; + pools = other982.pools; + mappings = other982.mappings; + triggers = other982.triggers; + poolTriggers = other982.poolTriggers; + __isset = other982.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other983) { + plan = other983.plan; + pools = other983.pools; + mappings = other983.mappings; + triggers = other983.triggers; + poolTriggers = other983.poolTriggers; + __isset = other983.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -24126,15 +24240,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other978) { - resourcePlan = other978.resourcePlan; - copyFrom = other978.copyFrom; - __isset = other978.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other984) { + resourcePlan = other984.resourcePlan; + copyFrom = other984.copyFrom; + __isset = other984.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other979) { - resourcePlan = other979.resourcePlan; - copyFrom = other979.copyFrom; - __isset = other979.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other985) { + resourcePlan = other985.resourcePlan; + copyFrom = other985.copyFrom; + __isset = other985.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -24194,11 +24308,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other980) { - (void) other980; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other986) { + (void) other986; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other981) { - (void) other981; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other987) { + (void) other987; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24256,11 +24370,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other982) { - (void) other982; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other988) { + (void) other988; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other983) { - (void) other983; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other989) { + (void) other989; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -24341,13 +24455,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other984) { - resourcePlan = other984.resourcePlan; - __isset = other984.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other990) { + resourcePlan = other990.resourcePlan; + __isset = other990.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other985) { - resourcePlan = other985.resourcePlan; - __isset = other985.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other991) { + resourcePlan = other991.resourcePlan; + __isset = other991.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -24429,13 +24543,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other986) { - resourcePlanName = other986.resourcePlanName; - __isset = other986.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other992) { + resourcePlanName = other992.resourcePlanName; + __isset = other992.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other987) { - resourcePlanName = other987.resourcePlanName; - __isset = other987.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other993) { + resourcePlanName = other993.resourcePlanName; + __isset = other993.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -24517,13 +24631,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other988) { - resourcePlan = other988.resourcePlan; - __isset = other988.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other994) { + resourcePlan = other994.resourcePlan; + __isset = other994.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other989) { - resourcePlan = other989.resourcePlan; - __isset = other989.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other995) { + resourcePlan = other995.resourcePlan; + __isset = other995.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -24582,11 +24696,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other990) { - (void) other990; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other996) { + (void) other996; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other991) { - (void) other991; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other997) { + (void) other997; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -24630,14 +24744,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->resourcePlans.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size998; + ::apache::thrift::protocol::TType _etype1001; + xfer += iprot->readListBegin(_etype1001, _size998); + this->resourcePlans.resize(_size998); + uint32_t _i1002; + for (_i1002 = 0; _i1002 < _size998; ++_i1002) { - xfer += this->resourcePlans[_i996].read(iprot); + xfer += this->resourcePlans[_i1002].read(iprot); } xfer += iprot->readListEnd(); } @@ -24667,10 +24781,10 @@ uint32_t WMGetAllResourcePlanResponse::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("resourcePlans", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourcePlans.size())); - std::vector ::const_iterator _iter997; - for (_iter997 = this->resourcePlans.begin(); _iter997 != this->resourcePlans.end(); ++_iter997) + std::vector ::const_iterator _iter1003; + for (_iter1003 = this->resourcePlans.begin(); _iter1003 != this->resourcePlans.end(); ++_iter1003) { - xfer += (*_iter997).write(oprot); + xfer += (*_iter1003).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24687,13 +24801,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other998) { - resourcePlans = other998.resourcePlans; - __isset = other998.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1004) { + resourcePlans = other1004.resourcePlans; + __isset = other1004.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other999) { - resourcePlans = other999.resourcePlans; - __isset = other999.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1005) { + resourcePlans = other1005.resourcePlans; + __isset = other1005.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -24851,21 +24965,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1000) { - resourcePlanName = other1000.resourcePlanName; - resourcePlan = other1000.resourcePlan; - isEnableAndActivate = other1000.isEnableAndActivate; - isForceDeactivate = other1000.isForceDeactivate; - isReplace = other1000.isReplace; - __isset = other1000.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1001) { - resourcePlanName = other1001.resourcePlanName; - resourcePlan = other1001.resourcePlan; - isEnableAndActivate = other1001.isEnableAndActivate; - isForceDeactivate = other1001.isForceDeactivate; - isReplace = other1001.isReplace; - __isset = other1001.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1006) { + resourcePlanName = other1006.resourcePlanName; + resourcePlan = other1006.resourcePlan; + isEnableAndActivate = other1006.isEnableAndActivate; + isForceDeactivate = other1006.isForceDeactivate; + isReplace = other1006.isReplace; + __isset = other1006.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1007) { + resourcePlanName = other1007.resourcePlanName; + resourcePlan = other1007.resourcePlan; + isEnableAndActivate = other1007.isEnableAndActivate; + isForceDeactivate = other1007.isForceDeactivate; + isReplace = other1007.isReplace; + __isset = other1007.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -24951,13 +25065,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1002) { - fullResourcePlan = other1002.fullResourcePlan; - __isset = other1002.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1008) { + fullResourcePlan = other1008.fullResourcePlan; + __isset = other1008.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1003) { - fullResourcePlan = other1003.fullResourcePlan; - __isset = other1003.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1009) { + fullResourcePlan = other1009.fullResourcePlan; + __isset = other1009.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -25039,13 +25153,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1004) { - resourcePlanName = other1004.resourcePlanName; - __isset = other1004.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1010) { + resourcePlanName = other1010.resourcePlanName; + __isset = other1010.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1005) { - resourcePlanName = other1005.resourcePlanName; - __isset = other1005.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1011) { + resourcePlanName = other1011.resourcePlanName; + __isset = other1011.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -25095,14 +25209,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1006; - ::apache::thrift::protocol::TType _etype1009; - xfer += iprot->readListBegin(_etype1009, _size1006); - this->errors.resize(_size1006); - uint32_t _i1010; - for (_i1010 = 0; _i1010 < _size1006; ++_i1010) + uint32_t _size1012; + ::apache::thrift::protocol::TType _etype1015; + xfer += iprot->readListBegin(_etype1015, _size1012); + this->errors.resize(_size1012); + uint32_t _i1016; + for (_i1016 = 0; _i1016 < _size1012; ++_i1016) { - xfer += iprot->readString(this->errors[_i1010]); + xfer += iprot->readString(this->errors[_i1016]); } xfer += iprot->readListEnd(); } @@ -25115,14 +25229,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->warnings.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1017; + ::apache::thrift::protocol::TType _etype1020; + xfer += iprot->readListBegin(_etype1020, _size1017); + this->warnings.resize(_size1017); + uint32_t _i1021; + for (_i1021 = 0; _i1021 < _size1017; ++_i1021) { - xfer += iprot->readString(this->warnings[_i1015]); + xfer += iprot->readString(this->warnings[_i1021]); } xfer += iprot->readListEnd(); } @@ -25152,10 +25266,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->errors.size())); - std::vector ::const_iterator _iter1016; - for (_iter1016 = this->errors.begin(); _iter1016 != this->errors.end(); ++_iter1016) + std::vector ::const_iterator _iter1022; + for (_iter1022 = this->errors.begin(); _iter1022 != this->errors.end(); ++_iter1022) { - xfer += oprot->writeString((*_iter1016)); + xfer += oprot->writeString((*_iter1022)); } xfer += oprot->writeListEnd(); } @@ -25165,10 +25279,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("warnings", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->warnings.size())); - std::vector ::const_iterator _iter1017; - for (_iter1017 = this->warnings.begin(); _iter1017 != this->warnings.end(); ++_iter1017) + std::vector ::const_iterator _iter1023; + for (_iter1023 = this->warnings.begin(); _iter1023 != this->warnings.end(); ++_iter1023) { - xfer += oprot->writeString((*_iter1017)); + xfer += oprot->writeString((*_iter1023)); } xfer += oprot->writeListEnd(); } @@ -25186,15 +25300,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1018) { - errors = other1018.errors; - warnings = other1018.warnings; - __isset = other1018.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1024) { + errors = other1024.errors; + warnings = other1024.warnings; + __isset = other1024.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1019) { - errors = other1019.errors; - warnings = other1019.warnings; - __isset = other1019.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1025) { + errors = other1025.errors; + warnings = other1025.warnings; + __isset = other1025.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -25277,13 +25391,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1020) { - resourcePlanName = other1020.resourcePlanName; - __isset = other1020.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1026) { + resourcePlanName = other1026.resourcePlanName; + __isset = other1026.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1021) { - resourcePlanName = other1021.resourcePlanName; - __isset = other1021.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1027) { + resourcePlanName = other1027.resourcePlanName; + __isset = other1027.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -25342,11 +25456,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1022) { - (void) other1022; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1028) { + (void) other1028; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1023) { - (void) other1023; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1029) { + (void) other1029; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -25427,13 +25541,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1024) { - trigger = other1024.trigger; - __isset = other1024.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1030) { + trigger = other1030.trigger; + __isset = other1030.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1025) { - trigger = other1025.trigger; - __isset = other1025.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1031) { + trigger = other1031.trigger; + __isset = other1031.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -25492,11 +25606,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1026) { - (void) other1026; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1032) { + (void) other1032; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1027) { - (void) other1027; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1033) { + (void) other1033; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -25577,13 +25691,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1028) { - trigger = other1028.trigger; - __isset = other1028.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1034) { + trigger = other1034.trigger; + __isset = other1034.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1029) { - trigger = other1029.trigger; - __isset = other1029.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1035) { + trigger = other1035.trigger; + __isset = other1035.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -25642,11 +25756,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1030) { - (void) other1030; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1036) { + (void) other1036; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1031) { - (void) other1031; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1037) { + (void) other1037; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -25746,15 +25860,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1032) { - resourcePlanName = other1032.resourcePlanName; - triggerName = other1032.triggerName; - __isset = other1032.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1038) { + resourcePlanName = other1038.resourcePlanName; + triggerName = other1038.triggerName; + __isset = other1038.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1033) { - resourcePlanName = other1033.resourcePlanName; - triggerName = other1033.triggerName; - __isset = other1033.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1039) { + resourcePlanName = other1039.resourcePlanName; + triggerName = other1039.triggerName; + __isset = other1039.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -25814,11 +25928,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1034) { - (void) other1034; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1040) { + (void) other1040; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1035) { - (void) other1035; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1041) { + (void) other1041; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -25899,13 +26013,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1036) { - resourcePlanName = other1036.resourcePlanName; - __isset = other1036.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1042) { + resourcePlanName = other1042.resourcePlanName; + __isset = other1042.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1037) { - resourcePlanName = other1037.resourcePlanName; - __isset = other1037.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1043) { + resourcePlanName = other1043.resourcePlanName; + __isset = other1043.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -25950,14 +26064,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1038; - ::apache::thrift::protocol::TType _etype1041; - xfer += iprot->readListBegin(_etype1041, _size1038); - this->triggers.resize(_size1038); - uint32_t _i1042; - for (_i1042 = 0; _i1042 < _size1038; ++_i1042) + uint32_t _size1044; + ::apache::thrift::protocol::TType _etype1047; + xfer += iprot->readListBegin(_etype1047, _size1044); + this->triggers.resize(_size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - xfer += this->triggers[_i1042].read(iprot); + xfer += this->triggers[_i1048].read(iprot); } xfer += iprot->readListEnd(); } @@ -25987,10 +26101,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol:: xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1043; - for (_iter1043 = this->triggers.begin(); _iter1043 != this->triggers.end(); ++_iter1043) + std::vector ::const_iterator _iter1049; + for (_iter1049 = this->triggers.begin(); _iter1049 != this->triggers.end(); ++_iter1049) { - xfer += (*_iter1043).write(oprot); + xfer += (*_iter1049).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26007,13 +26121,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1044) { - triggers = other1044.triggers; - __isset = other1044.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1050) { + triggers = other1050.triggers; + __isset = other1050.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1045) { - triggers = other1045.triggers; - __isset = other1045.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1051) { + triggers = other1051.triggers; + __isset = other1051.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -26095,13 +26209,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1046) { - pool = other1046.pool; - __isset = other1046.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1052) { + pool = other1052.pool; + __isset = other1052.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1047) { - pool = other1047.pool; - __isset = other1047.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1053) { + pool = other1053.pool; + __isset = other1053.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -26160,11 +26274,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1048) { - (void) other1048; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1054) { + (void) other1054; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1049) { - (void) other1049; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1055) { + (void) other1055; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -26264,15 +26378,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1050) { - pool = other1050.pool; - poolPath = other1050.poolPath; - __isset = other1050.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1056) { + pool = other1056.pool; + poolPath = other1056.poolPath; + __isset = other1056.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1051) { - pool = other1051.pool; - poolPath = other1051.poolPath; - __isset = other1051.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1057) { + pool = other1057.pool; + poolPath = other1057.poolPath; + __isset = other1057.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -26332,11 +26446,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1052) { - (void) other1052; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1058) { + (void) other1058; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1053) { - (void) other1053; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1059) { + (void) other1059; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -26436,15 +26550,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1054) { - resourcePlanName = other1054.resourcePlanName; - poolPath = other1054.poolPath; - __isset = other1054.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1060) { + resourcePlanName = other1060.resourcePlanName; + poolPath = other1060.poolPath; + __isset = other1060.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1055) { - resourcePlanName = other1055.resourcePlanName; - poolPath = other1055.poolPath; - __isset = other1055.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1061) { + resourcePlanName = other1061.resourcePlanName; + poolPath = other1061.poolPath; + __isset = other1061.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -26504,11 +26618,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1056) { - (void) other1056; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1062) { + (void) other1062; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1057) { - (void) other1057; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1063) { + (void) other1063; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -26608,15 +26722,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1058) { - mapping = other1058.mapping; - update = other1058.update; - __isset = other1058.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1064) { + mapping = other1064.mapping; + update = other1064.update; + __isset = other1064.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1059) { - mapping = other1059.mapping; - update = other1059.update; - __isset = other1059.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1065) { + mapping = other1065.mapping; + update = other1065.update; + __isset = other1065.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -26676,11 +26790,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1060) { - (void) other1060; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1066) { + (void) other1066; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1061) { - (void) other1061; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1067) { + (void) other1067; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -26761,13 +26875,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1062) { - mapping = other1062.mapping; - __isset = other1062.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1068) { + mapping = other1068.mapping; + __isset = other1068.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1063) { - mapping = other1063.mapping; - __isset = other1063.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1069) { + mapping = other1069.mapping; + __isset = other1069.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -26826,11 +26940,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1064) { - (void) other1064; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1070) { + (void) other1070; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1065) { - (void) other1065; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1071) { + (void) other1071; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -26968,19 +27082,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1066) { - resourcePlanName = other1066.resourcePlanName; - triggerName = other1066.triggerName; - poolPath = other1066.poolPath; - drop = other1066.drop; - __isset = other1066.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1072) { + resourcePlanName = other1072.resourcePlanName; + triggerName = other1072.triggerName; + poolPath = other1072.poolPath; + drop = other1072.drop; + __isset = other1072.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1067) { - resourcePlanName = other1067.resourcePlanName; - triggerName = other1067.triggerName; - poolPath = other1067.poolPath; - drop = other1067.drop; - __isset = other1067.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1073) { + resourcePlanName = other1073.resourcePlanName; + triggerName = other1073.triggerName; + poolPath = other1073.poolPath; + drop = other1073.drop; + __isset = other1073.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -27042,11 +27156,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1068) { - (void) other1068; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1074) { + (void) other1074; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1069) { - (void) other1069; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1075) { + (void) other1075; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -27117,9 +27231,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1070; - xfer += iprot->readI32(ecast1070); - this->schemaType = (SchemaType::type)ecast1070; + int32_t ecast1076; + xfer += iprot->readI32(ecast1076); + this->schemaType = (SchemaType::type)ecast1076; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -27143,9 +27257,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1071; - xfer += iprot->readI32(ecast1071); - this->compatibility = (SchemaCompatibility::type)ecast1071; + int32_t ecast1077; + xfer += iprot->readI32(ecast1077); + this->compatibility = (SchemaCompatibility::type)ecast1077; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -27153,9 +27267,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1072; - xfer += iprot->readI32(ecast1072); - this->validationLevel = (SchemaValidation::type)ecast1072; + int32_t ecast1078; + xfer += iprot->readI32(ecast1078); + this->validationLevel = (SchemaValidation::type)ecast1078; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -27254,27 +27368,27 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1073) { - schemaType = other1073.schemaType; - name = other1073.name; - dbName = other1073.dbName; - compatibility = other1073.compatibility; - validationLevel = other1073.validationLevel; - canEvolve = other1073.canEvolve; - schemaGroup = other1073.schemaGroup; - description = other1073.description; - __isset = other1073.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1074) { - schemaType = other1074.schemaType; - name = other1074.name; - dbName = other1074.dbName; - compatibility = other1074.compatibility; - validationLevel = other1074.validationLevel; - canEvolve = other1074.canEvolve; - schemaGroup = other1074.schemaGroup; - description = other1074.description; - __isset = other1074.__isset; +ISchema::ISchema(const ISchema& other1079) { + schemaType = other1079.schemaType; + name = other1079.name; + dbName = other1079.dbName; + compatibility = other1079.compatibility; + validationLevel = other1079.validationLevel; + canEvolve = other1079.canEvolve; + schemaGroup = other1079.schemaGroup; + description = other1079.description; + __isset = other1079.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1080) { + schemaType = other1080.schemaType; + name = other1080.name; + dbName = other1080.dbName; + compatibility = other1080.compatibility; + validationLevel = other1080.validationLevel; + canEvolve = other1080.canEvolve; + schemaGroup = other1080.schemaGroup; + description = other1080.description; + __isset = other1080.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -27378,15 +27492,15 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1075) { - dbName = other1075.dbName; - schemaName = other1075.schemaName; - __isset = other1075.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1081) { + dbName = other1081.dbName; + schemaName = other1081.schemaName; + __isset = other1081.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1076) { - dbName = other1076.dbName; - schemaName = other1076.schemaName; - __isset = other1076.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1082) { + dbName = other1082.dbName; + schemaName = other1082.schemaName; + __isset = other1082.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -27484,15 +27598,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1077) { - name = other1077.name; - newSchema = other1077.newSchema; - __isset = other1077.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1083) { + name = other1083.name; + newSchema = other1083.newSchema; + __isset = other1083.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1078) { - name = other1078.name; - newSchema = other1078.newSchema; - __isset = other1078.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1084) { + name = other1084.name; + newSchema = other1084.newSchema; + __isset = other1084.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -27603,14 +27717,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->cols.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1085; + ::apache::thrift::protocol::TType _etype1088; + xfer += iprot->readListBegin(_etype1088, _size1085); + this->cols.resize(_size1085); + uint32_t _i1089; + for (_i1089 = 0; _i1089 < _size1085; ++_i1089) { - xfer += this->cols[_i1083].read(iprot); + xfer += this->cols[_i1089].read(iprot); } xfer += iprot->readListEnd(); } @@ -27621,9 +27735,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1084; - xfer += iprot->readI32(ecast1084); - this->state = (SchemaVersionState::type)ecast1084; + int32_t ecast1090; + xfer += iprot->readI32(ecast1090); + this->state = (SchemaVersionState::type)ecast1090; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -27701,10 +27815,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1085; - for (_iter1085 = this->cols.begin(); _iter1085 != this->cols.end(); ++_iter1085) + std::vector ::const_iterator _iter1091; + for (_iter1091 = this->cols.begin(); _iter1091 != this->cols.end(); ++_iter1091) { - xfer += (*_iter1085).write(oprot); + xfer += (*_iter1091).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27760,31 +27874,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1086) { - schema = other1086.schema; - version = other1086.version; - createdAt = other1086.createdAt; - cols = other1086.cols; - state = other1086.state; - description = other1086.description; - schemaText = other1086.schemaText; - fingerprint = other1086.fingerprint; - name = other1086.name; - serDe = other1086.serDe; - __isset = other1086.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1087) { - schema = other1087.schema; - version = other1087.version; - createdAt = other1087.createdAt; - cols = other1087.cols; - state = other1087.state; - description = other1087.description; - schemaText = other1087.schemaText; - fingerprint = other1087.fingerprint; - name = other1087.name; - serDe = other1087.serDe; - __isset = other1087.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1092) { + schema = other1092.schema; + version = other1092.version; + createdAt = other1092.createdAt; + cols = other1092.cols; + state = other1092.state; + description = other1092.description; + schemaText = other1092.schemaText; + fingerprint = other1092.fingerprint; + name = other1092.name; + serDe = other1092.serDe; + __isset = other1092.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1093) { + schema = other1093.schema; + version = other1093.version; + createdAt = other1093.createdAt; + cols = other1093.cols; + state = other1093.state; + description = other1093.description; + schemaText = other1093.schemaText; + fingerprint = other1093.fingerprint; + name = other1093.name; + serDe = other1093.serDe; + __isset = other1093.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -27890,15 +28004,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1088) { - schema = other1088.schema; - version = other1088.version; - __isset = other1088.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1094) { + schema = other1094.schema; + version = other1094.version; + __isset = other1094.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1089) { - schema = other1089.schema; - version = other1089.version; - __isset = other1089.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1095) { + schema = other1095.schema; + version = other1095.version; + __isset = other1095.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -28019,17 +28133,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1090) { - colName = other1090.colName; - colNamespace = other1090.colNamespace; - type = other1090.type; - __isset = other1090.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1096) { + colName = other1096.colName; + colNamespace = other1096.colNamespace; + type = other1096.type; + __isset = other1096.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1091) { - colName = other1091.colName; - colNamespace = other1091.colNamespace; - type = other1091.type; - __isset = other1091.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1097) { + colName = other1097.colName; + colNamespace = other1097.colNamespace; + type = other1097.type; + __isset = other1097.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -28075,14 +28189,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1092; - ::apache::thrift::protocol::TType _etype1095; - xfer += iprot->readListBegin(_etype1095, _size1092); - this->schemaVersions.resize(_size1092); - uint32_t _i1096; - for (_i1096 = 0; _i1096 < _size1092; ++_i1096) + uint32_t _size1098; + ::apache::thrift::protocol::TType _etype1101; + xfer += iprot->readListBegin(_etype1101, _size1098); + this->schemaVersions.resize(_size1098); + uint32_t _i1102; + for (_i1102 = 0; _i1102 < _size1098; ++_i1102) { - xfer += this->schemaVersions[_i1096].read(iprot); + xfer += this->schemaVersions[_i1102].read(iprot); } xfer += iprot->readListEnd(); } @@ -28111,10 +28225,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1097; - for (_iter1097 = this->schemaVersions.begin(); _iter1097 != this->schemaVersions.end(); ++_iter1097) + std::vector ::const_iterator _iter1103; + for (_iter1103 = this->schemaVersions.begin(); _iter1103 != this->schemaVersions.end(); ++_iter1103) { - xfer += (*_iter1097).write(oprot); + xfer += (*_iter1103).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28131,13 +28245,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1098) { - schemaVersions = other1098.schemaVersions; - __isset = other1098.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1104) { + schemaVersions = other1104.schemaVersions; + __isset = other1104.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1099) { - schemaVersions = other1099.schemaVersions; - __isset = other1099.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1105) { + schemaVersions = other1105.schemaVersions; + __isset = other1105.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -28234,15 +28348,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1100) { - schemaVersion = other1100.schemaVersion; - serdeName = other1100.serdeName; - __isset = other1100.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1106) { + schemaVersion = other1106.schemaVersion; + serdeName = other1106.serdeName; + __isset = other1106.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1101) { - schemaVersion = other1101.schemaVersion; - serdeName = other1101.serdeName; - __isset = other1101.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1107) { + schemaVersion = other1107.schemaVersion; + serdeName = other1107.serdeName; + __isset = other1107.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -28297,9 +28411,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1102; - xfer += iprot->readI32(ecast1102); - this->state = (SchemaVersionState::type)ecast1102; + int32_t ecast1108; + xfer += iprot->readI32(ecast1108); + this->state = (SchemaVersionState::type)ecast1108; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -28342,15 +28456,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1103) { - schemaVersion = other1103.schemaVersion; - state = other1103.state; - __isset = other1103.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1109) { + schemaVersion = other1109.schemaVersion; + state = other1109.state; + __isset = other1109.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1104) { - schemaVersion = other1104.schemaVersion; - state = other1104.state; - __isset = other1104.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1110) { + schemaVersion = other1110.schemaVersion; + state = other1110.state; + __isset = other1110.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -28431,13 +28545,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1105) { - serdeName = other1105.serdeName; - __isset = other1105.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1111) { + serdeName = other1111.serdeName; + __isset = other1111.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1106) { - serdeName = other1106.serdeName; - __isset = other1106.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1112) { + serdeName = other1112.serdeName; + __isset = other1112.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -28517,13 +28631,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1107) : TException() { - message = other1107.message; - __isset = other1107.__isset; +MetaException::MetaException(const MetaException& other1113) : TException() { + message = other1113.message; + __isset = other1113.__isset; } -MetaException& MetaException::operator=(const MetaException& other1108) { - message = other1108.message; - __isset = other1108.__isset; +MetaException& MetaException::operator=(const MetaException& other1114) { + message = other1114.message; + __isset = other1114.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -28614,13 +28728,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1109) : TException() { - message = other1109.message; - __isset = other1109.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1115) : TException() { + message = other1115.message; + __isset = other1115.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1110) { - message = other1110.message; - __isset = other1110.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1116) { + message = other1116.message; + __isset = other1116.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -28711,13 +28825,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1111) : TException() { - message = other1111.message; - __isset = other1111.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1117) : TException() { + message = other1117.message; + __isset = other1117.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1112) { - message = other1112.message; - __isset = other1112.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1118) { + message = other1118.message; + __isset = other1118.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -28808,13 +28922,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1113) : TException() { - message = other1113.message; - __isset = other1113.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1119) : TException() { + message = other1119.message; + __isset = other1119.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1114) { - message = other1114.message; - __isset = other1114.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1120) { + message = other1120.message; + __isset = other1120.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -28905,13 +29019,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1115) : TException() { - message = other1115.message; - __isset = other1115.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1121) : TException() { + message = other1121.message; + __isset = other1121.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1116) { - message = other1116.message; - __isset = other1116.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1122) { + message = other1122.message; + __isset = other1122.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -29002,13 +29116,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1117) : TException() { - message = other1117.message; - __isset = other1117.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1123) : TException() { + message = other1123.message; + __isset = other1123.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1118) { - message = other1118.message; - __isset = other1118.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1124) { + message = other1124.message; + __isset = other1124.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -29099,13 +29213,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1119) : TException() { - message = other1119.message; - __isset = other1119.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1125) : TException() { + message = other1125.message; + __isset = other1125.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1120) { - message = other1120.message; - __isset = other1120.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1126) { + message = other1126.message; + __isset = other1126.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -29196,13 +29310,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1121) : TException() { - message = other1121.message; - __isset = other1121.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1127) : TException() { + message = other1127.message; + __isset = other1127.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1122) { - message = other1122.message; - __isset = other1122.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1128) { + message = other1128.message; + __isset = other1128.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -29293,13 +29407,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1123) : TException() { - message = other1123.message; - __isset = other1123.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1129) : TException() { + message = other1129.message; + __isset = other1129.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1124) { - message = other1124.message; - __isset = other1124.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1130) { + message = other1130.message; + __isset = other1130.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -29390,13 +29504,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1125) : TException() { - message = other1125.message; - __isset = other1125.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1131) : TException() { + message = other1131.message; + __isset = other1131.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1126) { - message = other1126.message; - __isset = other1126.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1132) { + message = other1132.message; + __isset = other1132.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -29487,13 +29601,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1127) : TException() { - message = other1127.message; - __isset = other1127.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1133) : TException() { + message = other1133.message; + __isset = other1133.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1128) { - message = other1128.message; - __isset = other1128.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1134) { + message = other1134.message; + __isset = other1134.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -29584,13 +29698,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1129) : TException() { - message = other1129.message; - __isset = other1129.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1135) : TException() { + message = other1135.message; + __isset = other1135.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1130) { - message = other1130.message; - __isset = other1130.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1136) { + message = other1136.message; + __isset = other1136.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -29681,13 +29795,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1131) : TException() { - message = other1131.message; - __isset = other1131.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1137) : TException() { + message = other1137.message; + __isset = other1137.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1132) { - message = other1132.message; - __isset = other1132.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1138) { + message = other1138.message; + __isset = other1138.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -29778,13 +29892,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1133) : TException() { - message = other1133.message; - __isset = other1133.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1139) : TException() { + message = other1139.message; + __isset = other1139.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1134) { - message = other1134.message; - __isset = other1134.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1140) { + message = other1140.message; + __isset = other1140.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -29875,13 +29989,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1135) : TException() { - message = other1135.message; - __isset = other1135.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1141) : TException() { + message = other1141.message; + __isset = other1141.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1136) { - message = other1136.message; - __isset = other1136.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1142) { + message = other1142.message; + __isset = other1142.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 05a7a29fcc..d58af7951b 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -5966,8 +5966,10 @@ inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& ob } typedef struct _OpenTxnRequest__isset { - _OpenTxnRequest__isset() : agentInfo(true) {} + _OpenTxnRequest__isset() : agentInfo(true), replPolicy(false), replSrcTxnIds(false) {} bool agentInfo :1; + bool replPolicy :1; + bool replSrcTxnIds :1; } _OpenTxnRequest__isset; class OpenTxnRequest { @@ -5975,7 +5977,7 @@ class OpenTxnRequest { OpenTxnRequest(const OpenTxnRequest&); OpenTxnRequest& operator=(const OpenTxnRequest&); - OpenTxnRequest() : num_txns(0), user(), hostname(), agentInfo("Unknown") { + OpenTxnRequest() : num_txns(0), user(), hostname(), agentInfo("Unknown"), replPolicy() { } virtual ~OpenTxnRequest() throw(); @@ -5983,6 +5985,8 @@ class OpenTxnRequest { std::string user; std::string hostname; std::string agentInfo; + std::string replPolicy; + std::vector replSrcTxnIds; _OpenTxnRequest__isset __isset; @@ -5994,6 +5998,10 @@ class OpenTxnRequest { void __set_agentInfo(const std::string& val); + void __set_replPolicy(const std::string& val); + + void __set_replSrcTxnIds(const std::vector & val); + bool operator == (const OpenTxnRequest & rhs) const { if (!(num_txns == rhs.num_txns)) @@ -6006,6 +6014,14 @@ class OpenTxnRequest { return false; else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; + if (__isset.replSrcTxnIds != rhs.__isset.replSrcTxnIds) + return false; + else if (__isset.replSrcTxnIds && !(replSrcTxnIds == rhs.replSrcTxnIds)) + return false; return true; } bool operator != (const OpenTxnRequest &rhs) const { @@ -6068,24 +6084,37 @@ inline std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj) return out; } +typedef struct _AbortTxnRequest__isset { + _AbortTxnRequest__isset() : replPolicy(false) {} + bool replPolicy :1; +} _AbortTxnRequest__isset; class AbortTxnRequest { public: AbortTxnRequest(const AbortTxnRequest&); AbortTxnRequest& operator=(const AbortTxnRequest&); - AbortTxnRequest() : txnid(0) { + AbortTxnRequest() : txnid(0), replPolicy() { } virtual ~AbortTxnRequest() throw(); int64_t txnid; + std::string replPolicy; + + _AbortTxnRequest__isset __isset; void __set_txnid(const int64_t val); + void __set_replPolicy(const std::string& val); + bool operator == (const AbortTxnRequest & rhs) const { if (!(txnid == rhs.txnid)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; return true; } bool operator != (const AbortTxnRequest &rhs) const { @@ -6148,24 +6177,37 @@ inline std::ostream& operator<<(std::ostream& out, const AbortTxnsRequest& obj) return out; } +typedef struct _CommitTxnRequest__isset { + _CommitTxnRequest__isset() : replPolicy(false) {} + bool replPolicy :1; +} _CommitTxnRequest__isset; class CommitTxnRequest { public: CommitTxnRequest(const CommitTxnRequest&); CommitTxnRequest& operator=(const CommitTxnRequest&); - CommitTxnRequest() : txnid(0) { + CommitTxnRequest() : txnid(0), replPolicy() { } virtual ~CommitTxnRequest() throw(); int64_t txnid; + std::string replPolicy; + + _CommitTxnRequest__isset __isset; void __set_txnid(const int64_t val); + void __set_replPolicy(const std::string& val); + bool operator == (const CommitTxnRequest & rhs) const { if (!(txnid == rhs.txnid)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; return true; } bool operator != (const CommitTxnRequest &rhs) const { diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java index d6c68fe67a..3530f2bce1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,12 @@ } private long txnid; // required + private String replPolicy; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TXNID((short)1, "txnid"); + TXNID((short)1, "txnid"), + REPL_POLICY((short)2, "replPolicy"); private static final Map byName = new HashMap(); @@ -67,6 +70,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TXNID return TXNID; + case 2: // REPL_POLICY + return REPL_POLICY; default: return null; } @@ -109,11 +114,14 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.REPL_POLICY}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AbortTxnRequest.class, metaDataMap); } @@ -135,6 +143,9 @@ public AbortTxnRequest( public AbortTxnRequest(AbortTxnRequest other) { __isset_bitfield = other.__isset_bitfield; this.txnid = other.txnid; + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } } public AbortTxnRequest deepCopy() { @@ -145,6 +156,7 @@ public AbortTxnRequest deepCopy() { public void clear() { setTxnidIsSet(false); this.txnid = 0; + this.replPolicy = null; } public long getTxnid() { @@ -169,6 +181,29 @@ public void setTxnidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TXNID: @@ -179,6 +214,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + } } @@ -187,6 +230,9 @@ public Object getFieldValue(_Fields field) { case TXNID: return getTxnid(); + case REPL_POLICY: + return getReplPolicy(); + } throw new IllegalStateException(); } @@ -200,6 +246,8 @@ public boolean isSet(_Fields field) { switch (field) { case TXNID: return isSetTxnid(); + case REPL_POLICY: + return isSetReplPolicy(); } throw new IllegalStateException(); } @@ -226,6 +274,15 @@ public boolean equals(AbortTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + return true; } @@ -238,6 +295,11 @@ public int hashCode() { if (present_txnid) list.add(txnid); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + return list.hashCode(); } @@ -259,6 +321,16 @@ public int compareTo(AbortTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282,6 +354,16 @@ public String toString() { sb.append("txnid:"); sb.append(this.txnid); first = false; + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -339,6 +421,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnRequest str org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -355,6 +445,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnRequest st oprot.writeFieldBegin(TXNID_FIELD_DESC); oprot.writeI64(struct.txnid); oprot.writeFieldEnd(); + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -373,6 +470,14 @@ public AbortTxnRequestTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.txnid); + BitSet optionals = new BitSet(); + if (struct.isSetReplPolicy()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } } @Override @@ -380,6 +485,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnRequest stru TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index 699f27b74e..52dcdb5c00 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list554 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list554.size); - long _elem555; - for (int _i556 = 0; _i556 < _list554.size; ++_i556) + org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list562.size); + long _elem563; + for (int _i564 = 0; _i564 < _list562.size; ++_i564) { - _elem555 = iprot.readI64(); - struct.txn_ids.add(_elem555); + _elem563 = iprot.readI64(); + struct.txn_ids.add(_elem563); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter557 : struct.txn_ids) + for (long _iter565 : struct.txn_ids) { - oprot.writeI64(_iter557); + oprot.writeI64(_iter565); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter558 : struct.txn_ids) + for (long _iter566 : struct.txn_ids) { - oprot.writeI64(_iter558); + oprot.writeI64(_iter566); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list559.size); - long _elem560; - for (int _i561 = 0; _i561 < _list559.size; ++_i561) + org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list567.size); + long _elem568; + for (int _i569 = 0; _i569 < _list567.size; ++_i569) { - _elem560 = iprot.readI64(); - struct.txn_ids.add(_elem560); + _elem568 = iprot.readI64(); + struct.txn_ids.add(_elem568); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 2144dc0a37..156316b706 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list652 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list652.size); - String _elem653; - for (int _i654 = 0; _i654 < _list652.size; ++_i654) + org.apache.thrift.protocol.TList _list660 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list660.size); + String _elem661; + for (int _i662 = 0; _i662 < _list660.size; ++_i662) { - _elem653 = iprot.readString(); - struct.partitionnames.add(_elem653); + _elem661 = iprot.readString(); + struct.partitionnames.add(_elem661); } iprot.readListEnd(); } @@ -872,9 +872,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter655 : struct.partitionnames) + for (String _iter663 : struct.partitionnames) { - oprot.writeString(_iter655); + oprot.writeString(_iter663); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter656 : struct.partitionnames) + for (String _iter664 : struct.partitionnames) { - oprot.writeString(_iter656); + oprot.writeString(_iter664); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list657 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list657.size); - String _elem658; - for (int _i659 = 0; _i659 < _list657.size; ++_i659) + org.apache.thrift.protocol.TList _list665 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list665.size); + String _elem666; + for (int _i667 = 0; _i667 < _list665.size; ++_i667) { - _elem658 = iprot.readString(); - struct.partitionnames.add(_elem658); + _elem666 = iprot.readString(); + struct.partitionnames.add(_elem666); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index b143812dc7..ab415ead72 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -521,13 +521,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list586.size); - long _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readI64(); - struct.txnIds.add(_elem587); + _elem595 = iprot.readI64(); + struct.txnIds.add(_elem595); } iprot.readListEnd(); } @@ -569,9 +569,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txnIds.size())); - for (long _iter589 : struct.txnIds) + for (long _iter597 : struct.txnIds) { - oprot.writeI64(_iter589); + oprot.writeI64(_iter597); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnIds.size()); - for (long _iter590 : struct.txnIds) + for (long _iter598 : struct.txnIds) { - oprot.writeI64(_iter590); + oprot.writeI64(_iter598); } } oprot.writeString(struct.dbName); @@ -619,13 +619,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list591.size); - long _elem592; - for (int _i593 = 0; _i593 < _list591.size; ++_i593) + org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list599.size); + long _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) { - _elem592 = iprot.readI64(); - struct.txnIds.add(_elem592); + _elem600 = iprot.readI64(); + struct.txnIds.add(_elem600); } } struct.setTxnIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java index d9ed20d631..c022d6d57e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_TO_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list594.size); - TxnToWriteId _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list602.size); + TxnToWriteId _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = new TxnToWriteId(); - _elem595.read(iprot); - struct.txnToWriteIds.add(_elem595); + _elem603 = new TxnToWriteId(); + _elem603.read(iprot); + struct.txnToWriteIds.add(_elem603); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_TO_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.txnToWriteIds.size())); - for (TxnToWriteId _iter597 : struct.txnToWriteIds) + for (TxnToWriteId _iter605 : struct.txnToWriteIds) { - _iter597.write(oprot); + _iter605.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnToWriteIds.size()); - for (TxnToWriteId _iter598 : struct.txnToWriteIds) + for (TxnToWriteId _iter606 : struct.txnToWriteIds) { - _iter598.write(oprot); + _iter606.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list599.size); - TxnToWriteId _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list607.size); + TxnToWriteId _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = new TxnToWriteId(); - _elem600.read(iprot); - struct.txnToWriteIds.add(_elem600); + _elem608 = new TxnToWriteId(); + _elem608.read(iprot); + struct.txnToWriteIds.add(_elem608); } } struct.setTxnToWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 78d9255bb8..dadb12cae1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list752.size); - long _elem753; - for (int _i754 = 0; _i754 < _list752.size; ++_i754) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list760.size); + long _elem761; + for (int _i762 = 0; _i762 < _list760.size; ++_i762) { - _elem753 = iprot.readI64(); - struct.fileIds.add(_elem753); + _elem761 = iprot.readI64(); + struct.fileIds.add(_elem761); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter755 : struct.fileIds) + for (long _iter763 : struct.fileIds) { - oprot.writeI64(_iter755); + oprot.writeI64(_iter763); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter756 : struct.fileIds) + for (long _iter764 : struct.fileIds) { - oprot.writeI64(_iter756); + oprot.writeI64(_iter764); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list757.size); - long _elem758; - for (int _i759 = 0; _i759 < _list757.size; ++_i759) + org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list765.size); + long _elem766; + for (int _i767 = 0; _i767 < _list765.size; ++_i767) { - _elem758 = iprot.readI64(); - struct.fileIds.add(_elem758); + _elem766 = iprot.readI64(); + struct.fileIds.add(_elem766); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index c27792f61f..3acdd9d08e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); - struct.values = new ArrayList(_list768.size); - ClientCapability _elem769; - for (int _i770 = 0; _i770 < _list768.size; ++_i770) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.values = new ArrayList(_list776.size); + ClientCapability _elem777; + for (int _i778 = 0; _i778 < _list776.size; ++_i778) { - _elem769 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem769); + _elem777 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem777); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter771 : struct.values) + for (ClientCapability _iter779 : struct.values) { - oprot.writeI32(_iter771.getValue()); + oprot.writeI32(_iter779.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter772 : struct.values) + for (ClientCapability _iter780 : struct.values) { - oprot.writeI32(_iter772.getValue()); + oprot.writeI32(_iter780.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list773.size); - ClientCapability _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list781.size); + ClientCapability _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem774 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem774); + _elem782 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem782); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index 17e6e9ce98..3c15f84942 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommitTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,12 @@ } private long txnid; // required + private String replPolicy; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TXNID((short)1, "txnid"); + TXNID((short)1, "txnid"), + REPL_POLICY((short)2, "replPolicy"); private static final Map byName = new HashMap(); @@ -67,6 +70,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TXNID return TXNID; + case 2: // REPL_POLICY + return REPL_POLICY; default: return null; } @@ -109,11 +114,14 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.REPL_POLICY}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CommitTxnRequest.class, metaDataMap); } @@ -135,6 +143,9 @@ public CommitTxnRequest( public CommitTxnRequest(CommitTxnRequest other) { __isset_bitfield = other.__isset_bitfield; this.txnid = other.txnid; + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } } public CommitTxnRequest deepCopy() { @@ -145,6 +156,7 @@ public CommitTxnRequest deepCopy() { public void clear() { setTxnidIsSet(false); this.txnid = 0; + this.replPolicy = null; } public long getTxnid() { @@ -169,6 +181,29 @@ public void setTxnidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TXNID: @@ -179,6 +214,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + } } @@ -187,6 +230,9 @@ public Object getFieldValue(_Fields field) { case TXNID: return getTxnid(); + case REPL_POLICY: + return getReplPolicy(); + } throw new IllegalStateException(); } @@ -200,6 +246,8 @@ public boolean isSet(_Fields field) { switch (field) { case TXNID: return isSetTxnid(); + case REPL_POLICY: + return isSetReplPolicy(); } throw new IllegalStateException(); } @@ -226,6 +274,15 @@ public boolean equals(CommitTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + return true; } @@ -238,6 +295,11 @@ public int hashCode() { if (present_txnid) list.add(txnid); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + return list.hashCode(); } @@ -259,6 +321,16 @@ public int compareTo(CommitTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282,6 +354,16 @@ public String toString() { sb.append("txnid:"); sb.append(this.txnid); first = false; + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -339,6 +421,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CommitTxnRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -355,6 +445,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CommitTxnRequest s oprot.writeFieldBegin(TXNID_FIELD_DESC); oprot.writeI64(struct.txnid); oprot.writeFieldEnd(); + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -373,6 +470,14 @@ public CommitTxnRequestTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.txnid); + BitSet optionals = new BitSet(); + if (struct.isSetReplPolicy()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } } @Override @@ -380,6 +485,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest str TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 18581f3983..a56150ef80 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map634 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map634.size); - String _key635; - String _val636; - for (int _i637 = 0; _i637 < _map634.size; ++_i637) + org.apache.thrift.protocol.TMap _map642 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map642.size); + String _key643; + String _val644; + for (int _i645 = 0; _i645 < _map642.size; ++_i645) { - _key635 = iprot.readString(); - _val636 = iprot.readString(); - struct.properties.put(_key635, _val636); + _key643 = iprot.readString(); + _val644 = iprot.readString(); + struct.properties.put(_key643, _val644); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter638 : struct.properties.entrySet()) + for (Map.Entry _iter646 : struct.properties.entrySet()) { - oprot.writeString(_iter638.getKey()); - oprot.writeString(_iter638.getValue()); + oprot.writeString(_iter646.getKey()); + oprot.writeString(_iter646.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter639 : struct.properties.entrySet()) + for (Map.Entry _iter647 : struct.properties.entrySet()) { - oprot.writeString(_iter639.getKey()); - oprot.writeString(_iter639.getValue()); + oprot.writeString(_iter647.getKey()); + oprot.writeString(_iter647.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map640 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map640.size); - String _key641; - String _val642; - for (int _i643 = 0; _i643 < _map640.size; ++_i643) + org.apache.thrift.protocol.TMap _map648 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map648.size); + String _key649; + String _val650; + for (int _i651 = 0; _i651 < _map648.size; ++_i651) { - _key641 = iprot.readString(); - _val642 = iprot.readString(); - struct.properties.put(_key641, _val642); + _key649 = iprot.readString(); + _val650 = iprot.readString(); + struct.properties.put(_key649, _val650); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index ed89b2e938..62fe7a41e6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 3: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set660 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set660.size); - String _elem661; - for (int _i662 = 0; _i662 < _set660.size; ++_i662) + org.apache.thrift.protocol.TSet _set668 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set668.size); + String _elem669; + for (int _i670 = 0; _i670 < _set668.size; ++_i670) { - _elem661 = iprot.readString(); - struct.tablesUsed.add(_elem661); + _elem669 = iprot.readString(); + struct.tablesUsed.add(_elem669); } iprot.readSetEnd(); } @@ -669,9 +669,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter663 : struct.tablesUsed) + for (String _iter671 : struct.tablesUsed) { - oprot.writeString(_iter663); + oprot.writeString(_iter671); } oprot.writeSetEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter664 : struct.tablesUsed) + for (String _iter672 : struct.tablesUsed) { - oprot.writeString(_iter664); + oprot.writeString(_iter672); } } BitSet optionals = new BitSet(); @@ -728,13 +728,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set665 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set665.size); - String _elem666; - for (int _i667 = 0; _i667 < _set665.size; ++_i667) + org.apache.thrift.protocol.TSet _set673 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set673.size); + String _elem674; + for (int _i675 = 0; _i675 < _set673.size; ++_i675) { - _elem666 = iprot.readString(); - struct.tablesUsed.add(_elem666); + _elem674 = iprot.readString(); + struct.tablesUsed.add(_elem674); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 01bc32d70b..20d1e42850 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list872.size); - SchemaVersionDescriptor _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list880.size); + SchemaVersionDescriptor _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new SchemaVersionDescriptor(); - _elem873.read(iprot); - struct.schemaVersions.add(_elem873); + _elem881 = new SchemaVersionDescriptor(); + _elem881.read(iprot); + struct.schemaVersions.add(_elem881); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter875 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter883 : struct.schemaVersions) { - _iter875.write(oprot); + _iter883.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter876 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter884 : struct.schemaVersions) { - _iter876.write(oprot); + _iter884.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list877.size); - SchemaVersionDescriptor _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list885.size); + SchemaVersionDescriptor _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = new SchemaVersionDescriptor(); - _elem878.read(iprot); - struct.schemaVersions.add(_elem878); + _elem886 = new SchemaVersionDescriptor(); + _elem886.read(iprot); + struct.schemaVersions.add(_elem886); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 64335903ff..963b048516 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list692.size); - String _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list700.size); + String _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem693 = iprot.readString(); - struct.partitionVals.add(_elem693); + _elem701 = iprot.readString(); + struct.partitionVals.add(_elem701); } iprot.readListEnd(); } @@ -768,9 +768,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter695 : struct.partitionVals) + for (String _iter703 : struct.partitionVals) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter696 : struct.partitionVals) + for (String _iter704 : struct.partitionVals) { - oprot.writeString(_iter696); + oprot.writeString(_iter704); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list697.size); - String _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list705.size); + String _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem698 = iprot.readString(); - struct.partitionVals.add(_elem698); + _elem706 = iprot.readString(); + struct.partitionVals.add(_elem706); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index ce90d65e76..c10f48b377 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); - struct.functions = new ArrayList(_list760.size); - Function _elem761; - for (int _i762 = 0; _i762 < _list760.size; ++_i762) + org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); + struct.functions = new ArrayList(_list768.size); + Function _elem769; + for (int _i770 = 0; _i770 < _list768.size; ++_i770) { - _elem761 = new Function(); - _elem761.read(iprot); - struct.functions.add(_elem761); + _elem769 = new Function(); + _elem769.read(iprot); + struct.functions.add(_elem769); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter763 : struct.functions) + for (Function _iter771 : struct.functions) { - _iter763.write(oprot); + _iter771.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter764 : struct.functions) + for (Function _iter772 : struct.functions) { - _iter764.write(oprot); + _iter772.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list765.size); - Function _elem766; - for (int _i767 = 0; _i767 < _list765.size; ++_i767) + org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list773.size); + Function _elem774; + for (int _i775 = 0; _i775 < _list773.size; ++_i775) { - _elem766 = new Function(); - _elem766.read(iprot); - struct.functions.add(_elem766); + _elem774 = new Function(); + _elem774.read(iprot); + struct.functions.add(_elem774); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 025a04a33c..5fb5fd1cb1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list710.size); - long _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + org.apache.thrift.protocol.TList _list718 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list718.size); + long _elem719; + for (int _i720 = 0; _i720 < _list718.size; ++_i720) { - _elem711 = iprot.readI64(); - struct.fileIds.add(_elem711); + _elem719 = iprot.readI64(); + struct.fileIds.add(_elem719); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter713 : struct.fileIds) + for (long _iter721 : struct.fileIds) { - oprot.writeI64(_iter713); + oprot.writeI64(_iter721); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter714 : struct.fileIds) + for (long _iter722 : struct.fileIds) { - oprot.writeI64(_iter714); + oprot.writeI64(_iter722); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list715.size); - long _elem716; - for (int _i717 = 0; _i717 < _list715.size; ++_i717) + org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list723.size); + long _elem724; + for (int _i725 = 0; _i725 < _list723.size; ++_i725) { - _elem716 = iprot.readI64(); - struct.fileIds.add(_elem716); + _elem724 = iprot.readI64(); + struct.fileIds.add(_elem724); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 2ba496fb11..7b48fd48bd 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map700 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map700.size); - long _key701; - MetadataPpdResult _val702; - for (int _i703 = 0; _i703 < _map700.size; ++_i703) + org.apache.thrift.protocol.TMap _map708 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map708.size); + long _key709; + MetadataPpdResult _val710; + for (int _i711 = 0; _i711 < _map708.size; ++_i711) { - _key701 = iprot.readI64(); - _val702 = new MetadataPpdResult(); - _val702.read(iprot); - struct.metadata.put(_key701, _val702); + _key709 = iprot.readI64(); + _val710 = new MetadataPpdResult(); + _val710.read(iprot); + struct.metadata.put(_key709, _val710); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter704 : struct.metadata.entrySet()) + for (Map.Entry _iter712 : struct.metadata.entrySet()) { - oprot.writeI64(_iter704.getKey()); - _iter704.getValue().write(oprot); + oprot.writeI64(_iter712.getKey()); + _iter712.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter705 : struct.metadata.entrySet()) + for (Map.Entry _iter713 : struct.metadata.entrySet()) { - oprot.writeI64(_iter705.getKey()); - _iter705.getValue().write(oprot); + oprot.writeI64(_iter713.getKey()); + _iter713.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map706 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map706.size); - long _key707; - MetadataPpdResult _val708; - for (int _i709 = 0; _i709 < _map706.size; ++_i709) + org.apache.thrift.protocol.TMap _map714 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map714.size); + long _key715; + MetadataPpdResult _val716; + for (int _i717 = 0; _i717 < _map714.size; ++_i717) { - _key707 = iprot.readI64(); - _val708 = new MetadataPpdResult(); - _val708.read(iprot); - struct.metadata.put(_key707, _val708); + _key715 = iprot.readI64(); + _val716 = new MetadataPpdResult(); + _val716.read(iprot); + struct.metadata.put(_key715, _val716); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index e12211f867..43233ccfb0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list728.size); - long _elem729; - for (int _i730 = 0; _i730 < _list728.size; ++_i730) + org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list736.size); + long _elem737; + for (int _i738 = 0; _i738 < _list736.size; ++_i738) { - _elem729 = iprot.readI64(); - struct.fileIds.add(_elem729); + _elem737 = iprot.readI64(); + struct.fileIds.add(_elem737); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter731 : struct.fileIds) + for (long _iter739 : struct.fileIds) { - oprot.writeI64(_iter731); + oprot.writeI64(_iter739); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter732 : struct.fileIds) + for (long _iter740 : struct.fileIds) { - oprot.writeI64(_iter732); + oprot.writeI64(_iter740); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list733.size); - long _elem734; - for (int _i735 = 0; _i735 < _list733.size; ++_i735) + org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list741.size); + long _elem742; + for (int _i743 = 0; _i743 < _list741.size; ++_i743) { - _elem734 = iprot.readI64(); - struct.fileIds.add(_elem734); + _elem742 = iprot.readI64(); + struct.fileIds.add(_elem742); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index a375723f12..0a10447add 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map718 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map718.size); - long _key719; - ByteBuffer _val720; - for (int _i721 = 0; _i721 < _map718.size; ++_i721) + org.apache.thrift.protocol.TMap _map726 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map726.size); + long _key727; + ByteBuffer _val728; + for (int _i729 = 0; _i729 < _map726.size; ++_i729) { - _key719 = iprot.readI64(); - _val720 = iprot.readBinary(); - struct.metadata.put(_key719, _val720); + _key727 = iprot.readI64(); + _val728 = iprot.readBinary(); + struct.metadata.put(_key727, _val728); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter722 : struct.metadata.entrySet()) + for (Map.Entry _iter730 : struct.metadata.entrySet()) { - oprot.writeI64(_iter722.getKey()); - oprot.writeBinary(_iter722.getValue()); + oprot.writeI64(_iter730.getKey()); + oprot.writeBinary(_iter730.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter723 : struct.metadata.entrySet()) + for (Map.Entry _iter731 : struct.metadata.entrySet()) { - oprot.writeI64(_iter723.getKey()); - oprot.writeBinary(_iter723.getValue()); + oprot.writeI64(_iter731.getKey()); + oprot.writeBinary(_iter731.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map724 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map724.size); - long _key725; - ByteBuffer _val726; - for (int _i727 = 0; _i727 < _map724.size; ++_i727) + org.apache.thrift.protocol.TMap _map732 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map732.size); + long _key733; + ByteBuffer _val734; + for (int _i735 = 0; _i735 < _map732.size; ++_i735) { - _key725 = iprot.readI64(); - _val726 = iprot.readBinary(); - struct.metadata.put(_key725, _val726); + _key733 = iprot.readI64(); + _val734 = iprot.readBinary(); + struct.metadata.put(_key733, _val734); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index 8d8ce6dda7..290609d3fd 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list776.size); - String _elem777; - for (int _i778 = 0; _i778 < _list776.size; ++_i778) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list784.size); + String _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem777 = iprot.readString(); - struct.tblNames.add(_elem777); + _elem785 = iprot.readString(); + struct.tblNames.add(_elem785); } iprot.readListEnd(); } @@ -572,9 +572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter779 : struct.tblNames) + for (String _iter787 : struct.tblNames) { - oprot.writeString(_iter779); + oprot.writeString(_iter787); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter780 : struct.tblNames) + for (String _iter788 : struct.tblNames) { - oprot.writeString(_iter780); + oprot.writeString(_iter788); } } } @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list781.size); - String _elem782; - for (int _i783 = 0; _i783 < _list781.size; ++_i783) + org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list789.size); + String _elem790; + for (int _i791 = 0; _i791 < _list789.size; ++_i791) { - _elem782 = iprot.readString(); - struct.tblNames.add(_elem782); + _elem790 = iprot.readString(); + struct.tblNames.add(_elem790); } } struct.setTblNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index 10b1d41175..6056a77990 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list784.size); - Table _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list792.size); + Table _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem785 = new Table(); - _elem785.read(iprot); - struct.tables.add(_elem785); + _elem793 = new Table(); + _elem793.read(iprot); + struct.tables.add(_elem793); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter787 : struct.tables) + for (Table _iter795 : struct.tables) { - _iter787.write(oprot); + _iter795.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter788 : struct.tables) + for (Table _iter796 : struct.tables) { - _iter788.write(oprot); + _iter796.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list789.size); - Table _elem790; - for (int _i791 = 0; _i791 < _list789.size; ++_i791) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list797.size); + Table _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = new Table(); - _elem790.read(iprot); - struct.tables.add(_elem790); + _elem798 = new Table(); + _elem798.read(iprot); + struct.tables.add(_elem798); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java index c22778d6d1..6cad1e5bc5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java @@ -436,13 +436,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsReq case 1: // FULL_TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list562.size); - String _elem563; - for (int _i564 = 0; _i564 < _list562.size; ++_i564) + org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list570.size); + String _elem571; + for (int _i572 = 0; _i572 < _list570.size; ++_i572) { - _elem563 = iprot.readString(); - struct.fullTableNames.add(_elem563); + _elem571 = iprot.readString(); + struct.fullTableNames.add(_elem571); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(FULL_TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fullTableNames.size())); - for (String _iter565 : struct.fullTableNames) + for (String _iter573 : struct.fullTableNames) { - oprot.writeString(_iter565); + oprot.writeString(_iter573); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fullTableNames.size()); - for (String _iter566 : struct.fullTableNames) + for (String _iter574 : struct.fullTableNames) { - oprot.writeString(_iter566); + oprot.writeString(_iter574); } } oprot.writeString(struct.validTxnList); @@ -520,13 +520,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list567.size); - String _elem568; - for (int _i569 = 0; _i569 < _list567.size; ++_i569) + org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list575.size); + String _elem576; + for (int _i577 = 0; _i577 < _list575.size; ++_i577) { - _elem568 = iprot.readString(); - struct.fullTableNames.add(_elem568); + _elem576 = iprot.readString(); + struct.fullTableNames.add(_elem576); } } struct.setFullTableNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java index 90d0b9db0b..c67a970afa 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsRes case 1: // TBL_VALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list578.size); - TableValidWriteIds _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list586.size); + TableValidWriteIds _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = new TableValidWriteIds(); - _elem579.read(iprot); - struct.tblValidWriteIds.add(_elem579); + _elem587 = new TableValidWriteIds(); + _elem587.read(iprot); + struct.tblValidWriteIds.add(_elem587); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(TBL_VALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tblValidWriteIds.size())); - for (TableValidWriteIds _iter581 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter589 : struct.tblValidWriteIds) { - _iter581.write(oprot); + _iter589.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tblValidWriteIds.size()); - for (TableValidWriteIds _iter582 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter590 : struct.tblValidWriteIds) { - _iter582.write(oprot); + _iter590.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list583.size); - TableValidWriteIds _elem584; - for (int _i585 = 0; _i585 < _list583.size; ++_i585) + org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list591.size); + TableValidWriteIds _elem592; + for (int _i593 = 0; _i593 < _list591.size; ++_i593) { - _elem584 = new TableValidWriteIds(); - _elem584.read(iprot); - struct.tblValidWriteIds.add(_elem584); + _elem592 = new TableValidWriteIds(); + _elem592.read(iprot); + struct.tblValidWriteIds.add(_elem592); } } struct.setTblValidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index e069524048..890218e4a5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set618 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set618.size); - long _elem619; - for (int _i620 = 0; _i620 < _set618.size; ++_i620) + org.apache.thrift.protocol.TSet _set626 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set626.size); + long _elem627; + for (int _i628 = 0; _i628 < _set626.size; ++_i628) { - _elem619 = iprot.readI64(); - struct.aborted.add(_elem619); + _elem627 = iprot.readI64(); + struct.aborted.add(_elem627); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set621 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set621.size); - long _elem622; - for (int _i623 = 0; _i623 < _set621.size; ++_i623) + org.apache.thrift.protocol.TSet _set629 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set629.size); + long _elem630; + for (int _i631 = 0; _i631 < _set629.size; ++_i631) { - _elem622 = iprot.readI64(); - struct.nosuch.add(_elem622); + _elem630 = iprot.readI64(); + struct.nosuch.add(_elem630); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter624 : struct.aborted) + for (long _iter632 : struct.aborted) { - oprot.writeI64(_iter624); + oprot.writeI64(_iter632); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter625 : struct.nosuch) + for (long _iter633 : struct.nosuch) { - oprot.writeI64(_iter625); + oprot.writeI64(_iter633); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter626 : struct.aborted) + for (long _iter634 : struct.aborted) { - oprot.writeI64(_iter626); + oprot.writeI64(_iter634); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter627 : struct.nosuch) + for (long _iter635 : struct.nosuch) { - oprot.writeI64(_iter627); + oprot.writeI64(_iter635); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set628 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set628.size); - long _elem629; - for (int _i630 = 0; _i630 < _set628.size; ++_i630) + org.apache.thrift.protocol.TSet _set636 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set636.size); + long _elem637; + for (int _i638 = 0; _i638 < _set636.size; ++_i638) { - _elem629 = iprot.readI64(); - struct.aborted.add(_elem629); + _elem637 = iprot.readI64(); + struct.aborted.add(_elem637); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set631 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set631.size); - long _elem632; - for (int _i633 = 0; _i633 < _set631.size; ++_i633) + org.apache.thrift.protocol.TSet _set639 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set639.size); + long _elem640; + for (int _i641 = 0; _i641 < _set639.size; ++_i641) { - _elem632 = iprot.readI64(); - struct.nosuch.add(_elem632); + _elem640 = iprot.readI64(); + struct.nosuch.add(_elem640); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 2b823a0909..685a017e56 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -538,13 +538,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list676.size); - String _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list684.size); + String _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem677 = iprot.readString(); - struct.filesAdded.add(_elem677); + _elem685 = iprot.readString(); + struct.filesAdded.add(_elem685); } iprot.readListEnd(); } @@ -556,13 +556,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list679 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list679.size); - String _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list687 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem680 = iprot.readString(); - struct.filesAddedChecksum.add(_elem680); + _elem688 = iprot.readString(); + struct.filesAddedChecksum.add(_elem688); } iprot.readListEnd(); } @@ -593,9 +593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter682 : struct.filesAdded) + for (String _iter690 : struct.filesAdded) { - oprot.writeString(_iter682); + oprot.writeString(_iter690); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter683 : struct.filesAddedChecksum) + for (String _iter691 : struct.filesAddedChecksum) { - oprot.writeString(_iter683); + oprot.writeString(_iter691); } oprot.writeListEnd(); } @@ -634,9 +634,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter684 : struct.filesAdded) + for (String _iter692 : struct.filesAdded) { - oprot.writeString(_iter684); + oprot.writeString(_iter692); } } BitSet optionals = new BitSet(); @@ -653,9 +653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter685 : struct.filesAddedChecksum) + for (String _iter693 : struct.filesAddedChecksum) { - oprot.writeString(_iter685); + oprot.writeString(_iter693); } } } @@ -665,13 +665,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list686 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list686.size); - String _elem687; - for (int _i688 = 0; _i688 < _list686.size; ++_i688) + org.apache.thrift.protocol.TList _list694 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list694.size); + String _elem695; + for (int _i696 = 0; _i696 < _list694.size; ++_i696) { - _elem687 = iprot.readString(); - struct.filesAdded.add(_elem687); + _elem695 = iprot.readString(); + struct.filesAdded.add(_elem695); } } struct.setFilesAddedIsSet(true); @@ -682,13 +682,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list689.size); - String _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list697.size); + String _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = iprot.readString(); - struct.filesAddedChecksum.add(_elem690); + _elem698 = iprot.readString(); + struct.filesAddedChecksum.add(_elem698); } } struct.setFilesAddedChecksumIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 5a9a0e892b..1a176893a8 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); - struct.component = new ArrayList(_list602.size); - LockComponent _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.component = new ArrayList(_list610.size); + LockComponent _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = new LockComponent(); - _elem603.read(iprot); - struct.component.add(_elem603); + _elem611 = new LockComponent(); + _elem611.read(iprot); + struct.component.add(_elem611); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter605 : struct.component) + for (LockComponent _iter613 : struct.component) { - _iter605.write(oprot); + _iter613.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter606 : struct.component) + for (LockComponent _iter614 : struct.component) { - _iter606.write(oprot); + _iter614.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list607.size); - LockComponent _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list615.size); + LockComponent _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = new LockComponent(); - _elem608.read(iprot); - struct.component.add(_elem608); + _elem616 = new LockComponent(); + _elem616.read(iprot); + struct.component.add(_elem616); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java index dc6dc0d560..ad4062513f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java @@ -518,13 +518,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization str case 1: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set792 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set792.size); - String _elem793; - for (int _i794 = 0; _i794 < _set792.size; ++_i794) + org.apache.thrift.protocol.TSet _set800 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set800.size); + String _elem801; + for (int _i802 = 0; _i802 < _set800.size; ++_i802) { - _elem793 = iprot.readString(); - struct.tablesUsed.add(_elem793); + _elem801 = iprot.readString(); + struct.tablesUsed.add(_elem801); } iprot.readSetEnd(); } @@ -566,9 +566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Materialization st oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter795 : struct.tablesUsed) + for (String _iter803 : struct.tablesUsed) { - oprot.writeString(_iter795); + oprot.writeString(_iter803); } oprot.writeSetEnd(); } @@ -603,9 +603,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter796 : struct.tablesUsed) + for (String _iter804 : struct.tablesUsed) { - oprot.writeString(_iter796); + oprot.writeString(_iter804); } } oprot.writeI64(struct.invalidationTime); @@ -623,13 +623,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str public void read(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set797 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set797.size); - String _elem798; - for (int _i799 = 0; _i799 < _set797.size; ++_i799) + org.apache.thrift.protocol.TSet _set805 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set805.size); + String _elem806; + for (int _i807 = 0; _i807 < _set805.size; ++_i807) { - _elem798 = iprot.readString(); - struct.tablesUsed.add(_elem798); + _elem806 = iprot.readString(); + struct.tablesUsed.add(_elem806); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index 2037590a12..c705f183e1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list668 = iprot.readListBegin(); - struct.events = new ArrayList(_list668.size); - NotificationEvent _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); + struct.events = new ArrayList(_list676.size); + NotificationEvent _elem677; + for (int _i678 = 0; _i678 < _list676.size; ++_i678) { - _elem669 = new NotificationEvent(); - _elem669.read(iprot); - struct.events.add(_elem669); + _elem677 = new NotificationEvent(); + _elem677.read(iprot); + struct.events.add(_elem677); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter671 : struct.events) + for (NotificationEvent _iter679 : struct.events) { - _iter671.write(oprot); + _iter679.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter672 : struct.events) + for (NotificationEvent _iter680 : struct.events) { - _iter672.write(oprot); + _iter680.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list673.size); - NotificationEvent _elem674; - for (int _i675 = 0; _i675 < _list673.size; ++_i675) + org.apache.thrift.protocol.TList _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list681.size); + NotificationEvent _elem682; + for (int _i683 = 0; _i683 < _list681.size; ++_i683) { - _elem674 = new NotificationEvent(); - _elem674.read(iprot); - struct.events.add(_elem674); + _elem682 = new NotificationEvent(); + _elem682.read(iprot); + struct.events.add(_elem682); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index 4dd235a080..fd7cc60d42 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -42,6 +42,8 @@ private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField REPL_SRC_TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("replSrcTxnIds", org.apache.thrift.protocol.TType.LIST, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +55,17 @@ private String user; // required private String hostname; // required private String agentInfo; // optional + private String replPolicy; // optional + private List replSrcTxnIds; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { NUM_TXNS((short)1, "num_txns"), USER((short)2, "user"), HOSTNAME((short)3, "hostname"), - AGENT_INFO((short)4, "agentInfo"); + AGENT_INFO((short)4, "agentInfo"), + REPL_POLICY((short)5, "replPolicy"), + REPL_SRC_TXN_IDS((short)6, "replSrcTxnIds"); private static final Map byName = new HashMap(); @@ -82,6 +88,10 @@ public static _Fields findByThriftId(int fieldId) { return HOSTNAME; case 4: // AGENT_INFO return AGENT_INFO; + case 5: // REPL_POLICY + return REPL_POLICY; + case 6: // REPL_SRC_TXN_IDS + return REPL_SRC_TXN_IDS; default: return null; } @@ -124,7 +134,7 @@ public String getFieldName() { // isset id assignments private static final int __NUM_TXNS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.AGENT_INFO}; + private static final _Fields optionals[] = {_Fields.AGENT_INFO,_Fields.REPL_POLICY,_Fields.REPL_SRC_TXN_IDS}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -136,6 +146,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.REPL_SRC_TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("replSrcTxnIds", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OpenTxnRequest.class, metaDataMap); } @@ -172,6 +187,13 @@ public OpenTxnRequest(OpenTxnRequest other) { if (other.isSetAgentInfo()) { this.agentInfo = other.agentInfo; } + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } + if (other.isSetReplSrcTxnIds()) { + List __this__replSrcTxnIds = new ArrayList(other.replSrcTxnIds); + this.replSrcTxnIds = __this__replSrcTxnIds; + } } public OpenTxnRequest deepCopy() { @@ -186,6 +208,8 @@ public void clear() { this.hostname = null; this.agentInfo = "Unknown"; + this.replPolicy = null; + this.replSrcTxnIds = null; } public int getNum_txns() { @@ -279,6 +303,67 @@ public void setAgentInfoIsSet(boolean value) { } } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + + public int getReplSrcTxnIdsSize() { + return (this.replSrcTxnIds == null) ? 0 : this.replSrcTxnIds.size(); + } + + public java.util.Iterator getReplSrcTxnIdsIterator() { + return (this.replSrcTxnIds == null) ? null : this.replSrcTxnIds.iterator(); + } + + public void addToReplSrcTxnIds(long elem) { + if (this.replSrcTxnIds == null) { + this.replSrcTxnIds = new ArrayList(); + } + this.replSrcTxnIds.add(elem); + } + + public List getReplSrcTxnIds() { + return this.replSrcTxnIds; + } + + public void setReplSrcTxnIds(List replSrcTxnIds) { + this.replSrcTxnIds = replSrcTxnIds; + } + + public void unsetReplSrcTxnIds() { + this.replSrcTxnIds = null; + } + + /** Returns true if field replSrcTxnIds is set (has been assigned a value) and false otherwise */ + public boolean isSetReplSrcTxnIds() { + return this.replSrcTxnIds != null; + } + + public void setReplSrcTxnIdsIsSet(boolean value) { + if (!value) { + this.replSrcTxnIds = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case NUM_TXNS: @@ -313,6 +398,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + + case REPL_SRC_TXN_IDS: + if (value == null) { + unsetReplSrcTxnIds(); + } else { + setReplSrcTxnIds((List)value); + } + break; + } } @@ -330,6 +431,12 @@ public Object getFieldValue(_Fields field) { case AGENT_INFO: return getAgentInfo(); + case REPL_POLICY: + return getReplPolicy(); + + case REPL_SRC_TXN_IDS: + return getReplSrcTxnIds(); + } throw new IllegalStateException(); } @@ -349,6 +456,10 @@ public boolean isSet(_Fields field) { return isSetHostname(); case AGENT_INFO: return isSetAgentInfo(); + case REPL_POLICY: + return isSetReplPolicy(); + case REPL_SRC_TXN_IDS: + return isSetReplSrcTxnIds(); } throw new IllegalStateException(); } @@ -402,6 +513,24 @@ public boolean equals(OpenTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + + boolean this_present_replSrcTxnIds = true && this.isSetReplSrcTxnIds(); + boolean that_present_replSrcTxnIds = true && that.isSetReplSrcTxnIds(); + if (this_present_replSrcTxnIds || that_present_replSrcTxnIds) { + if (!(this_present_replSrcTxnIds && that_present_replSrcTxnIds)) + return false; + if (!this.replSrcTxnIds.equals(that.replSrcTxnIds)) + return false; + } + return true; } @@ -429,6 +558,16 @@ public int hashCode() { if (present_agentInfo) list.add(agentInfo); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + + boolean present_replSrcTxnIds = true && (isSetReplSrcTxnIds()); + list.add(present_replSrcTxnIds); + if (present_replSrcTxnIds) + list.add(replSrcTxnIds); + return list.hashCode(); } @@ -480,6 +619,26 @@ public int compareTo(OpenTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetReplSrcTxnIds()).compareTo(other.isSetReplSrcTxnIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplSrcTxnIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replSrcTxnIds, other.replSrcTxnIds); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -529,6 +688,26 @@ public String toString() { } first = false; } + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } + if (isSetReplSrcTxnIds()) { + if (!first) sb.append(", "); + sb.append("replSrcTxnIds:"); + if (this.replSrcTxnIds == null) { + sb.append("null"); + } else { + sb.append(this.replSrcTxnIds); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -618,6 +797,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnRequest stru org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // REPL_SRC_TXN_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list546.size); + long _elem547; + for (int _i548 = 0; _i548 < _list546.size; ++_i548) + { + _elem547 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem547); + } + iprot.readListEnd(); + } + struct.setReplSrcTxnIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -651,6 +856,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnRequest str oprot.writeFieldEnd(); } } + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } + if (struct.replSrcTxnIds != null) { + if (struct.isSetReplSrcTxnIds()) { + oprot.writeFieldBegin(REPL_SRC_TXN_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.replSrcTxnIds.size())); + for (long _iter549 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter549); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -675,10 +901,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest stru if (struct.isSetAgentInfo()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + optionals.set(1); + } + if (struct.isSetReplSrcTxnIds()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetAgentInfo()) { oprot.writeString(struct.agentInfo); } + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } + if (struct.isSetReplSrcTxnIds()) { + { + oprot.writeI32(struct.replSrcTxnIds.size()); + for (long _iter550 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter550); + } + } + } } @Override @@ -690,11 +934,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest struc struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.agentInfo = iprot.readString(); struct.setAgentInfoIsSet(true); } + if (incoming.get(1)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list551.size); + long _elem552; + for (int _i553 = 0; _i553 < _list551.size; ++_i553) + { + _elem552 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem552); + } + } + struct.setReplSrcTxnIdsIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index de60105a71..466c07fbac 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list546.size); - long _elem547; - for (int _i548 = 0; _i548 < _list546.size; ++_i548) + org.apache.thrift.protocol.TList _list554 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list554.size); + long _elem555; + for (int _i556 = 0; _i556 < _list554.size; ++_i556) { - _elem547 = iprot.readI64(); - struct.txn_ids.add(_elem547); + _elem555 = iprot.readI64(); + struct.txn_ids.add(_elem555); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter549 : struct.txn_ids) + for (long _iter557 : struct.txn_ids) { - oprot.writeI64(_iter549); + oprot.writeI64(_iter557); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter550 : struct.txn_ids) + for (long _iter558 : struct.txn_ids) { - oprot.writeI64(_iter550); + oprot.writeI64(_iter558); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list551.size); - long _elem552; - for (int _i553 = 0; _i553 < _list551.size; ++_i553) + org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list559.size); + long _elem560; + for (int _i561 = 0; _i561 < _list559.size; ++_i561) { - _elem552 = iprot.readI64(); - struct.txn_ids.add(_elem552); + _elem560 = iprot.readI64(); + struct.txn_ids.add(_elem560); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 0b0da1453c..04a0532751 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list736.size); - long _elem737; - for (int _i738 = 0; _i738 < _list736.size; ++_i738) + org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list744.size); + long _elem745; + for (int _i746 = 0; _i746 < _list744.size; ++_i746) { - _elem737 = iprot.readI64(); - struct.fileIds.add(_elem737); + _elem745 = iprot.readI64(); + struct.fileIds.add(_elem745); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list739 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list739.size); - ByteBuffer _elem740; - for (int _i741 = 0; _i741 < _list739.size; ++_i741) + org.apache.thrift.protocol.TList _list747 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list747.size); + ByteBuffer _elem748; + for (int _i749 = 0; _i749 < _list747.size; ++_i749) { - _elem740 = iprot.readBinary(); - struct.metadata.add(_elem740); + _elem748 = iprot.readBinary(); + struct.metadata.add(_elem748); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter742 : struct.fileIds) + for (long _iter750 : struct.fileIds) { - oprot.writeI64(_iter742); + oprot.writeI64(_iter750); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter743 : struct.metadata) + for (ByteBuffer _iter751 : struct.metadata) { - oprot.writeBinary(_iter743); + oprot.writeBinary(_iter751); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter744 : struct.fileIds) + for (long _iter752 : struct.fileIds) { - oprot.writeI64(_iter744); + oprot.writeI64(_iter752); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter745 : struct.metadata) + for (ByteBuffer _iter753 : struct.metadata) { - oprot.writeBinary(_iter745); + oprot.writeBinary(_iter753); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list746 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list746.size); - long _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list754.size); + long _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = iprot.readI64(); - struct.fileIds.add(_elem747); + _elem755 = iprot.readI64(); + struct.fileIds.add(_elem755); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list749.size); - ByteBuffer _elem750; - for (int _i751 = 0; _i751 < _list749.size; ++_i751) + org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list757.size); + ByteBuffer _elem758; + for (int _i759 = 0; _i759 < _list757.size; ++_i759) { - _elem750 = iprot.readBinary(); - struct.metadata.add(_elem750); + _elem758 = iprot.readBinary(); + struct.metadata.add(_elem758); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index fb0be40fba..6b278e3a78 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); - struct.cols = new ArrayList(_list864.size); - FieldSchema _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.cols = new ArrayList(_list872.size); + FieldSchema _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = new FieldSchema(); - _elem865.read(iprot); - struct.cols.add(_elem865); + _elem873 = new FieldSchema(); + _elem873.read(iprot); + struct.cols.add(_elem873); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter867 : struct.cols) + for (FieldSchema _iter875 : struct.cols) { - _iter867.write(oprot); + _iter875.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter868 : struct.cols) + for (FieldSchema _iter876 : struct.cols) { - _iter868.write(oprot); + _iter876.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list869.size); - FieldSchema _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list877.size); + FieldSchema _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = new FieldSchema(); - _elem870.read(iprot); - struct.cols.add(_elem870); + _elem878 = new FieldSchema(); + _elem878.read(iprot); + struct.cols.add(_elem878); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index a189d0ab25..d3a43946f6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list644 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list644.size); - ShowCompactResponseElement _elem645; - for (int _i646 = 0; _i646 < _list644.size; ++_i646) + org.apache.thrift.protocol.TList _list652 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list652.size); + ShowCompactResponseElement _elem653; + for (int _i654 = 0; _i654 < _list652.size; ++_i654) { - _elem645 = new ShowCompactResponseElement(); - _elem645.read(iprot); - struct.compacts.add(_elem645); + _elem653 = new ShowCompactResponseElement(); + _elem653.read(iprot); + struct.compacts.add(_elem653); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter647 : struct.compacts) + for (ShowCompactResponseElement _iter655 : struct.compacts) { - _iter647.write(oprot); + _iter655.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter648 : struct.compacts) + for (ShowCompactResponseElement _iter656 : struct.compacts) { - _iter648.write(oprot); + _iter656.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list649 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list649.size); - ShowCompactResponseElement _elem650; - for (int _i651 = 0; _i651 < _list649.size; ++_i651) + org.apache.thrift.protocol.TList _list657 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list657.size); + ShowCompactResponseElement _elem658; + for (int _i659 = 0; _i659 < _list657.size; ++_i659) { - _elem650 = new ShowCompactResponseElement(); - _elem650.read(iprot); - struct.compacts.add(_elem650); + _elem658 = new ShowCompactResponseElement(); + _elem658.read(iprot); + struct.compacts.add(_elem658); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 37155095a4..b717bd97ff 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); - struct.locks = new ArrayList(_list610.size); - ShowLocksResponseElement _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.locks = new ArrayList(_list618.size); + ShowLocksResponseElement _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = new ShowLocksResponseElement(); - _elem611.read(iprot); - struct.locks.add(_elem611); + _elem619 = new ShowLocksResponseElement(); + _elem619.read(iprot); + struct.locks.add(_elem619); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter613 : struct.locks) + for (ShowLocksResponseElement _iter621 : struct.locks) { - _iter613.write(oprot); + _iter621.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter614 : struct.locks) + for (ShowLocksResponseElement _iter622 : struct.locks) { - _iter614.write(oprot); + _iter622.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list615.size); - ShowLocksResponseElement _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list623.size); + ShowLocksResponseElement _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = new ShowLocksResponseElement(); - _elem616.read(iprot); - struct.locks.add(_elem616); + _elem624 = new ShowLocksResponseElement(); + _elem624.read(iprot); + struct.locks.add(_elem624); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java index aab0aa38bc..498ebbcd5f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java @@ -708,13 +708,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableValidWriteIds case 3: // INVALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list578.size); + long _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = iprot.readI64(); - struct.invalidWriteIds.add(_elem571); + _elem579 = iprot.readI64(); + struct.invalidWriteIds.add(_elem579); } iprot.readListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableValidWriteIds oprot.writeFieldBegin(INVALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidWriteIds.size())); - for (long _iter573 : struct.invalidWriteIds) + for (long _iter581 : struct.invalidWriteIds) { - oprot.writeI64(_iter573); + oprot.writeI64(_iter581); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds oprot.writeI64(struct.writeIdHighWaterMark); { oprot.writeI32(struct.invalidWriteIds.size()); - for (long _iter574 : struct.invalidWriteIds) + for (long _iter582 : struct.invalidWriteIds) { - oprot.writeI64(_iter574); + oprot.writeI64(_iter582); } } oprot.writeBinary(struct.abortedBits); @@ -827,13 +827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds s struct.writeIdHighWaterMark = iprot.readI64(); struct.setWriteIdHighWaterMarkIsSet(true); { - org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list575.size); - long _elem576; - for (int _i577 = 0; _i577 < _list575.size; ++_i577) + org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list583.size); + long _elem584; + for (int _i585 = 0; _i585 < _list583.size; ++_i585) { - _elem576 = iprot.readI64(); - struct.invalidWriteIds.add(_elem576); + _elem584 = iprot.readI64(); + struct.invalidWriteIds.add(_elem584); } } struct.setInvalidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 8c5ceafb25..9572b4101a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -35852,13 +35852,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); - struct.success = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.success = new ArrayList(_list888.size); + String _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = iprot.readString(); - struct.success.add(_elem881); + _elem889 = iprot.readString(); + struct.success.add(_elem889); } iprot.readListEnd(); } @@ -35893,9 +35893,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter883 : struct.success) + for (String _iter891 : struct.success) { - oprot.writeString(_iter883); + oprot.writeString(_iter891); } oprot.writeListEnd(); } @@ -35934,9 +35934,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter884 : struct.success) + for (String _iter892 : struct.success) { - oprot.writeString(_iter884); + oprot.writeString(_iter892); } } } @@ -35951,13 +35951,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list893.size); + String _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = iprot.readString(); - struct.success.add(_elem886); + _elem894 = iprot.readString(); + struct.success.add(_elem894); } } struct.setSuccessIsSet(true); @@ -36611,13 +36611,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); - struct.success = new ArrayList(_list888.size); - String _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.success = new ArrayList(_list896.size); + String _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = iprot.readString(); - struct.success.add(_elem889); + _elem897 = iprot.readString(); + struct.success.add(_elem897); } iprot.readListEnd(); } @@ -36652,9 +36652,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter891 : struct.success) + for (String _iter899 : struct.success) { - oprot.writeString(_iter891); + oprot.writeString(_iter899); } oprot.writeListEnd(); } @@ -36693,9 +36693,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter892 : struct.success) + for (String _iter900 : struct.success) { - oprot.writeString(_iter892); + oprot.writeString(_iter900); } } } @@ -36710,13 +36710,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list893.size); - String _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list901.size); + String _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = iprot.readString(); - struct.success.add(_elem894); + _elem902 = iprot.readString(); + struct.success.add(_elem902); } } struct.setSuccessIsSet(true); @@ -41323,16 +41323,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map896 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map896.size); - String _key897; - Type _val898; - for (int _i899 = 0; _i899 < _map896.size; ++_i899) + org.apache.thrift.protocol.TMap _map904 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map904.size); + String _key905; + Type _val906; + for (int _i907 = 0; _i907 < _map904.size; ++_i907) { - _key897 = iprot.readString(); - _val898 = new Type(); - _val898.read(iprot); - struct.success.put(_key897, _val898); + _key905 = iprot.readString(); + _val906 = new Type(); + _val906.read(iprot); + struct.success.put(_key905, _val906); } iprot.readMapEnd(); } @@ -41367,10 +41367,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter900 : struct.success.entrySet()) + for (Map.Entry _iter908 : struct.success.entrySet()) { - oprot.writeString(_iter900.getKey()); - _iter900.getValue().write(oprot); + oprot.writeString(_iter908.getKey()); + _iter908.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -41409,10 +41409,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter901 : struct.success.entrySet()) + for (Map.Entry _iter909 : struct.success.entrySet()) { - oprot.writeString(_iter901.getKey()); - _iter901.getValue().write(oprot); + oprot.writeString(_iter909.getKey()); + _iter909.getValue().write(oprot); } } } @@ -41427,16 +41427,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map902 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map902.size); - String _key903; - Type _val904; - for (int _i905 = 0; _i905 < _map902.size; ++_i905) + org.apache.thrift.protocol.TMap _map910 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map910.size); + String _key911; + Type _val912; + for (int _i913 = 0; _i913 < _map910.size; ++_i913) { - _key903 = iprot.readString(); - _val904 = new Type(); - _val904.read(iprot); - struct.success.put(_key903, _val904); + _key911 = iprot.readString(); + _val912 = new Type(); + _val912.read(iprot); + struct.success.put(_key911, _val912); } } struct.setSuccessIsSet(true); @@ -42471,14 +42471,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list906 = iprot.readListBegin(); - struct.success = new ArrayList(_list906.size); - FieldSchema _elem907; - for (int _i908 = 0; _i908 < _list906.size; ++_i908) + org.apache.thrift.protocol.TList _list914 = iprot.readListBegin(); + struct.success = new ArrayList(_list914.size); + FieldSchema _elem915; + for (int _i916 = 0; _i916 < _list914.size; ++_i916) { - _elem907 = new FieldSchema(); - _elem907.read(iprot); - struct.success.add(_elem907); + _elem915 = new FieldSchema(); + _elem915.read(iprot); + struct.success.add(_elem915); } iprot.readListEnd(); } @@ -42531,9 +42531,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter909 : struct.success) + for (FieldSchema _iter917 : struct.success) { - _iter909.write(oprot); + _iter917.write(oprot); } oprot.writeListEnd(); } @@ -42588,9 +42588,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter910 : struct.success) + for (FieldSchema _iter918 : struct.success) { - _iter910.write(oprot); + _iter918.write(oprot); } } } @@ -42611,14 +42611,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list911 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list911.size); - FieldSchema _elem912; - for (int _i913 = 0; _i913 < _list911.size; ++_i913) + org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list919.size); + FieldSchema _elem920; + for (int _i921 = 0; _i921 < _list919.size; ++_i921) { - _elem912 = new FieldSchema(); - _elem912.read(iprot); - struct.success.add(_elem912); + _elem920 = new FieldSchema(); + _elem920.read(iprot); + struct.success.add(_elem920); } } struct.setSuccessIsSet(true); @@ -43772,14 +43772,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list914 = iprot.readListBegin(); - struct.success = new ArrayList(_list914.size); - FieldSchema _elem915; - for (int _i916 = 0; _i916 < _list914.size; ++_i916) + org.apache.thrift.protocol.TList _list922 = iprot.readListBegin(); + struct.success = new ArrayList(_list922.size); + FieldSchema _elem923; + for (int _i924 = 0; _i924 < _list922.size; ++_i924) { - _elem915 = new FieldSchema(); - _elem915.read(iprot); - struct.success.add(_elem915); + _elem923 = new FieldSchema(); + _elem923.read(iprot); + struct.success.add(_elem923); } iprot.readListEnd(); } @@ -43832,9 +43832,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter917 : struct.success) + for (FieldSchema _iter925 : struct.success) { - _iter917.write(oprot); + _iter925.write(oprot); } oprot.writeListEnd(); } @@ -43889,9 +43889,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter918 : struct.success) + for (FieldSchema _iter926 : struct.success) { - _iter918.write(oprot); + _iter926.write(oprot); } } } @@ -43912,14 +43912,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list919.size); - FieldSchema _elem920; - for (int _i921 = 0; _i921 < _list919.size; ++_i921) + org.apache.thrift.protocol.TList _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list927.size); + FieldSchema _elem928; + for (int _i929 = 0; _i929 < _list927.size; ++_i929) { - _elem920 = new FieldSchema(); - _elem920.read(iprot); - struct.success.add(_elem920); + _elem928 = new FieldSchema(); + _elem928.read(iprot); + struct.success.add(_elem928); } } struct.setSuccessIsSet(true); @@ -44964,14 +44964,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list922 = iprot.readListBegin(); - struct.success = new ArrayList(_list922.size); - FieldSchema _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); + struct.success = new ArrayList(_list930.size); + FieldSchema _elem931; + for (int _i932 = 0; _i932 < _list930.size; ++_i932) { - _elem923 = new FieldSchema(); - _elem923.read(iprot); - struct.success.add(_elem923); + _elem931 = new FieldSchema(); + _elem931.read(iprot); + struct.success.add(_elem931); } iprot.readListEnd(); } @@ -45024,9 +45024,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter925 : struct.success) + for (FieldSchema _iter933 : struct.success) { - _iter925.write(oprot); + _iter933.write(oprot); } oprot.writeListEnd(); } @@ -45081,9 +45081,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter926 : struct.success) + for (FieldSchema _iter934 : struct.success) { - _iter926.write(oprot); + _iter934.write(oprot); } } } @@ -45104,14 +45104,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list927.size); - FieldSchema _elem928; - for (int _i929 = 0; _i929 < _list927.size; ++_i929) + org.apache.thrift.protocol.TList _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list935.size); + FieldSchema _elem936; + for (int _i937 = 0; _i937 < _list935.size; ++_i937) { - _elem928 = new FieldSchema(); - _elem928.read(iprot); - struct.success.add(_elem928); + _elem936 = new FieldSchema(); + _elem936.read(iprot); + struct.success.add(_elem936); } } struct.setSuccessIsSet(true); @@ -46265,14 +46265,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); - struct.success = new ArrayList(_list930.size); - FieldSchema _elem931; - for (int _i932 = 0; _i932 < _list930.size; ++_i932) + org.apache.thrift.protocol.TList _list938 = iprot.readListBegin(); + struct.success = new ArrayList(_list938.size); + FieldSchema _elem939; + for (int _i940 = 0; _i940 < _list938.size; ++_i940) { - _elem931 = new FieldSchema(); - _elem931.read(iprot); - struct.success.add(_elem931); + _elem939 = new FieldSchema(); + _elem939.read(iprot); + struct.success.add(_elem939); } iprot.readListEnd(); } @@ -46325,9 +46325,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter933 : struct.success) + for (FieldSchema _iter941 : struct.success) { - _iter933.write(oprot); + _iter941.write(oprot); } oprot.writeListEnd(); } @@ -46382,9 +46382,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter934 : struct.success) + for (FieldSchema _iter942 : struct.success) { - _iter934.write(oprot); + _iter942.write(oprot); } } } @@ -46405,14 +46405,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list935.size); - FieldSchema _elem936; - for (int _i937 = 0; _i937 < _list935.size; ++_i937) + org.apache.thrift.protocol.TList _list943 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list943.size); + FieldSchema _elem944; + for (int _i945 = 0; _i945 < _list943.size; ++_i945) { - _elem936 = new FieldSchema(); - _elem936.read(iprot); - struct.success.add(_elem936); + _elem944 = new FieldSchema(); + _elem944.read(iprot); + struct.success.add(_elem944); } } struct.setSuccessIsSet(true); @@ -49440,14 +49440,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list938 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list938.size); - SQLPrimaryKey _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list946.size); + SQLPrimaryKey _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = new SQLPrimaryKey(); - _elem939.read(iprot); - struct.primaryKeys.add(_elem939); + _elem947 = new SQLPrimaryKey(); + _elem947.read(iprot); + struct.primaryKeys.add(_elem947); } iprot.readListEnd(); } @@ -49459,14 +49459,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list941 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list941.size); - SQLForeignKey _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list949.size); + SQLForeignKey _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = new SQLForeignKey(); - _elem942.read(iprot); - struct.foreignKeys.add(_elem942); + _elem950 = new SQLForeignKey(); + _elem950.read(iprot); + struct.foreignKeys.add(_elem950); } iprot.readListEnd(); } @@ -49478,14 +49478,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list944.size); - SQLUniqueConstraint _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list952.size); + SQLUniqueConstraint _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new SQLUniqueConstraint(); - _elem945.read(iprot); - struct.uniqueConstraints.add(_elem945); + _elem953 = new SQLUniqueConstraint(); + _elem953.read(iprot); + struct.uniqueConstraints.add(_elem953); } iprot.readListEnd(); } @@ -49497,14 +49497,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list947 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list947.size); - SQLNotNullConstraint _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list955 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list955.size); + SQLNotNullConstraint _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem948 = new SQLNotNullConstraint(); - _elem948.read(iprot); - struct.notNullConstraints.add(_elem948); + _elem956 = new SQLNotNullConstraint(); + _elem956.read(iprot); + struct.notNullConstraints.add(_elem956); } iprot.readListEnd(); } @@ -49516,14 +49516,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list950.size); - SQLDefaultConstraint _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list958.size); + SQLDefaultConstraint _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem951 = new SQLDefaultConstraint(); - _elem951.read(iprot); - struct.defaultConstraints.add(_elem951); + _elem959 = new SQLDefaultConstraint(); + _elem959.read(iprot); + struct.defaultConstraints.add(_elem959); } iprot.readListEnd(); } @@ -49554,9 +49554,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter953 : struct.primaryKeys) + for (SQLPrimaryKey _iter961 : struct.primaryKeys) { - _iter953.write(oprot); + _iter961.write(oprot); } oprot.writeListEnd(); } @@ -49566,9 +49566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter954 : struct.foreignKeys) + for (SQLForeignKey _iter962 : struct.foreignKeys) { - _iter954.write(oprot); + _iter962.write(oprot); } oprot.writeListEnd(); } @@ -49578,9 +49578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter955 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter963 : struct.uniqueConstraints) { - _iter955.write(oprot); + _iter963.write(oprot); } oprot.writeListEnd(); } @@ -49590,9 +49590,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter956 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter964 : struct.notNullConstraints) { - _iter956.write(oprot); + _iter964.write(oprot); } oprot.writeListEnd(); } @@ -49602,9 +49602,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter957 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter965 : struct.defaultConstraints) { - _iter957.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -49653,45 +49653,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter958 : struct.primaryKeys) + for (SQLPrimaryKey _iter966 : struct.primaryKeys) { - _iter958.write(oprot); + _iter966.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter959 : struct.foreignKeys) + for (SQLForeignKey _iter967 : struct.foreignKeys) { - _iter959.write(oprot); + _iter967.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter960 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter968 : struct.uniqueConstraints) { - _iter960.write(oprot); + _iter968.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter961 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter969 : struct.notNullConstraints) { - _iter961.write(oprot); + _iter969.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter962 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter970 : struct.defaultConstraints) { - _iter962.write(oprot); + _iter970.write(oprot); } } } @@ -49708,70 +49708,70 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list963.size); - SQLPrimaryKey _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list971.size); + SQLPrimaryKey _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = new SQLPrimaryKey(); - _elem964.read(iprot); - struct.primaryKeys.add(_elem964); + _elem972 = new SQLPrimaryKey(); + _elem972.read(iprot); + struct.primaryKeys.add(_elem972); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list966 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list966.size); - SQLForeignKey _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list974.size); + SQLForeignKey _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = new SQLForeignKey(); - _elem967.read(iprot); - struct.foreignKeys.add(_elem967); + _elem975 = new SQLForeignKey(); + _elem975.read(iprot); + struct.foreignKeys.add(_elem975); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list969.size); - SQLUniqueConstraint _elem970; - for (int _i971 = 0; _i971 < _list969.size; ++_i971) + org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list977.size); + SQLUniqueConstraint _elem978; + for (int _i979 = 0; _i979 < _list977.size; ++_i979) { - _elem970 = new SQLUniqueConstraint(); - _elem970.read(iprot); - struct.uniqueConstraints.add(_elem970); + _elem978 = new SQLUniqueConstraint(); + _elem978.read(iprot); + struct.uniqueConstraints.add(_elem978); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list972 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list972.size); - SQLNotNullConstraint _elem973; - for (int _i974 = 0; _i974 < _list972.size; ++_i974) + org.apache.thrift.protocol.TList _list980 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list980.size); + SQLNotNullConstraint _elem981; + for (int _i982 = 0; _i982 < _list980.size; ++_i982) { - _elem973 = new SQLNotNullConstraint(); - _elem973.read(iprot); - struct.notNullConstraints.add(_elem973); + _elem981 = new SQLNotNullConstraint(); + _elem981.read(iprot); + struct.notNullConstraints.add(_elem981); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list975.size); - SQLDefaultConstraint _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list983.size); + SQLDefaultConstraint _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem976 = new SQLDefaultConstraint(); - _elem976.read(iprot); - struct.defaultConstraints.add(_elem976); + _elem984 = new SQLDefaultConstraint(); + _elem984.read(iprot); + struct.defaultConstraints.add(_elem984); } } struct.setDefaultConstraintsIsSet(true); @@ -58092,13 +58092,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list978.size); - String _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list986.size); + String _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem979 = iprot.readString(); - struct.partNames.add(_elem979); + _elem987 = iprot.readString(); + struct.partNames.add(_elem987); } iprot.readListEnd(); } @@ -58134,9 +58134,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter981 : struct.partNames) + for (String _iter989 : struct.partNames) { - oprot.writeString(_iter981); + oprot.writeString(_iter989); } oprot.writeListEnd(); } @@ -58179,9 +58179,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter982 : struct.partNames) + for (String _iter990 : struct.partNames) { - oprot.writeString(_iter982); + oprot.writeString(_iter990); } } } @@ -58201,13 +58201,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list983.size); - String _elem984; - for (int _i985 = 0; _i985 < _list983.size; ++_i985) + org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list991.size); + String _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem984 = iprot.readString(); - struct.partNames.add(_elem984); + _elem992 = iprot.readString(); + struct.partNames.add(_elem992); } } struct.setPartNamesIsSet(true); @@ -59432,13 +59432,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); - struct.success = new ArrayList(_list986.size); - String _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.success = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem987 = iprot.readString(); - struct.success.add(_elem987); + _elem995 = iprot.readString(); + struct.success.add(_elem995); } iprot.readListEnd(); } @@ -59473,9 +59473,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter989 : struct.success) + for (String _iter997 : struct.success) { - oprot.writeString(_iter989); + oprot.writeString(_iter997); } oprot.writeListEnd(); } @@ -59514,9 +59514,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter990 : struct.success) + for (String _iter998 : struct.success) { - oprot.writeString(_iter990); + oprot.writeString(_iter998); } } } @@ -59531,13 +59531,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list991.size); - String _elem992; - for (int _i993 = 0; _i993 < _list991.size; ++_i993) + org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list999.size); + String _elem1000; + for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) { - _elem992 = iprot.readString(); - struct.success.add(_elem992); + _elem1000 = iprot.readString(); + struct.success.add(_elem1000); } } struct.setSuccessIsSet(true); @@ -60511,13 +60511,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); - struct.success = new ArrayList(_list994.size); - String _elem995; - for (int _i996 = 0; _i996 < _list994.size; ++_i996) + org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); + struct.success = new ArrayList(_list1002.size); + String _elem1003; + for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) { - _elem995 = iprot.readString(); - struct.success.add(_elem995); + _elem1003 = iprot.readString(); + struct.success.add(_elem1003); } iprot.readListEnd(); } @@ -60552,9 +60552,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter997 : struct.success) + for (String _iter1005 : struct.success) { - oprot.writeString(_iter997); + oprot.writeString(_iter1005); } oprot.writeListEnd(); } @@ -60593,9 +60593,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter998 : struct.success) + for (String _iter1006 : struct.success) { - oprot.writeString(_iter998); + oprot.writeString(_iter1006); } } } @@ -60610,13 +60610,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list999.size); - String _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1007.size); + String _elem1008; + for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) { - _elem1000 = iprot.readString(); - struct.success.add(_elem1000); + _elem1008 = iprot.readString(); + struct.success.add(_elem1008); } } struct.setSuccessIsSet(true); @@ -61382,13 +61382,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); - struct.success = new ArrayList(_list1002.size); - String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); + struct.success = new ArrayList(_list1010.size); + String _elem1011; + for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) { - _elem1003 = iprot.readString(); - struct.success.add(_elem1003); + _elem1011 = iprot.readString(); + struct.success.add(_elem1011); } iprot.readListEnd(); } @@ -61423,9 +61423,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1005 : struct.success) + for (String _iter1013 : struct.success) { - oprot.writeString(_iter1005); + oprot.writeString(_iter1013); } oprot.writeListEnd(); } @@ -61464,9 +61464,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1006 : struct.success) + for (String _iter1014 : struct.success) { - oprot.writeString(_iter1006); + oprot.writeString(_iter1014); } } } @@ -61481,13 +61481,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1007.size); - String _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1015.size); + String _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1008 = iprot.readString(); - struct.success.add(_elem1008); + _elem1016 = iprot.readString(); + struct.success.add(_elem1016); } } struct.setSuccessIsSet(true); @@ -61992,13 +61992,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1010.size); - String _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1011 = iprot.readString(); - struct.tbl_types.add(_elem1011); + _elem1019 = iprot.readString(); + struct.tbl_types.add(_elem1019); } iprot.readListEnd(); } @@ -62034,9 +62034,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter1013 : struct.tbl_types) + for (String _iter1021 : struct.tbl_types) { - oprot.writeString(_iter1013); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -62079,9 +62079,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter1014 : struct.tbl_types) + for (String _iter1022 : struct.tbl_types) { - oprot.writeString(_iter1014); + oprot.writeString(_iter1022); } } } @@ -62101,13 +62101,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1015.size); - String _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1016 = iprot.readString(); - struct.tbl_types.add(_elem1016); + _elem1024 = iprot.readString(); + struct.tbl_types.add(_elem1024); } } struct.setTbl_typesIsSet(true); @@ -62513,14 +62513,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); - struct.success = new ArrayList(_list1018.size); - TableMeta _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.success = new ArrayList(_list1026.size); + TableMeta _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1019 = new TableMeta(); - _elem1019.read(iprot); - struct.success.add(_elem1019); + _elem1027 = new TableMeta(); + _elem1027.read(iprot); + struct.success.add(_elem1027); } iprot.readListEnd(); } @@ -62555,9 +62555,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1021 : struct.success) + for (TableMeta _iter1029 : struct.success) { - _iter1021.write(oprot); + _iter1029.write(oprot); } oprot.writeListEnd(); } @@ -62596,9 +62596,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1022 : struct.success) + for (TableMeta _iter1030 : struct.success) { - _iter1022.write(oprot); + _iter1030.write(oprot); } } } @@ -62613,14 +62613,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1023.size); - TableMeta _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1031.size); + TableMeta _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = new TableMeta(); - _elem1024.read(iprot); - struct.success.add(_elem1024); + _elem1032 = new TableMeta(); + _elem1032.read(iprot); + struct.success.add(_elem1032); } } struct.setSuccessIsSet(true); @@ -63386,13 +63386,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1035 = iprot.readString(); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -63427,9 +63427,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1029 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -63468,9 +63468,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -63485,13 +63485,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1040 = iprot.readString(); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -64944,13 +64944,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1035 = iprot.readString(); - struct.tbl_names.add(_elem1035); + _elem1043 = iprot.readString(); + struct.tbl_names.add(_elem1043); } iprot.readListEnd(); } @@ -64981,9 +64981,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1037 : struct.tbl_names) + for (String _iter1045 : struct.tbl_names) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -65020,9 +65020,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1038 : struct.tbl_names) + for (String _iter1046 : struct.tbl_names) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -65038,13 +65038,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1039.size); - String _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1040 = iprot.readString(); - struct.tbl_names.add(_elem1040); + _elem1048 = iprot.readString(); + struct.tbl_names.add(_elem1048); } } struct.setTbl_namesIsSet(true); @@ -65369,14 +65369,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1042.size); - Table _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1050.size); + Table _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = new Table(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1051 = new Table(); + _elem1051.read(iprot); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -65402,9 +65402,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1045 : struct.success) + for (Table _iter1053 : struct.success) { - _iter1045.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -65435,9 +65435,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1046 : struct.success) + for (Table _iter1054 : struct.success) { - _iter1046.write(oprot); + _iter1054.write(oprot); } } } @@ -65449,14 +65449,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1047.size); - Table _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1055.size); + Table _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = new Table(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1056 = new Table(); + _elem1056.read(iprot); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -67849,13 +67849,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = iprot.readString(); - struct.tbl_names.add(_elem1051); + _elem1059 = iprot.readString(); + struct.tbl_names.add(_elem1059); } iprot.readListEnd(); } @@ -67886,9 +67886,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1053 : struct.tbl_names) + for (String _iter1061 : struct.tbl_names) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -67925,9 +67925,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1054 : struct.tbl_names) + for (String _iter1062 : struct.tbl_names) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1062); } } } @@ -67943,13 +67943,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = iprot.readString(); - struct.tbl_names.add(_elem1056); + _elem1064 = iprot.readString(); + struct.tbl_names.add(_elem1064); } } struct.setTbl_namesIsSet(true); @@ -68522,16 +68522,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1058 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1058.size); - String _key1059; - Materialization _val1060; - for (int _i1061 = 0; _i1061 < _map1058.size; ++_i1061) + org.apache.thrift.protocol.TMap _map1066 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1066.size); + String _key1067; + Materialization _val1068; + for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) { - _key1059 = iprot.readString(); - _val1060 = new Materialization(); - _val1060.read(iprot); - struct.success.put(_key1059, _val1060); + _key1067 = iprot.readString(); + _val1068 = new Materialization(); + _val1068.read(iprot); + struct.success.put(_key1067, _val1068); } iprot.readMapEnd(); } @@ -68584,10 +68584,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1062 : struct.success.entrySet()) + for (Map.Entry _iter1070 : struct.success.entrySet()) { - oprot.writeString(_iter1062.getKey()); - _iter1062.getValue().write(oprot); + oprot.writeString(_iter1070.getKey()); + _iter1070.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -68642,10 +68642,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1063 : struct.success.entrySet()) + for (Map.Entry _iter1071 : struct.success.entrySet()) { - oprot.writeString(_iter1063.getKey()); - _iter1063.getValue().write(oprot); + oprot.writeString(_iter1071.getKey()); + _iter1071.getValue().write(oprot); } } } @@ -68666,16 +68666,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1064 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map1064.size); - String _key1065; - Materialization _val1066; - for (int _i1067 = 0; _i1067 < _map1064.size; ++_i1067) + org.apache.thrift.protocol.TMap _map1072 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map1072.size); + String _key1073; + Materialization _val1074; + for (int _i1075 = 0; _i1075 < _map1072.size; ++_i1075) { - _key1065 = iprot.readString(); - _val1066 = new Materialization(); - _val1066.read(iprot); - struct.success.put(_key1065, _val1066); + _key1073 = iprot.readString(); + _val1074 = new Materialization(); + _val1074.read(iprot); + struct.success.put(_key1073, _val1074); } } struct.setSuccessIsSet(true); @@ -70964,13 +70964,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - String _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); + struct.success = new ArrayList(_list1076.size); + String _elem1077; + for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) { - _elem1069 = iprot.readString(); - struct.success.add(_elem1069); + _elem1077 = iprot.readString(); + struct.success.add(_elem1077); } iprot.readListEnd(); } @@ -71023,9 +71023,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1071 : struct.success) + for (String _iter1079 : struct.success) { - oprot.writeString(_iter1071); + oprot.writeString(_iter1079); } oprot.writeListEnd(); } @@ -71080,9 +71080,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1072 : struct.success) + for (String _iter1080 : struct.success) { - oprot.writeString(_iter1072); + oprot.writeString(_iter1080); } } } @@ -71103,13 +71103,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - String _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1081.size); + String _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1074 = iprot.readString(); - struct.success.add(_elem1074); + _elem1082 = iprot.readString(); + struct.success.add(_elem1082); } } struct.setSuccessIsSet(true); @@ -76968,14 +76968,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1076.size); - Partition _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1084.size); + Partition _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1077 = new Partition(); - _elem1077.read(iprot); - struct.new_parts.add(_elem1077); + _elem1085 = new Partition(); + _elem1085.read(iprot); + struct.new_parts.add(_elem1085); } iprot.readListEnd(); } @@ -77001,9 +77001,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1079 : struct.new_parts) + for (Partition _iter1087 : struct.new_parts) { - _iter1079.write(oprot); + _iter1087.write(oprot); } oprot.writeListEnd(); } @@ -77034,9 +77034,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1080 : struct.new_parts) + for (Partition _iter1088 : struct.new_parts) { - _iter1080.write(oprot); + _iter1088.write(oprot); } } } @@ -77048,14 +77048,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1081.size); - Partition _elem1082; - for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) + org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1089.size); + Partition _elem1090; + for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) { - _elem1082 = new Partition(); - _elem1082.read(iprot); - struct.new_parts.add(_elem1082); + _elem1090 = new Partition(); + _elem1090.read(iprot); + struct.new_parts.add(_elem1090); } } struct.setNew_partsIsSet(true); @@ -78056,14 +78056,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1084.size); - PartitionSpec _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) + org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1092.size); + PartitionSpec _elem1093; + for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) { - _elem1085 = new PartitionSpec(); - _elem1085.read(iprot); - struct.new_parts.add(_elem1085); + _elem1093 = new PartitionSpec(); + _elem1093.read(iprot); + struct.new_parts.add(_elem1093); } iprot.readListEnd(); } @@ -78089,9 +78089,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter1087 : struct.new_parts) + for (PartitionSpec _iter1095 : struct.new_parts) { - _iter1087.write(oprot); + _iter1095.write(oprot); } oprot.writeListEnd(); } @@ -78122,9 +78122,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter1088 : struct.new_parts) + for (PartitionSpec _iter1096 : struct.new_parts) { - _iter1088.write(oprot); + _iter1096.write(oprot); } } } @@ -78136,14 +78136,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1089.size); - PartitionSpec _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1097.size); + PartitionSpec _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1090 = new PartitionSpec(); - _elem1090.read(iprot); - struct.new_parts.add(_elem1090); + _elem1098 = new PartitionSpec(); + _elem1098.read(iprot); + struct.new_parts.add(_elem1098); } } struct.setNew_partsIsSet(true); @@ -79319,13 +79319,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1092.size); - String _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1093 = iprot.readString(); - struct.part_vals.add(_elem1093); + _elem1101 = iprot.readString(); + struct.part_vals.add(_elem1101); } iprot.readListEnd(); } @@ -79361,9 +79361,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1095 : struct.part_vals) + for (String _iter1103 : struct.part_vals) { - oprot.writeString(_iter1095); + oprot.writeString(_iter1103); } oprot.writeListEnd(); } @@ -79406,9 +79406,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1096 : struct.part_vals) + for (String _iter1104 : struct.part_vals) { - oprot.writeString(_iter1096); + oprot.writeString(_iter1104); } } } @@ -79428,13 +79428,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1097.size); - String _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1105.size); + String _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1098 = iprot.readString(); - struct.part_vals.add(_elem1098); + _elem1106 = iprot.readString(); + struct.part_vals.add(_elem1106); } } struct.setPart_valsIsSet(true); @@ -81743,13 +81743,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1108.size); + String _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1101 = iprot.readString(); - struct.part_vals.add(_elem1101); + _elem1109 = iprot.readString(); + struct.part_vals.add(_elem1109); } iprot.readListEnd(); } @@ -81794,9 +81794,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1103 : struct.part_vals) + for (String _iter1111 : struct.part_vals) { - oprot.writeString(_iter1103); + oprot.writeString(_iter1111); } oprot.writeListEnd(); } @@ -81847,9 +81847,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1104 : struct.part_vals) + for (String _iter1112 : struct.part_vals) { - oprot.writeString(_iter1104); + oprot.writeString(_iter1112); } } } @@ -81872,13 +81872,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1105.size); - String _elem1106; - for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) + org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1113.size); + String _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1106 = iprot.readString(); - struct.part_vals.add(_elem1106); + _elem1114 = iprot.readString(); + struct.part_vals.add(_elem1114); } } struct.setPart_valsIsSet(true); @@ -85748,13 +85748,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1116.size); + String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1109 = iprot.readString(); - struct.part_vals.add(_elem1109); + _elem1117 = iprot.readString(); + struct.part_vals.add(_elem1117); } iprot.readListEnd(); } @@ -85798,9 +85798,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1111 : struct.part_vals) + for (String _iter1119 : struct.part_vals) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -85849,9 +85849,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1112 : struct.part_vals) + for (String _iter1120 : struct.part_vals) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1120); } } } @@ -85874,13 +85874,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1121.size); + String _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = iprot.readString(); - struct.part_vals.add(_elem1114); + _elem1122 = iprot.readString(); + struct.part_vals.add(_elem1122); } } struct.setPart_valsIsSet(true); @@ -87119,13 +87119,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1124.size); + String _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1117 = iprot.readString(); - struct.part_vals.add(_elem1117); + _elem1125 = iprot.readString(); + struct.part_vals.add(_elem1125); } iprot.readListEnd(); } @@ -87178,9 +87178,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1119 : struct.part_vals) + for (String _iter1127 : struct.part_vals) { - oprot.writeString(_iter1119); + oprot.writeString(_iter1127); } oprot.writeListEnd(); } @@ -87237,9 +87237,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1120 : struct.part_vals) + for (String _iter1128 : struct.part_vals) { - oprot.writeString(_iter1120); + oprot.writeString(_iter1128); } } } @@ -87265,13 +87265,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = iprot.readString(); - struct.part_vals.add(_elem1122); + _elem1130 = iprot.readString(); + struct.part_vals.add(_elem1130); } } struct.setPart_valsIsSet(true); @@ -91873,13 +91873,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1132 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1132.size); + String _elem1133; + for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) { - _elem1125 = iprot.readString(); - struct.part_vals.add(_elem1125); + _elem1133 = iprot.readString(); + struct.part_vals.add(_elem1133); } iprot.readListEnd(); } @@ -91915,9 +91915,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1127 : struct.part_vals) + for (String _iter1135 : struct.part_vals) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1135); } oprot.writeListEnd(); } @@ -91960,9 +91960,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1128 : struct.part_vals) + for (String _iter1136 : struct.part_vals) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1136); } } } @@ -91982,13 +91982,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1129.size); - String _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1137.size); + String _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1130 = iprot.readString(); - struct.part_vals.add(_elem1130); + _elem1138 = iprot.readString(); + struct.part_vals.add(_elem1138); } } struct.setPart_valsIsSet(true); @@ -93206,15 +93206,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1132 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1132.size); - String _key1133; - String _val1134; - for (int _i1135 = 0; _i1135 < _map1132.size; ++_i1135) + org.apache.thrift.protocol.TMap _map1140 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1140.size); + String _key1141; + String _val1142; + for (int _i1143 = 0; _i1143 < _map1140.size; ++_i1143) { - _key1133 = iprot.readString(); - _val1134 = iprot.readString(); - struct.partitionSpecs.put(_key1133, _val1134); + _key1141 = iprot.readString(); + _val1142 = iprot.readString(); + struct.partitionSpecs.put(_key1141, _val1142); } iprot.readMapEnd(); } @@ -93272,10 +93272,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1136 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1144 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1136.getKey()); - oprot.writeString(_iter1136.getValue()); + oprot.writeString(_iter1144.getKey()); + oprot.writeString(_iter1144.getValue()); } oprot.writeMapEnd(); } @@ -93338,10 +93338,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1137 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1145 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1137.getKey()); - oprot.writeString(_iter1137.getValue()); + oprot.writeString(_iter1145.getKey()); + oprot.writeString(_iter1145.getValue()); } } } @@ -93365,15 +93365,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1138 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1138.size); - String _key1139; - String _val1140; - for (int _i1141 = 0; _i1141 < _map1138.size; ++_i1141) + org.apache.thrift.protocol.TMap _map1146 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1146.size); + String _key1147; + String _val1148; + for (int _i1149 = 0; _i1149 < _map1146.size; ++_i1149) { - _key1139 = iprot.readString(); - _val1140 = iprot.readString(); - struct.partitionSpecs.put(_key1139, _val1140); + _key1147 = iprot.readString(); + _val1148 = iprot.readString(); + struct.partitionSpecs.put(_key1147, _val1148); } } struct.setPartitionSpecsIsSet(true); @@ -94819,15 +94819,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1142 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1142.size); - String _key1143; - String _val1144; - for (int _i1145 = 0; _i1145 < _map1142.size; ++_i1145) + org.apache.thrift.protocol.TMap _map1150 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1150.size); + String _key1151; + String _val1152; + for (int _i1153 = 0; _i1153 < _map1150.size; ++_i1153) { - _key1143 = iprot.readString(); - _val1144 = iprot.readString(); - struct.partitionSpecs.put(_key1143, _val1144); + _key1151 = iprot.readString(); + _val1152 = iprot.readString(); + struct.partitionSpecs.put(_key1151, _val1152); } iprot.readMapEnd(); } @@ -94885,10 +94885,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1146 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1154 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1146.getKey()); - oprot.writeString(_iter1146.getValue()); + oprot.writeString(_iter1154.getKey()); + oprot.writeString(_iter1154.getValue()); } oprot.writeMapEnd(); } @@ -94951,10 +94951,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1147 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1155 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1147.getKey()); - oprot.writeString(_iter1147.getValue()); + oprot.writeString(_iter1155.getKey()); + oprot.writeString(_iter1155.getValue()); } } } @@ -94978,15 +94978,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1148 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1148.size); - String _key1149; - String _val1150; - for (int _i1151 = 0; _i1151 < _map1148.size; ++_i1151) + org.apache.thrift.protocol.TMap _map1156 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1156.size); + String _key1157; + String _val1158; + for (int _i1159 = 0; _i1159 < _map1156.size; ++_i1159) { - _key1149 = iprot.readString(); - _val1150 = iprot.readString(); - struct.partitionSpecs.put(_key1149, _val1150); + _key1157 = iprot.readString(); + _val1158 = iprot.readString(); + struct.partitionSpecs.put(_key1157, _val1158); } } struct.setPartitionSpecsIsSet(true); @@ -95651,14 +95651,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1152 = iprot.readListBegin(); - struct.success = new ArrayList(_list1152.size); - Partition _elem1153; - for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.success = new ArrayList(_list1160.size); + Partition _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) { - _elem1153 = new Partition(); - _elem1153.read(iprot); - struct.success.add(_elem1153); + _elem1161 = new Partition(); + _elem1161.read(iprot); + struct.success.add(_elem1161); } iprot.readListEnd(); } @@ -95720,9 +95720,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1155 : struct.success) + for (Partition _iter1163 : struct.success) { - _iter1155.write(oprot); + _iter1163.write(oprot); } oprot.writeListEnd(); } @@ -95785,9 +95785,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1156 : struct.success) + for (Partition _iter1164 : struct.success) { - _iter1156.write(oprot); + _iter1164.write(oprot); } } } @@ -95811,14 +95811,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1157.size); - Partition _elem1158; - for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) + org.apache.thrift.protocol.TList _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1165.size); + Partition _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1158 = new Partition(); - _elem1158.read(iprot); - struct.success.add(_elem1158); + _elem1166 = new Partition(); + _elem1166.read(iprot); + struct.success.add(_elem1166); } } struct.setSuccessIsSet(true); @@ -96517,13 +96517,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1160.size); - String _elem1161; - for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1168.size); + String _elem1169; + for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) { - _elem1161 = iprot.readString(); - struct.part_vals.add(_elem1161); + _elem1169 = iprot.readString(); + struct.part_vals.add(_elem1169); } iprot.readListEnd(); } @@ -96543,13 +96543,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1163 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1163.size); - String _elem1164; - for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) + org.apache.thrift.protocol.TList _list1171 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1171.size); + String _elem1172; + for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) { - _elem1164 = iprot.readString(); - struct.group_names.add(_elem1164); + _elem1172 = iprot.readString(); + struct.group_names.add(_elem1172); } iprot.readListEnd(); } @@ -96585,9 +96585,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1166 : struct.part_vals) + for (String _iter1174 : struct.part_vals) { - oprot.writeString(_iter1166); + oprot.writeString(_iter1174); } oprot.writeListEnd(); } @@ -96602,9 +96602,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1167 : struct.group_names) + for (String _iter1175 : struct.group_names) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1175); } oprot.writeListEnd(); } @@ -96653,9 +96653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1168 : struct.part_vals) + for (String _iter1176 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1176); } } } @@ -96665,9 +96665,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1169 : struct.group_names) + for (String _iter1177 : struct.group_names) { - oprot.writeString(_iter1169); + oprot.writeString(_iter1177); } } } @@ -96687,13 +96687,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1170 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1170.size); - String _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1178 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1178.size); + String _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1171 = iprot.readString(); - struct.part_vals.add(_elem1171); + _elem1179 = iprot.readString(); + struct.part_vals.add(_elem1179); } } struct.setPart_valsIsSet(true); @@ -96704,13 +96704,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1173.size); - String _elem1174; - for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) + org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1181.size); + String _elem1182; + for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) { - _elem1174 = iprot.readString(); - struct.group_names.add(_elem1174); + _elem1182 = iprot.readString(); + struct.group_names.add(_elem1182); } } struct.setGroup_namesIsSet(true); @@ -99479,14 +99479,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1176 = iprot.readListBegin(); - struct.success = new ArrayList(_list1176.size); - Partition _elem1177; - for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) + org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); + struct.success = new ArrayList(_list1184.size); + Partition _elem1185; + for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) { - _elem1177 = new Partition(); - _elem1177.read(iprot); - struct.success.add(_elem1177); + _elem1185 = new Partition(); + _elem1185.read(iprot); + struct.success.add(_elem1185); } iprot.readListEnd(); } @@ -99530,9 +99530,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1179 : struct.success) + for (Partition _iter1187 : struct.success) { - _iter1179.write(oprot); + _iter1187.write(oprot); } oprot.writeListEnd(); } @@ -99579,9 +99579,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1180 : struct.success) + for (Partition _iter1188 : struct.success) { - _iter1180.write(oprot); + _iter1188.write(oprot); } } } @@ -99599,14 +99599,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1181.size); - Partition _elem1182; - for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) + org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1189.size); + Partition _elem1190; + for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) { - _elem1182 = new Partition(); - _elem1182.read(iprot); - struct.success.add(_elem1182); + _elem1190 = new Partition(); + _elem1190.read(iprot); + struct.success.add(_elem1190); } } struct.setSuccessIsSet(true); @@ -100296,13 +100296,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1184.size); - String _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1192.size); + String _elem1193; + for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) { - _elem1185 = iprot.readString(); - struct.group_names.add(_elem1185); + _elem1193 = iprot.readString(); + struct.group_names.add(_elem1193); } iprot.readListEnd(); } @@ -100346,9 +100346,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1187 : struct.group_names) + for (String _iter1195 : struct.group_names) { - oprot.writeString(_iter1187); + oprot.writeString(_iter1195); } oprot.writeListEnd(); } @@ -100403,9 +100403,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1188 : struct.group_names) + for (String _iter1196 : struct.group_names) { - oprot.writeString(_iter1188); + oprot.writeString(_iter1196); } } } @@ -100433,13 +100433,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1189.size); - String _elem1190; - for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) + org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1197.size); + String _elem1198; + for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) { - _elem1190 = iprot.readString(); - struct.group_names.add(_elem1190); + _elem1198 = iprot.readString(); + struct.group_names.add(_elem1198); } } struct.setGroup_namesIsSet(true); @@ -100926,14 +100926,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); - struct.success = new ArrayList(_list1192.size); - Partition _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); + struct.success = new ArrayList(_list1200.size); + Partition _elem1201; + for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) { - _elem1193 = new Partition(); - _elem1193.read(iprot); - struct.success.add(_elem1193); + _elem1201 = new Partition(); + _elem1201.read(iprot); + struct.success.add(_elem1201); } iprot.readListEnd(); } @@ -100977,9 +100977,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1195 : struct.success) + for (Partition _iter1203 : struct.success) { - _iter1195.write(oprot); + _iter1203.write(oprot); } oprot.writeListEnd(); } @@ -101026,9 +101026,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1196 : struct.success) + for (Partition _iter1204 : struct.success) { - _iter1196.write(oprot); + _iter1204.write(oprot); } } } @@ -101046,14 +101046,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1197.size); - Partition _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1205.size); + Partition _elem1206; + for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) { - _elem1198 = new Partition(); - _elem1198.read(iprot); - struct.success.add(_elem1198); + _elem1206 = new Partition(); + _elem1206.read(iprot); + struct.success.add(_elem1206); } } struct.setSuccessIsSet(true); @@ -102116,14 +102116,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - PartitionSpec _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + PartitionSpec _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1201 = new PartitionSpec(); - _elem1201.read(iprot); - struct.success.add(_elem1201); + _elem1209 = new PartitionSpec(); + _elem1209.read(iprot); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -102167,9 +102167,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1203 : struct.success) + for (PartitionSpec _iter1211 : struct.success) { - _iter1203.write(oprot); + _iter1211.write(oprot); } oprot.writeListEnd(); } @@ -102216,9 +102216,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1204 : struct.success) + for (PartitionSpec _iter1212 : struct.success) { - _iter1204.write(oprot); + _iter1212.write(oprot); } } } @@ -102236,14 +102236,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - PartitionSpec _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + PartitionSpec _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = new PartitionSpec(); - _elem1206.read(iprot); - struct.success.add(_elem1206); + _elem1214 = new PartitionSpec(); + _elem1214.read(iprot); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -103303,13 +103303,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.success = new ArrayList(_list1216.size); + String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1209 = iprot.readString(); - struct.success.add(_elem1209); + _elem1217 = iprot.readString(); + struct.success.add(_elem1217); } iprot.readListEnd(); } @@ -103353,9 +103353,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1211 : struct.success) + for (String _iter1219 : struct.success) { - oprot.writeString(_iter1211); + oprot.writeString(_iter1219); } oprot.writeListEnd(); } @@ -103402,9 +103402,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1212 : struct.success) + for (String _iter1220 : struct.success) { - oprot.writeString(_iter1212); + oprot.writeString(_iter1220); } } } @@ -103422,13 +103422,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1221.size); + String _elem1222; + for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1214 = iprot.readString(); - struct.success.add(_elem1214); + _elem1222 = iprot.readString(); + struct.success.add(_elem1222); } } struct.setSuccessIsSet(true); @@ -104959,13 +104959,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1216.size); - String _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1224.size); + String _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1217 = iprot.readString(); - struct.part_vals.add(_elem1217); + _elem1225 = iprot.readString(); + struct.part_vals.add(_elem1225); } iprot.readListEnd(); } @@ -105009,9 +105009,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1219 : struct.part_vals) + for (String _iter1227 : struct.part_vals) { - oprot.writeString(_iter1219); + oprot.writeString(_iter1227); } oprot.writeListEnd(); } @@ -105060,9 +105060,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1220 : struct.part_vals) + for (String _iter1228 : struct.part_vals) { - oprot.writeString(_iter1220); + oprot.writeString(_iter1228); } } } @@ -105085,13 +105085,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1221.size); - String _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1229.size); + String _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = iprot.readString(); - struct.part_vals.add(_elem1222); + _elem1230 = iprot.readString(); + struct.part_vals.add(_elem1230); } } struct.setPart_valsIsSet(true); @@ -105582,14 +105582,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - Partition _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + Partition _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new Partition(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1233 = new Partition(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -105633,9 +105633,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1227 : struct.success) + for (Partition _iter1235 : struct.success) { - _iter1227.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -105682,9 +105682,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1228 : struct.success) + for (Partition _iter1236 : struct.success) { - _iter1228.write(oprot); + _iter1236.write(oprot); } } } @@ -105702,14 +105702,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - Partition _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1237.size); + Partition _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = new Partition(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1238 = new Partition(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -106481,13 +106481,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1232.size); - String _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1240.size); + String _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = iprot.readString(); - struct.part_vals.add(_elem1233); + _elem1241 = iprot.readString(); + struct.part_vals.add(_elem1241); } iprot.readListEnd(); } @@ -106515,13 +106515,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1235 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1235.size); - String _elem1236; - for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) + org.apache.thrift.protocol.TList _list1243 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1236 = iprot.readString(); - struct.group_names.add(_elem1236); + _elem1244 = iprot.readString(); + struct.group_names.add(_elem1244); } iprot.readListEnd(); } @@ -106557,9 +106557,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1238 : struct.part_vals) + for (String _iter1246 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1246); } oprot.writeListEnd(); } @@ -106577,9 +106577,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1239 : struct.group_names) + for (String _iter1247 : struct.group_names) { - oprot.writeString(_iter1239); + oprot.writeString(_iter1247); } oprot.writeListEnd(); } @@ -106631,9 +106631,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1240 : struct.part_vals) + for (String _iter1248 : struct.part_vals) { - oprot.writeString(_iter1240); + oprot.writeString(_iter1248); } } } @@ -106646,9 +106646,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1241 : struct.group_names) + for (String _iter1249 : struct.group_names) { - oprot.writeString(_iter1241); + oprot.writeString(_iter1249); } } } @@ -106668,13 +106668,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1242 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1242.size); - String _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1250.size); + String _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = iprot.readString(); - struct.part_vals.add(_elem1243); + _elem1251 = iprot.readString(); + struct.part_vals.add(_elem1251); } } struct.setPart_valsIsSet(true); @@ -106689,13 +106689,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1245.size); - String _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1253.size); + String _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = iprot.readString(); - struct.group_names.add(_elem1246); + _elem1254 = iprot.readString(); + struct.group_names.add(_elem1254); } } struct.setGroup_namesIsSet(true); @@ -107182,14 +107182,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - Partition _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + Partition _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = new Partition(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1257 = new Partition(); + _elem1257.read(iprot); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -107233,9 +107233,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1251 : struct.success) + for (Partition _iter1259 : struct.success) { - _iter1251.write(oprot); + _iter1259.write(oprot); } oprot.writeListEnd(); } @@ -107282,9 +107282,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1252 : struct.success) + for (Partition _iter1260 : struct.success) { - _iter1252.write(oprot); + _iter1260.write(oprot); } } } @@ -107302,14 +107302,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - Partition _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1261.size); + Partition _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1254 = new Partition(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1262 = new Partition(); + _elem1262.read(iprot); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -107902,13 +107902,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1264.size); + String _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1265 = iprot.readString(); + struct.part_vals.add(_elem1265); } iprot.readListEnd(); } @@ -107952,9 +107952,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1259 : struct.part_vals) + for (String _iter1267 : struct.part_vals) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1267); } oprot.writeListEnd(); } @@ -108003,9 +108003,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1260 : struct.part_vals) + for (String _iter1268 : struct.part_vals) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1268); } } } @@ -108028,13 +108028,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1261.size); - String _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1269.size); + String _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = iprot.readString(); - struct.part_vals.add(_elem1262); + _elem1270 = iprot.readString(); + struct.part_vals.add(_elem1270); } } struct.setPart_valsIsSet(true); @@ -108522,13 +108522,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.success = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = iprot.readString(); - struct.success.add(_elem1265); + _elem1273 = iprot.readString(); + struct.success.add(_elem1273); } iprot.readListEnd(); } @@ -108572,9 +108572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1267 : struct.success) + for (String _iter1275 : struct.success) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1275); } oprot.writeListEnd(); } @@ -108621,9 +108621,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1268 : struct.success) + for (String _iter1276 : struct.success) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1276); } } } @@ -108641,13 +108641,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1277.size); + String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1270 = iprot.readString(); - struct.success.add(_elem1270); + _elem1278 = iprot.readString(); + struct.success.add(_elem1278); } } struct.setSuccessIsSet(true); @@ -109814,14 +109814,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.success = new ArrayList(_list1280.size); + Partition _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1281 = new Partition(); + _elem1281.read(iprot); + struct.success.add(_elem1281); } iprot.readListEnd(); } @@ -109865,9 +109865,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1275 : struct.success) + for (Partition _iter1283 : struct.success) { - _iter1275.write(oprot); + _iter1283.write(oprot); } oprot.writeListEnd(); } @@ -109914,9 +109914,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1284 : struct.success) { - _iter1276.write(oprot); + _iter1284.write(oprot); } } } @@ -109934,14 +109934,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1285.size); + Partition _elem1286; + for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1286 = new Partition(); + _elem1286.read(iprot); + struct.success.add(_elem1286); } } struct.setSuccessIsSet(true); @@ -111108,14 +111108,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - PartitionSpec _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.success = new ArrayList(_list1288.size); + PartitionSpec _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = new PartitionSpec(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1289 = new PartitionSpec(); + _elem1289.read(iprot); + struct.success.add(_elem1289); } iprot.readListEnd(); } @@ -111159,9 +111159,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1283 : struct.success) + for (PartitionSpec _iter1291 : struct.success) { - _iter1283.write(oprot); + _iter1291.write(oprot); } oprot.writeListEnd(); } @@ -111208,9 +111208,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1284 : struct.success) + for (PartitionSpec _iter1292 : struct.success) { - _iter1284.write(oprot); + _iter1292.write(oprot); } } } @@ -111228,14 +111228,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - PartitionSpec _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1293.size); + PartitionSpec _elem1294; + for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) { - _elem1286 = new PartitionSpec(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1294 = new PartitionSpec(); + _elem1294.read(iprot); + struct.success.add(_elem1294); } } struct.setSuccessIsSet(true); @@ -113819,13 +113819,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); - struct.names = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); + struct.names = new ArrayList(_list1296.size); + String _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1289 = iprot.readString(); - struct.names.add(_elem1289); + _elem1297 = iprot.readString(); + struct.names.add(_elem1297); } iprot.readListEnd(); } @@ -113861,9 +113861,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter1291 : struct.names) + for (String _iter1299 : struct.names) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1299); } oprot.writeListEnd(); } @@ -113906,9 +113906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1292 : struct.names) + for (String _iter1300 : struct.names) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1300); } } } @@ -113928,13 +113928,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = iprot.readString(); - struct.names.add(_elem1294); + _elem1302 = iprot.readString(); + struct.names.add(_elem1302); } } struct.setNamesIsSet(true); @@ -114421,14 +114421,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - Partition _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Partition _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = new Partition(); - _elem1297.read(iprot); - struct.success.add(_elem1297); + _elem1305 = new Partition(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -114472,9 +114472,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1299 : struct.success) + for (Partition _iter1307 : struct.success) { - _iter1299.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -114521,9 +114521,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1300 : struct.success) + for (Partition _iter1308 : struct.success) { - _iter1300.write(oprot); + _iter1308.write(oprot); } } } @@ -114541,14 +114541,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1301.size); - Partition _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1309.size); + Partition _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = new Partition(); - _elem1302.read(iprot); - struct.success.add(_elem1302); + _elem1310 = new Partition(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -116098,14 +116098,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1304.size); - Partition _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1312.size); + Partition _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = new Partition(); - _elem1305.read(iprot); - struct.new_parts.add(_elem1305); + _elem1313 = new Partition(); + _elem1313.read(iprot); + struct.new_parts.add(_elem1313); } iprot.readListEnd(); } @@ -116141,9 +116141,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1307 : struct.new_parts) + for (Partition _iter1315 : struct.new_parts) { - _iter1307.write(oprot); + _iter1315.write(oprot); } oprot.writeListEnd(); } @@ -116186,9 +116186,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1308 : struct.new_parts) + for (Partition _iter1316 : struct.new_parts) { - _iter1308.write(oprot); + _iter1316.write(oprot); } } } @@ -116208,14 +116208,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1309.size); - Partition _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1317.size); + Partition _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1310 = new Partition(); - _elem1310.read(iprot); - struct.new_parts.add(_elem1310); + _elem1318 = new Partition(); + _elem1318.read(iprot); + struct.new_parts.add(_elem1318); } } struct.setNew_partsIsSet(true); @@ -117268,14 +117268,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1312.size); - Partition _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1320.size); + Partition _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = new Partition(); - _elem1313.read(iprot); - struct.new_parts.add(_elem1313); + _elem1321 = new Partition(); + _elem1321.read(iprot); + struct.new_parts.add(_elem1321); } iprot.readListEnd(); } @@ -117320,9 +117320,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1315 : struct.new_parts) + for (Partition _iter1323 : struct.new_parts) { - _iter1315.write(oprot); + _iter1323.write(oprot); } oprot.writeListEnd(); } @@ -117373,9 +117373,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1316 : struct.new_parts) + for (Partition _iter1324 : struct.new_parts) { - _iter1316.write(oprot); + _iter1324.write(oprot); } } } @@ -117398,14 +117398,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1317.size); - Partition _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1325.size); + Partition _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1318 = new Partition(); - _elem1318.read(iprot); - struct.new_parts.add(_elem1318); + _elem1326 = new Partition(); + _elem1326.read(iprot); + struct.new_parts.add(_elem1326); } } struct.setNew_partsIsSet(true); @@ -119606,13 +119606,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1320.size); - String _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1328.size); + String _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = iprot.readString(); - struct.part_vals.add(_elem1321); + _elem1329 = iprot.readString(); + struct.part_vals.add(_elem1329); } iprot.readListEnd(); } @@ -119657,9 +119657,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1323 : struct.part_vals) + for (String _iter1331 : struct.part_vals) { - oprot.writeString(_iter1323); + oprot.writeString(_iter1331); } oprot.writeListEnd(); } @@ -119710,9 +119710,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1324 : struct.part_vals) + for (String _iter1332 : struct.part_vals) { - oprot.writeString(_iter1324); + oprot.writeString(_iter1332); } } } @@ -119735,13 +119735,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1325.size); - String _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1333.size); + String _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = iprot.readString(); - struct.part_vals.add(_elem1326); + _elem1334 = iprot.readString(); + struct.part_vals.add(_elem1334); } } struct.setPart_valsIsSet(true); @@ -120615,13 +120615,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1328.size); - String _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1336.size); + String _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1329 = iprot.readString(); - struct.part_vals.add(_elem1329); + _elem1337 = iprot.readString(); + struct.part_vals.add(_elem1337); } iprot.readListEnd(); } @@ -120655,9 +120655,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1331 : struct.part_vals) + for (String _iter1339 : struct.part_vals) { - oprot.writeString(_iter1331); + oprot.writeString(_iter1339); } oprot.writeListEnd(); } @@ -120694,9 +120694,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1332 : struct.part_vals) + for (String _iter1340 : struct.part_vals) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1340); } } } @@ -120711,13 +120711,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1333.size); - String _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1341.size); + String _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1334 = iprot.readString(); - struct.part_vals.add(_elem1334); + _elem1342 = iprot.readString(); + struct.part_vals.add(_elem1342); } } struct.setPart_valsIsSet(true); @@ -122872,13 +122872,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.success = new ArrayList(_list1344.size); + String _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1337 = iprot.readString(); - struct.success.add(_elem1337); + _elem1345 = iprot.readString(); + struct.success.add(_elem1345); } iprot.readListEnd(); } @@ -122913,9 +122913,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1339 : struct.success) + for (String _iter1347 : struct.success) { - oprot.writeString(_iter1339); + oprot.writeString(_iter1347); } oprot.writeListEnd(); } @@ -122954,9 +122954,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1340 : struct.success) + for (String _iter1348 : struct.success) { - oprot.writeString(_iter1340); + oprot.writeString(_iter1348); } } } @@ -122971,13 +122971,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - String _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1349.size); + String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1342 = iprot.readString(); - struct.success.add(_elem1342); + _elem1350 = iprot.readString(); + struct.success.add(_elem1350); } } struct.setSuccessIsSet(true); @@ -123740,15 +123740,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1344 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1344.size); - String _key1345; - String _val1346; - for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) + org.apache.thrift.protocol.TMap _map1352 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1352.size); + String _key1353; + String _val1354; + for (int _i1355 = 0; _i1355 < _map1352.size; ++_i1355) { - _key1345 = iprot.readString(); - _val1346 = iprot.readString(); - struct.success.put(_key1345, _val1346); + _key1353 = iprot.readString(); + _val1354 = iprot.readString(); + struct.success.put(_key1353, _val1354); } iprot.readMapEnd(); } @@ -123783,10 +123783,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter1348 : struct.success.entrySet()) + for (Map.Entry _iter1356 : struct.success.entrySet()) { - oprot.writeString(_iter1348.getKey()); - oprot.writeString(_iter1348.getValue()); + oprot.writeString(_iter1356.getKey()); + oprot.writeString(_iter1356.getValue()); } oprot.writeMapEnd(); } @@ -123825,10 +123825,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1349 : struct.success.entrySet()) + for (Map.Entry _iter1357 : struct.success.entrySet()) { - oprot.writeString(_iter1349.getKey()); - oprot.writeString(_iter1349.getValue()); + oprot.writeString(_iter1357.getKey()); + oprot.writeString(_iter1357.getValue()); } } } @@ -123843,15 +123843,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1350 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map1350.size); - String _key1351; - String _val1352; - for (int _i1353 = 0; _i1353 < _map1350.size; ++_i1353) + org.apache.thrift.protocol.TMap _map1358 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map1358.size); + String _key1359; + String _val1360; + for (int _i1361 = 0; _i1361 < _map1358.size; ++_i1361) { - _key1351 = iprot.readString(); - _val1352 = iprot.readString(); - struct.success.put(_key1351, _val1352); + _key1359 = iprot.readString(); + _val1360 = iprot.readString(); + struct.success.put(_key1359, _val1360); } } struct.setSuccessIsSet(true); @@ -124446,15 +124446,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1354 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1354.size); - String _key1355; - String _val1356; - for (int _i1357 = 0; _i1357 < _map1354.size; ++_i1357) + org.apache.thrift.protocol.TMap _map1362 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1362.size); + String _key1363; + String _val1364; + for (int _i1365 = 0; _i1365 < _map1362.size; ++_i1365) { - _key1355 = iprot.readString(); - _val1356 = iprot.readString(); - struct.part_vals.put(_key1355, _val1356); + _key1363 = iprot.readString(); + _val1364 = iprot.readString(); + struct.part_vals.put(_key1363, _val1364); } iprot.readMapEnd(); } @@ -124498,10 +124498,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1358 : struct.part_vals.entrySet()) + for (Map.Entry _iter1366 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1358.getKey()); - oprot.writeString(_iter1358.getValue()); + oprot.writeString(_iter1366.getKey()); + oprot.writeString(_iter1366.getValue()); } oprot.writeMapEnd(); } @@ -124552,10 +124552,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1359 : struct.part_vals.entrySet()) + for (Map.Entry _iter1367 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1359.getKey()); - oprot.writeString(_iter1359.getValue()); + oprot.writeString(_iter1367.getKey()); + oprot.writeString(_iter1367.getValue()); } } } @@ -124578,15 +124578,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1360 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1360.size); - String _key1361; - String _val1362; - for (int _i1363 = 0; _i1363 < _map1360.size; ++_i1363) + org.apache.thrift.protocol.TMap _map1368 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1368.size); + String _key1369; + String _val1370; + for (int _i1371 = 0; _i1371 < _map1368.size; ++_i1371) { - _key1361 = iprot.readString(); - _val1362 = iprot.readString(); - struct.part_vals.put(_key1361, _val1362); + _key1369 = iprot.readString(); + _val1370 = iprot.readString(); + struct.part_vals.put(_key1369, _val1370); } } struct.setPart_valsIsSet(true); @@ -126070,15 +126070,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1364 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1364.size); - String _key1365; - String _val1366; - for (int _i1367 = 0; _i1367 < _map1364.size; ++_i1367) + org.apache.thrift.protocol.TMap _map1372 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1372.size); + String _key1373; + String _val1374; + for (int _i1375 = 0; _i1375 < _map1372.size; ++_i1375) { - _key1365 = iprot.readString(); - _val1366 = iprot.readString(); - struct.part_vals.put(_key1365, _val1366); + _key1373 = iprot.readString(); + _val1374 = iprot.readString(); + struct.part_vals.put(_key1373, _val1374); } iprot.readMapEnd(); } @@ -126122,10 +126122,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1368 : struct.part_vals.entrySet()) + for (Map.Entry _iter1376 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1368.getKey()); - oprot.writeString(_iter1368.getValue()); + oprot.writeString(_iter1376.getKey()); + oprot.writeString(_iter1376.getValue()); } oprot.writeMapEnd(); } @@ -126176,10 +126176,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1369 : struct.part_vals.entrySet()) + for (Map.Entry _iter1377 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1369.getKey()); - oprot.writeString(_iter1369.getValue()); + oprot.writeString(_iter1377.getKey()); + oprot.writeString(_iter1377.getValue()); } } } @@ -126202,15 +126202,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1370 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1370.size); - String _key1371; - String _val1372; - for (int _i1373 = 0; _i1373 < _map1370.size; ++_i1373) + org.apache.thrift.protocol.TMap _map1378 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1378.size); + String _key1379; + String _val1380; + for (int _i1381 = 0; _i1381 < _map1378.size; ++_i1381) { - _key1371 = iprot.readString(); - _val1372 = iprot.readString(); - struct.part_vals.put(_key1371, _val1372); + _key1379 = iprot.readString(); + _val1380 = iprot.readString(); + struct.part_vals.put(_key1379, _val1380); } } struct.setPart_valsIsSet(true); @@ -147628,13 +147628,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); - struct.success = new ArrayList(_list1374.size); - String _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.success = new ArrayList(_list1382.size); + String _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1375 = iprot.readString(); - struct.success.add(_elem1375); + _elem1383 = iprot.readString(); + struct.success.add(_elem1383); } iprot.readListEnd(); } @@ -147669,9 +147669,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1377 : struct.success) + for (String _iter1385 : struct.success) { - oprot.writeString(_iter1377); + oprot.writeString(_iter1385); } oprot.writeListEnd(); } @@ -147710,9 +147710,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1378 : struct.success) + for (String _iter1386 : struct.success) { - oprot.writeString(_iter1378); + oprot.writeString(_iter1386); } } } @@ -147727,13 +147727,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1379.size); - String _elem1380; - for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) + org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1387.size); + String _elem1388; + for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) { - _elem1380 = iprot.readString(); - struct.success.add(_elem1380); + _elem1388 = iprot.readString(); + struct.success.add(_elem1388); } } struct.setSuccessIsSet(true); @@ -151788,13 +151788,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); - struct.success = new ArrayList(_list1382.size); - String _elem1383; - for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) + org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); + struct.success = new ArrayList(_list1390.size); + String _elem1391; + for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) { - _elem1383 = iprot.readString(); - struct.success.add(_elem1383); + _elem1391 = iprot.readString(); + struct.success.add(_elem1391); } iprot.readListEnd(); } @@ -151829,9 +151829,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1385 : struct.success) + for (String _iter1393 : struct.success) { - oprot.writeString(_iter1385); + oprot.writeString(_iter1393); } oprot.writeListEnd(); } @@ -151870,9 +151870,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1386 : struct.success) + for (String _iter1394 : struct.success) { - oprot.writeString(_iter1386); + oprot.writeString(_iter1394); } } } @@ -151887,13 +151887,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1387.size); - String _elem1388; - for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1395.size); + String _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1388 = iprot.readString(); - struct.success.add(_elem1388); + _elem1396 = iprot.readString(); + struct.success.add(_elem1396); } } struct.setSuccessIsSet(true); @@ -155184,14 +155184,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - Role _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); + struct.success = new ArrayList(_list1398.size); + Role _elem1399; + for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) { - _elem1391 = new Role(); - _elem1391.read(iprot); - struct.success.add(_elem1391); + _elem1399 = new Role(); + _elem1399.read(iprot); + struct.success.add(_elem1399); } iprot.readListEnd(); } @@ -155226,9 +155226,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter1393 : struct.success) + for (Role _iter1401 : struct.success) { - _iter1393.write(oprot); + _iter1401.write(oprot); } oprot.writeListEnd(); } @@ -155267,9 +155267,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1394 : struct.success) + for (Role _iter1402 : struct.success) { - _iter1394.write(oprot); + _iter1402.write(oprot); } } } @@ -155284,14 +155284,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1395.size); - Role _elem1396; - for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) + org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1403.size); + Role _elem1404; + for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) { - _elem1396 = new Role(); - _elem1396.read(iprot); - struct.success.add(_elem1396); + _elem1404 = new Role(); + _elem1404.read(iprot); + struct.success.add(_elem1404); } } struct.setSuccessIsSet(true); @@ -158296,13 +158296,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1406.size); + String _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = iprot.readString(); - struct.group_names.add(_elem1399); + _elem1407 = iprot.readString(); + struct.group_names.add(_elem1407); } iprot.readListEnd(); } @@ -158338,9 +158338,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1401 : struct.group_names) + for (String _iter1409 : struct.group_names) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1409); } oprot.writeListEnd(); } @@ -158383,9 +158383,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1402 : struct.group_names) + for (String _iter1410 : struct.group_names) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1410); } } } @@ -158406,13 +158406,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1411.size); + String _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1404 = iprot.readString(); - struct.group_names.add(_elem1404); + _elem1412 = iprot.readString(); + struct.group_names.add(_elem1412); } } struct.setGroup_namesIsSet(true); @@ -159870,14 +159870,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - HiveObjectPrivilege _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + HiveObjectPrivilege _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = new HiveObjectPrivilege(); - _elem1407.read(iprot); - struct.success.add(_elem1407); + _elem1415 = new HiveObjectPrivilege(); + _elem1415.read(iprot); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -159912,9 +159912,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter1409 : struct.success) + for (HiveObjectPrivilege _iter1417 : struct.success) { - _iter1409.write(oprot); + _iter1417.write(oprot); } oprot.writeListEnd(); } @@ -159953,9 +159953,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1410 : struct.success) + for (HiveObjectPrivilege _iter1418 : struct.success) { - _iter1410.write(oprot); + _iter1418.write(oprot); } } } @@ -159970,14 +159970,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - HiveObjectPrivilege _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + HiveObjectPrivilege _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = new HiveObjectPrivilege(); - _elem1412.read(iprot); - struct.success.add(_elem1412); + _elem1420 = new HiveObjectPrivilege(); + _elem1420.read(iprot); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -162879,13 +162879,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1422.size); + String _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = iprot.readString(); - struct.group_names.add(_elem1415); + _elem1423 = iprot.readString(); + struct.group_names.add(_elem1423); } iprot.readListEnd(); } @@ -162916,9 +162916,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1417 : struct.group_names) + for (String _iter1425 : struct.group_names) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1425); } oprot.writeListEnd(); } @@ -162955,9 +162955,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1418 : struct.group_names) + for (String _iter1426 : struct.group_names) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1426); } } } @@ -162973,13 +162973,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1427.size); + String _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = iprot.readString(); - struct.group_names.add(_elem1420); + _elem1428 = iprot.readString(); + struct.group_names.add(_elem1428); } } struct.setGroup_namesIsSet(true); @@ -163382,13 +163382,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + String _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = iprot.readString(); - struct.success.add(_elem1423); + _elem1431 = iprot.readString(); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -163423,9 +163423,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1425 : struct.success) + for (String _iter1433 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -163464,9 +163464,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1434 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1434); } } } @@ -163481,13 +163481,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - String _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + String _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = iprot.readString(); - struct.success.add(_elem1428); + _elem1436 = iprot.readString(); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -168778,13 +168778,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = iprot.readString(); - struct.success.add(_elem1431); + _elem1439 = iprot.readString(); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -168810,9 +168810,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1433 : struct.success) + for (String _iter1441 : struct.success) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -168843,9 +168843,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1434 : struct.success) + for (String _iter1442 : struct.success) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -168857,13 +168857,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.success.add(_elem1436); + _elem1444 = iprot.readString(); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -171893,13 +171893,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + String _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = iprot.readString(); - struct.success.add(_elem1439); + _elem1447 = iprot.readString(); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -171925,9 +171925,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1441 : struct.success) + for (String _iter1449 : struct.success) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1449); } oprot.writeListEnd(); } @@ -171958,9 +171958,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1442 : struct.success) + for (String _iter1450 : struct.success) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1450); } } } @@ -171972,13 +171972,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + String _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = iprot.readString(); - struct.success.add(_elem1444); + _elem1452 = iprot.readString(); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -219552,14 +219552,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - SchemaVersion _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.success = new ArrayList(_list1454.size); + SchemaVersion _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = new SchemaVersion(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1455 = new SchemaVersion(); + _elem1455.read(iprot); + struct.success.add(_elem1455); } iprot.readListEnd(); } @@ -219603,9 +219603,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1449 : struct.success) + for (SchemaVersion _iter1457 : struct.success) { - _iter1449.write(oprot); + _iter1457.write(oprot); } oprot.writeListEnd(); } @@ -219652,9 +219652,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1450 : struct.success) + for (SchemaVersion _iter1458 : struct.success) { - _iter1450.write(oprot); + _iter1458.write(oprot); } } } @@ -219672,14 +219672,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - SchemaVersion _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1459.size); + SchemaVersion _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = new SchemaVersion(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1460 = new SchemaVersion(); + _elem1460.read(iprot); + struct.success.add(_elem1460); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 2fc0e00d6c..4b23420db5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); - struct.pools = new ArrayList(_list800.size); - WMPool _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.pools = new ArrayList(_list808.size); + WMPool _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = new WMPool(); - _elem801.read(iprot); - struct.pools.add(_elem801); + _elem809 = new WMPool(); + _elem809.read(iprot); + struct.pools.add(_elem809); } iprot.readListEnd(); } @@ -774,14 +774,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list803 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list803.size); - WMMapping _elem804; - for (int _i805 = 0; _i805 < _list803.size; ++_i805) + org.apache.thrift.protocol.TList _list811 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list811.size); + WMMapping _elem812; + for (int _i813 = 0; _i813 < _list811.size; ++_i813) { - _elem804 = new WMMapping(); - _elem804.read(iprot); - struct.mappings.add(_elem804); + _elem812 = new WMMapping(); + _elem812.read(iprot); + struct.mappings.add(_elem812); } iprot.readListEnd(); } @@ -793,14 +793,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list806 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list806.size); - WMTrigger _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list814.size); + WMTrigger _elem815; + for (int _i816 = 0; _i816 < _list814.size; ++_i816) { - _elem807 = new WMTrigger(); - _elem807.read(iprot); - struct.triggers.add(_elem807); + _elem815 = new WMTrigger(); + _elem815.read(iprot); + struct.triggers.add(_elem815); } iprot.readListEnd(); } @@ -812,14 +812,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list809 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list809.size); - WMPoolTrigger _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list817 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list817.size); + WMPoolTrigger _elem818; + for (int _i819 = 0; _i819 < _list817.size; ++_i819) { - _elem810 = new WMPoolTrigger(); - _elem810.read(iprot); - struct.poolTriggers.add(_elem810); + _elem818 = new WMPoolTrigger(); + _elem818.read(iprot); + struct.poolTriggers.add(_elem818); } iprot.readListEnd(); } @@ -850,9 +850,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter812 : struct.pools) + for (WMPool _iter820 : struct.pools) { - _iter812.write(oprot); + _iter820.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter813 : struct.mappings) + for (WMMapping _iter821 : struct.mappings) { - _iter813.write(oprot); + _iter821.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter814 : struct.triggers) + for (WMTrigger _iter822 : struct.triggers) { - _iter814.write(oprot); + _iter822.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter815 : struct.poolTriggers) + for (WMPoolTrigger _iter823 : struct.poolTriggers) { - _iter815.write(oprot); + _iter823.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter816 : struct.pools) + for (WMPool _iter824 : struct.pools) { - _iter816.write(oprot); + _iter824.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter817 : struct.mappings) + for (WMMapping _iter825 : struct.mappings) { - _iter817.write(oprot); + _iter825.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter818 : struct.triggers) + for (WMTrigger _iter826 : struct.triggers) { - _iter818.write(oprot); + _iter826.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter819 : struct.poolTriggers) + for (WMPoolTrigger _iter827 : struct.poolTriggers) { - _iter819.write(oprot); + _iter827.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list820 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list820.size); - WMPool _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list828 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list828.size); + WMPool _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem821 = new WMPool(); - _elem821.read(iprot); - struct.pools.add(_elem821); + _elem829 = new WMPool(); + _elem829.read(iprot); + struct.pools.add(_elem829); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list823 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list823.size); - WMMapping _elem824; - for (int _i825 = 0; _i825 < _list823.size; ++_i825) + org.apache.thrift.protocol.TList _list831 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list831.size); + WMMapping _elem832; + for (int _i833 = 0; _i833 < _list831.size; ++_i833) { - _elem824 = new WMMapping(); - _elem824.read(iprot); - struct.mappings.add(_elem824); + _elem832 = new WMMapping(); + _elem832.read(iprot); + struct.mappings.add(_elem832); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list826 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list826.size); - WMTrigger _elem827; - for (int _i828 = 0; _i828 < _list826.size; ++_i828) + org.apache.thrift.protocol.TList _list834 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list834.size); + WMTrigger _elem835; + for (int _i836 = 0; _i836 < _list834.size; ++_i836) { - _elem827 = new WMTrigger(); - _elem827.read(iprot); - struct.triggers.add(_elem827); + _elem835 = new WMTrigger(); + _elem835.read(iprot); + struct.triggers.add(_elem835); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list829.size); - WMPoolTrigger _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list837.size); + WMPoolTrigger _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem830 = new WMPoolTrigger(); - _elem830.read(iprot); - struct.poolTriggers.add(_elem830); + _elem838 = new WMPoolTrigger(); + _elem838.read(iprot); + struct.poolTriggers.add(_elem838); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index 0ddb2b2dff..0a759f0294 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list832.size); - WMResourcePlan _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list840.size); + WMResourcePlan _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = new WMResourcePlan(); - _elem833.read(iprot); - struct.resourcePlans.add(_elem833); + _elem841 = new WMResourcePlan(); + _elem841.read(iprot); + struct.resourcePlans.add(_elem841); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter835 : struct.resourcePlans) + for (WMResourcePlan _iter843 : struct.resourcePlans) { - _iter835.write(oprot); + _iter843.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter836 : struct.resourcePlans) + for (WMResourcePlan _iter844 : struct.resourcePlans) { - _iter836.write(oprot); + _iter844.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list837.size); - WMResourcePlan _elem838; - for (int _i839 = 0; _i839 < _list837.size; ++_i839) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list845.size); + WMResourcePlan _elem846; + for (int _i847 = 0; _i847 < _list845.size; ++_i847) { - _elem838 = new WMResourcePlan(); - _elem838.read(iprot); - struct.resourcePlans.add(_elem838); + _elem846 = new WMResourcePlan(); + _elem846.read(iprot); + struct.resourcePlans.add(_elem846); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 93fa2b7ee9..56286213f4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list856.size); - WMTrigger _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list864.size); + WMTrigger _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = new WMTrigger(); - _elem857.read(iprot); - struct.triggers.add(_elem857); + _elem865 = new WMTrigger(); + _elem865.read(iprot); + struct.triggers.add(_elem865); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter859 : struct.triggers) + for (WMTrigger _iter867 : struct.triggers) { - _iter859.write(oprot); + _iter867.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter860 : struct.triggers) + for (WMTrigger _iter868 : struct.triggers) { - _iter860.write(oprot); + _iter868.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list861.size); - WMTrigger _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list869.size); + WMTrigger _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = new WMTrigger(); - _elem862.read(iprot); - struct.triggers.add(_elem862); + _elem870 = new WMTrigger(); + _elem870.read(iprot); + struct.triggers.add(_elem870); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index 97d33c1da4..3dc92f6065 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); - struct.errors = new ArrayList(_list840.size); - String _elem841; - for (int _i842 = 0; _i842 < _list840.size; ++_i842) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.errors = new ArrayList(_list848.size); + String _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem841 = iprot.readString(); - struct.errors.add(_elem841); + _elem849 = iprot.readString(); + struct.errors.add(_elem849); } iprot.readListEnd(); } @@ -459,13 +459,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list843 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list843.size); - String _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list851 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list851.size); + String _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem844 = iprot.readString(); - struct.warnings.add(_elem844); + _elem852 = iprot.readString(); + struct.warnings.add(_elem852); } iprot.readListEnd(); } @@ -492,9 +492,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (String _iter846 : struct.errors) + for (String _iter854 : struct.errors) { - oprot.writeString(_iter846); + oprot.writeString(_iter854); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (String _iter847 : struct.warnings) + for (String _iter855 : struct.warnings) { - oprot.writeString(_iter847); + oprot.writeString(_iter855); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter848 : struct.errors) + for (String _iter856 : struct.errors) { - oprot.writeString(_iter848); + oprot.writeString(_iter856); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter849 : struct.warnings) + for (String _iter857 : struct.warnings) { - oprot.writeString(_iter849); + oprot.writeString(_iter857); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list850 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list850.size); - String _elem851; - for (int _i852 = 0; _i852 < _list850.size; ++_i852) + org.apache.thrift.protocol.TList _list858 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list858.size); + String _elem859; + for (int _i860 = 0; _i860 < _list858.size; ++_i860) { - _elem851 = iprot.readString(); - struct.errors.add(_elem851); + _elem859 = iprot.readString(); + struct.errors.add(_elem859); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list853.size); - String _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list861.size); + String _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = iprot.readString(); - struct.warnings.add(_elem854); + _elem862 = iprot.readString(); + struct.warnings.add(_elem862); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index efe693a65e..81285c316d 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -13660,14 +13660,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->success []= $elem783; + $elem790 = null; + $xfer += $input->readString($elem790); + $this->success []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -13703,9 +13703,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter784) + foreach ($this->success as $iter791) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter791); } } $output->writeListEnd(); @@ -13836,14 +13836,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size792 = 0; + $_etype795 = 0; + $xfer += $input->readListBegin($_etype795, $_size792); + for ($_i796 = 0; $_i796 < $_size792; ++$_i796) { - $elem790 = null; - $xfer += $input->readString($elem790); - $this->success []= $elem790; + $elem797 = null; + $xfer += $input->readString($elem797); + $this->success []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -13879,9 +13879,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter791) + foreach ($this->success as $iter798) { - $xfer += $output->writeString($iter791); + $xfer += $output->writeString($iter798); } } $output->writeListEnd(); @@ -14882,18 +14882,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size792 = 0; - $_ktype793 = 0; - $_vtype794 = 0; - $xfer += $input->readMapBegin($_ktype793, $_vtype794, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size799 = 0; + $_ktype800 = 0; + $_vtype801 = 0; + $xfer += $input->readMapBegin($_ktype800, $_vtype801, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $key797 = ''; - $val798 = new \metastore\Type(); - $xfer += $input->readString($key797); - $val798 = new \metastore\Type(); - $xfer += $val798->read($input); - $this->success[$key797] = $val798; + $key804 = ''; + $val805 = new \metastore\Type(); + $xfer += $input->readString($key804); + $val805 = new \metastore\Type(); + $xfer += $val805->read($input); + $this->success[$key804] = $val805; } $xfer += $input->readMapEnd(); } else { @@ -14929,10 +14929,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter799 => $viter800) + foreach ($this->success as $kiter806 => $viter807) { - $xfer += $output->writeString($kiter799); - $xfer += $viter800->write($output); + $xfer += $output->writeString($kiter806); + $xfer += $viter807->write($output); } } $output->writeMapEnd(); @@ -15136,15 +15136,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size801 = 0; - $_etype804 = 0; - $xfer += $input->readListBegin($_etype804, $_size801); - for ($_i805 = 0; $_i805 < $_size801; ++$_i805) + $_size808 = 0; + $_etype811 = 0; + $xfer += $input->readListBegin($_etype811, $_size808); + for ($_i812 = 0; $_i812 < $_size808; ++$_i812) { - $elem806 = null; - $elem806 = new \metastore\FieldSchema(); - $xfer += $elem806->read($input); - $this->success []= $elem806; + $elem813 = null; + $elem813 = new \metastore\FieldSchema(); + $xfer += $elem813->read($input); + $this->success []= $elem813; } $xfer += $input->readListEnd(); } else { @@ -15196,9 +15196,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter807) + foreach ($this->success as $iter814) { - $xfer += $iter807->write($output); + $xfer += $iter814->write($output); } } $output->writeListEnd(); @@ -15440,15 +15440,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size808 = 0; - $_etype811 = 0; - $xfer += $input->readListBegin($_etype811, $_size808); - for ($_i812 = 0; $_i812 < $_size808; ++$_i812) + $_size815 = 0; + $_etype818 = 0; + $xfer += $input->readListBegin($_etype818, $_size815); + for ($_i819 = 0; $_i819 < $_size815; ++$_i819) { - $elem813 = null; - $elem813 = new \metastore\FieldSchema(); - $xfer += $elem813->read($input); - $this->success []= $elem813; + $elem820 = null; + $elem820 = new \metastore\FieldSchema(); + $xfer += $elem820->read($input); + $this->success []= $elem820; } $xfer += $input->readListEnd(); } else { @@ -15500,9 +15500,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter814) + foreach ($this->success as $iter821) { - $xfer += $iter814->write($output); + $xfer += $iter821->write($output); } } $output->writeListEnd(); @@ -15716,15 +15716,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size815 = 0; - $_etype818 = 0; - $xfer += $input->readListBegin($_etype818, $_size815); - for ($_i819 = 0; $_i819 < $_size815; ++$_i819) + $_size822 = 0; + $_etype825 = 0; + $xfer += $input->readListBegin($_etype825, $_size822); + for ($_i826 = 0; $_i826 < $_size822; ++$_i826) { - $elem820 = null; - $elem820 = new \metastore\FieldSchema(); - $xfer += $elem820->read($input); - $this->success []= $elem820; + $elem827 = null; + $elem827 = new \metastore\FieldSchema(); + $xfer += $elem827->read($input); + $this->success []= $elem827; } $xfer += $input->readListEnd(); } else { @@ -15776,9 +15776,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter821) + foreach ($this->success as $iter828) { - $xfer += $iter821->write($output); + $xfer += $iter828->write($output); } } $output->writeListEnd(); @@ -16020,15 +16020,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size822 = 0; - $_etype825 = 0; - $xfer += $input->readListBegin($_etype825, $_size822); - for ($_i826 = 0; $_i826 < $_size822; ++$_i826) + $_size829 = 0; + $_etype832 = 0; + $xfer += $input->readListBegin($_etype832, $_size829); + for ($_i833 = 0; $_i833 < $_size829; ++$_i833) { - $elem827 = null; - $elem827 = new \metastore\FieldSchema(); - $xfer += $elem827->read($input); - $this->success []= $elem827; + $elem834 = null; + $elem834 = new \metastore\FieldSchema(); + $xfer += $elem834->read($input); + $this->success []= $elem834; } $xfer += $input->readListEnd(); } else { @@ -16080,9 +16080,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter828) + foreach ($this->success as $iter835) { - $xfer += $iter828->write($output); + $xfer += $iter835->write($output); } } $output->writeListEnd(); @@ -16738,15 +16738,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size829 = 0; - $_etype832 = 0; - $xfer += $input->readListBegin($_etype832, $_size829); - for ($_i833 = 0; $_i833 < $_size829; ++$_i833) + $_size836 = 0; + $_etype839 = 0; + $xfer += $input->readListBegin($_etype839, $_size836); + for ($_i840 = 0; $_i840 < $_size836; ++$_i840) { - $elem834 = null; - $elem834 = new \metastore\SQLPrimaryKey(); - $xfer += $elem834->read($input); - $this->primaryKeys []= $elem834; + $elem841 = null; + $elem841 = new \metastore\SQLPrimaryKey(); + $xfer += $elem841->read($input); + $this->primaryKeys []= $elem841; } $xfer += $input->readListEnd(); } else { @@ -16756,15 +16756,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size835 = 0; - $_etype838 = 0; - $xfer += $input->readListBegin($_etype838, $_size835); - for ($_i839 = 0; $_i839 < $_size835; ++$_i839) + $_size842 = 0; + $_etype845 = 0; + $xfer += $input->readListBegin($_etype845, $_size842); + for ($_i846 = 0; $_i846 < $_size842; ++$_i846) { - $elem840 = null; - $elem840 = new \metastore\SQLForeignKey(); - $xfer += $elem840->read($input); - $this->foreignKeys []= $elem840; + $elem847 = null; + $elem847 = new \metastore\SQLForeignKey(); + $xfer += $elem847->read($input); + $this->foreignKeys []= $elem847; } $xfer += $input->readListEnd(); } else { @@ -16774,15 +16774,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size848 = 0; + $_etype851 = 0; + $xfer += $input->readListBegin($_etype851, $_size848); + for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { - $elem846 = null; - $elem846 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem846->read($input); - $this->uniqueConstraints []= $elem846; + $elem853 = null; + $elem853 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem853->read($input); + $this->uniqueConstraints []= $elem853; } $xfer += $input->readListEnd(); } else { @@ -16792,15 +16792,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size854 = 0; + $_etype857 = 0; + $xfer += $input->readListBegin($_etype857, $_size854); + for ($_i858 = 0; $_i858 < $_size854; ++$_i858) { - $elem852 = null; - $elem852 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem852->read($input); - $this->notNullConstraints []= $elem852; + $elem859 = null; + $elem859 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem859->read($input); + $this->notNullConstraints []= $elem859; } $xfer += $input->readListEnd(); } else { @@ -16810,15 +16810,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size853 = 0; - $_etype856 = 0; - $xfer += $input->readListBegin($_etype856, $_size853); - for ($_i857 = 0; $_i857 < $_size853; ++$_i857) + $_size860 = 0; + $_etype863 = 0; + $xfer += $input->readListBegin($_etype863, $_size860); + for ($_i864 = 0; $_i864 < $_size860; ++$_i864) { - $elem858 = null; - $elem858 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem858->read($input); - $this->defaultConstraints []= $elem858; + $elem865 = null; + $elem865 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem865->read($input); + $this->defaultConstraints []= $elem865; } $xfer += $input->readListEnd(); } else { @@ -16854,9 +16854,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter859) + foreach ($this->primaryKeys as $iter866) { - $xfer += $iter859->write($output); + $xfer += $iter866->write($output); } } $output->writeListEnd(); @@ -16871,9 +16871,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter860) + foreach ($this->foreignKeys as $iter867) { - $xfer += $iter860->write($output); + $xfer += $iter867->write($output); } } $output->writeListEnd(); @@ -16888,9 +16888,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter861) + foreach ($this->uniqueConstraints as $iter868) { - $xfer += $iter861->write($output); + $xfer += $iter868->write($output); } } $output->writeListEnd(); @@ -16905,9 +16905,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter862) + foreach ($this->notNullConstraints as $iter869) { - $xfer += $iter862->write($output); + $xfer += $iter869->write($output); } } $output->writeListEnd(); @@ -16922,9 +16922,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter863) + foreach ($this->defaultConstraints as $iter870) { - $xfer += $iter863->write($output); + $xfer += $iter870->write($output); } } $output->writeListEnd(); @@ -18742,14 +18742,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { - $elem869 = null; - $xfer += $input->readString($elem869); - $this->partNames []= $elem869; + $elem876 = null; + $xfer += $input->readString($elem876); + $this->partNames []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -18787,9 +18787,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter870) + foreach ($this->partNames as $iter877) { - $xfer += $output->writeString($iter870); + $xfer += $output->writeString($iter877); } } $output->writeListEnd(); @@ -19040,14 +19040,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size871 = 0; - $_etype874 = 0; - $xfer += $input->readListBegin($_etype874, $_size871); - for ($_i875 = 0; $_i875 < $_size871; ++$_i875) + $_size878 = 0; + $_etype881 = 0; + $xfer += $input->readListBegin($_etype881, $_size878); + for ($_i882 = 0; $_i882 < $_size878; ++$_i882) { - $elem876 = null; - $xfer += $input->readString($elem876); - $this->success []= $elem876; + $elem883 = null; + $xfer += $input->readString($elem883); + $this->success []= $elem883; } $xfer += $input->readListEnd(); } else { @@ -19083,9 +19083,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter877) + foreach ($this->success as $iter884) { - $xfer += $output->writeString($iter877); + $xfer += $output->writeString($iter884); } } $output->writeListEnd(); @@ -19287,14 +19287,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size878 = 0; - $_etype881 = 0; - $xfer += $input->readListBegin($_etype881, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size885 = 0; + $_etype888 = 0; + $xfer += $input->readListBegin($_etype888, $_size885); + for ($_i889 = 0; $_i889 < $_size885; ++$_i889) { - $elem883 = null; - $xfer += $input->readString($elem883); - $this->success []= $elem883; + $elem890 = null; + $xfer += $input->readString($elem890); + $this->success []= $elem890; } $xfer += $input->readListEnd(); } else { @@ -19330,9 +19330,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter884) + foreach ($this->success as $iter891) { - $xfer += $output->writeString($iter884); + $xfer += $output->writeString($iter891); } } $output->writeListEnd(); @@ -19488,14 +19488,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size892 = 0; + $_etype895 = 0; + $xfer += $input->readListBegin($_etype895, $_size892); + for ($_i896 = 0; $_i896 < $_size892; ++$_i896) { - $elem890 = null; - $xfer += $input->readString($elem890); - $this->success []= $elem890; + $elem897 = null; + $xfer += $input->readString($elem897); + $this->success []= $elem897; } $xfer += $input->readListEnd(); } else { @@ -19531,9 +19531,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter891) + foreach ($this->success as $iter898) { - $xfer += $output->writeString($iter891); + $xfer += $output->writeString($iter898); } } $output->writeListEnd(); @@ -19638,14 +19638,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size899 = 0; + $_etype902 = 0; + $xfer += $input->readListBegin($_etype902, $_size899); + for ($_i903 = 0; $_i903 < $_size899; ++$_i903) { - $elem897 = null; - $xfer += $input->readString($elem897); - $this->tbl_types []= $elem897; + $elem904 = null; + $xfer += $input->readString($elem904); + $this->tbl_types []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -19683,9 +19683,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter898) + foreach ($this->tbl_types as $iter905) { - $xfer += $output->writeString($iter898); + $xfer += $output->writeString($iter905); } } $output->writeListEnd(); @@ -19762,15 +19762,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size906 = 0; + $_etype909 = 0; + $xfer += $input->readListBegin($_etype909, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { - $elem904 = null; - $elem904 = new \metastore\TableMeta(); - $xfer += $elem904->read($input); - $this->success []= $elem904; + $elem911 = null; + $elem911 = new \metastore\TableMeta(); + $xfer += $elem911->read($input); + $this->success []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -19806,9 +19806,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter905) + foreach ($this->success as $iter912) { - $xfer += $iter905->write($output); + $xfer += $iter912->write($output); } } $output->writeListEnd(); @@ -19964,14 +19964,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->success []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -20007,9 +20007,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter919) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -20324,14 +20324,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size920 = 0; + $_etype923 = 0; + $xfer += $input->readListBegin($_etype923, $_size920); + for ($_i924 = 0; $_i924 < $_size920; ++$_i924) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->tbl_names []= $elem918; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->tbl_names []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -20364,9 +20364,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter919) + foreach ($this->tbl_names as $iter926) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); @@ -20431,15 +20431,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size927 = 0; + $_etype930 = 0; + $xfer += $input->readListBegin($_etype930, $_size927); + for ($_i931 = 0; $_i931 < $_size927; ++$_i931) { - $elem925 = null; - $elem925 = new \metastore\Table(); - $xfer += $elem925->read($input); - $this->success []= $elem925; + $elem932 = null; + $elem932 = new \metastore\Table(); + $xfer += $elem932->read($input); + $this->success []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -20467,9 +20467,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter933) { - $xfer += $iter926->write($output); + $xfer += $iter933->write($output); } } $output->writeListEnd(); @@ -20996,14 +20996,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->tbl_names []= $elem932; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->tbl_names []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -21036,9 +21036,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter933) + foreach ($this->tbl_names as $iter940) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -21143,18 +21143,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size934 = 0; - $_ktype935 = 0; - $_vtype936 = 0; - $xfer += $input->readMapBegin($_ktype935, $_vtype936, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size941 = 0; + $_ktype942 = 0; + $_vtype943 = 0; + $xfer += $input->readMapBegin($_ktype942, $_vtype943, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $key939 = ''; - $val940 = new \metastore\Materialization(); - $xfer += $input->readString($key939); - $val940 = new \metastore\Materialization(); - $xfer += $val940->read($input); - $this->success[$key939] = $val940; + $key946 = ''; + $val947 = new \metastore\Materialization(); + $xfer += $input->readString($key946); + $val947 = new \metastore\Materialization(); + $xfer += $val947->read($input); + $this->success[$key946] = $val947; } $xfer += $input->readMapEnd(); } else { @@ -21206,10 +21206,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter941 => $viter942) + foreach ($this->success as $kiter948 => $viter949) { - $xfer += $output->writeString($kiter941); - $xfer += $viter942->write($output); + $xfer += $output->writeString($kiter948); + $xfer += $viter949->write($output); } } $output->writeMapEnd(); @@ -21698,14 +21698,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size943 = 0; - $_etype946 = 0; - $xfer += $input->readListBegin($_etype946, $_size943); - for ($_i947 = 0; $_i947 < $_size943; ++$_i947) + $_size950 = 0; + $_etype953 = 0; + $xfer += $input->readListBegin($_etype953, $_size950); + for ($_i954 = 0; $_i954 < $_size950; ++$_i954) { - $elem948 = null; - $xfer += $input->readString($elem948); - $this->success []= $elem948; + $elem955 = null; + $xfer += $input->readString($elem955); + $this->success []= $elem955; } $xfer += $input->readListEnd(); } else { @@ -21757,9 +21757,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter956) { - $xfer += $output->writeString($iter949); + $xfer += $output->writeString($iter956); } } $output->writeListEnd(); @@ -23072,15 +23072,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size950 = 0; - $_etype953 = 0; - $xfer += $input->readListBegin($_etype953, $_size950); - for ($_i954 = 0; $_i954 < $_size950; ++$_i954) + $_size957 = 0; + $_etype960 = 0; + $xfer += $input->readListBegin($_etype960, $_size957); + for ($_i961 = 0; $_i961 < $_size957; ++$_i961) { - $elem955 = null; - $elem955 = new \metastore\Partition(); - $xfer += $elem955->read($input); - $this->new_parts []= $elem955; + $elem962 = null; + $elem962 = new \metastore\Partition(); + $xfer += $elem962->read($input); + $this->new_parts []= $elem962; } $xfer += $input->readListEnd(); } else { @@ -23108,9 +23108,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter956) + foreach ($this->new_parts as $iter963) { - $xfer += $iter956->write($output); + $xfer += $iter963->write($output); } } $output->writeListEnd(); @@ -23325,15 +23325,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size957 = 0; - $_etype960 = 0; - $xfer += $input->readListBegin($_etype960, $_size957); - for ($_i961 = 0; $_i961 < $_size957; ++$_i961) + $_size964 = 0; + $_etype967 = 0; + $xfer += $input->readListBegin($_etype967, $_size964); + for ($_i968 = 0; $_i968 < $_size964; ++$_i968) { - $elem962 = null; - $elem962 = new \metastore\PartitionSpec(); - $xfer += $elem962->read($input); - $this->new_parts []= $elem962; + $elem969 = null; + $elem969 = new \metastore\PartitionSpec(); + $xfer += $elem969->read($input); + $this->new_parts []= $elem969; } $xfer += $input->readListEnd(); } else { @@ -23361,9 +23361,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter963) + foreach ($this->new_parts as $iter970) { - $xfer += $iter963->write($output); + $xfer += $iter970->write($output); } } $output->writeListEnd(); @@ -23613,14 +23613,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem969 = null; - $xfer += $input->readString($elem969); - $this->part_vals []= $elem969; + $elem976 = null; + $xfer += $input->readString($elem976); + $this->part_vals []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -23658,9 +23658,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter970) + foreach ($this->part_vals as $iter977) { - $xfer += $output->writeString($iter970); + $xfer += $output->writeString($iter977); } } $output->writeListEnd(); @@ -24162,14 +24162,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->part_vals []= $elem976; + $elem983 = null; + $xfer += $input->readString($elem983); + $this->part_vals []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -24215,9 +24215,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter977) + foreach ($this->part_vals as $iter984) { - $xfer += $output->writeString($iter977); + $xfer += $output->writeString($iter984); } } $output->writeListEnd(); @@ -25071,14 +25071,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->part_vals []= $elem983; + $elem990 = null; + $xfer += $input->readString($elem990); + $this->part_vals []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -25123,9 +25123,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter984) + foreach ($this->part_vals as $iter991) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter991); } } $output->writeListEnd(); @@ -25378,14 +25378,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->part_vals []= $elem990; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->part_vals []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -25438,9 +25438,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter991) + foreach ($this->part_vals as $iter998) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -26454,14 +26454,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size999 = 0; + $_etype1002 = 0; + $xfer += $input->readListBegin($_etype1002, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->part_vals []= $elem997; + $elem1004 = null; + $xfer += $input->readString($elem1004); + $this->part_vals []= $elem1004; } $xfer += $input->readListEnd(); } else { @@ -26499,9 +26499,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter998) + foreach ($this->part_vals as $iter1005) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter1005); } } $output->writeListEnd(); @@ -26743,17 +26743,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size999 = 0; - $_ktype1000 = 0; - $_vtype1001 = 0; - $xfer += $input->readMapBegin($_ktype1000, $_vtype1001, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size1006 = 0; + $_ktype1007 = 0; + $_vtype1008 = 0; + $xfer += $input->readMapBegin($_ktype1007, $_vtype1008, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $key1004 = ''; - $val1005 = ''; - $xfer += $input->readString($key1004); - $xfer += $input->readString($val1005); - $this->partitionSpecs[$key1004] = $val1005; + $key1011 = ''; + $val1012 = ''; + $xfer += $input->readString($key1011); + $xfer += $input->readString($val1012); + $this->partitionSpecs[$key1011] = $val1012; } $xfer += $input->readMapEnd(); } else { @@ -26809,10 +26809,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1006 => $viter1007) + foreach ($this->partitionSpecs as $kiter1013 => $viter1014) { - $xfer += $output->writeString($kiter1006); - $xfer += $output->writeString($viter1007); + $xfer += $output->writeString($kiter1013); + $xfer += $output->writeString($viter1014); } } $output->writeMapEnd(); @@ -27124,17 +27124,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1008 = 0; - $_ktype1009 = 0; - $_vtype1010 = 0; - $xfer += $input->readMapBegin($_ktype1009, $_vtype1010, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size1015 = 0; + $_ktype1016 = 0; + $_vtype1017 = 0; + $xfer += $input->readMapBegin($_ktype1016, $_vtype1017, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $key1013 = ''; - $val1014 = ''; - $xfer += $input->readString($key1013); - $xfer += $input->readString($val1014); - $this->partitionSpecs[$key1013] = $val1014; + $key1020 = ''; + $val1021 = ''; + $xfer += $input->readString($key1020); + $xfer += $input->readString($val1021); + $this->partitionSpecs[$key1020] = $val1021; } $xfer += $input->readMapEnd(); } else { @@ -27190,10 +27190,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1015 => $viter1016) + foreach ($this->partitionSpecs as $kiter1022 => $viter1023) { - $xfer += $output->writeString($kiter1015); - $xfer += $output->writeString($viter1016); + $xfer += $output->writeString($kiter1022); + $xfer += $output->writeString($viter1023); } } $output->writeMapEnd(); @@ -27326,15 +27326,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1017 = 0; - $_etype1020 = 0; - $xfer += $input->readListBegin($_etype1020, $_size1017); - for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $elem1022 = null; - $elem1022 = new \metastore\Partition(); - $xfer += $elem1022->read($input); - $this->success []= $elem1022; + $elem1029 = null; + $elem1029 = new \metastore\Partition(); + $xfer += $elem1029->read($input); + $this->success []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -27394,9 +27394,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1023) + foreach ($this->success as $iter1030) { - $xfer += $iter1023->write($output); + $xfer += $iter1030->write($output); } } $output->writeListEnd(); @@ -27542,14 +27542,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1029 = null; - $xfer += $input->readString($elem1029); - $this->part_vals []= $elem1029; + $elem1036 = null; + $xfer += $input->readString($elem1036); + $this->part_vals []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -27566,14 +27566,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1030 = 0; - $_etype1033 = 0; - $xfer += $input->readListBegin($_etype1033, $_size1030); - for ($_i1034 = 0; $_i1034 < $_size1030; ++$_i1034) + $_size1037 = 0; + $_etype1040 = 0; + $xfer += $input->readListBegin($_etype1040, $_size1037); + for ($_i1041 = 0; $_i1041 < $_size1037; ++$_i1041) { - $elem1035 = null; - $xfer += $input->readString($elem1035); - $this->group_names []= $elem1035; + $elem1042 = null; + $xfer += $input->readString($elem1042); + $this->group_names []= $elem1042; } $xfer += $input->readListEnd(); } else { @@ -27611,9 +27611,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1036) + foreach ($this->part_vals as $iter1043) { - $xfer += $output->writeString($iter1036); + $xfer += $output->writeString($iter1043); } } $output->writeListEnd(); @@ -27633,9 +27633,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1037) + foreach ($this->group_names as $iter1044) { - $xfer += $output->writeString($iter1037); + $xfer += $output->writeString($iter1044); } } $output->writeListEnd(); @@ -28226,15 +28226,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $elem1043 = new \metastore\Partition(); - $xfer += $elem1043->read($input); - $this->success []= $elem1043; + $elem1050 = null; + $elem1050 = new \metastore\Partition(); + $xfer += $elem1050->read($input); + $this->success []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -28278,9 +28278,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1051) { - $xfer += $iter1044->write($output); + $xfer += $iter1051->write($output); } } $output->writeListEnd(); @@ -28426,14 +28426,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $xfer += $input->readString($elem1050); - $this->group_names []= $elem1050; + $elem1057 = null; + $xfer += $input->readString($elem1057); + $this->group_names []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -28481,9 +28481,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1051) + foreach ($this->group_names as $iter1058) { - $xfer += $output->writeString($iter1051); + $xfer += $output->writeString($iter1058); } } $output->writeListEnd(); @@ -28572,15 +28572,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $elem1057 = new \metastore\Partition(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1064 = null; + $elem1064 = new \metastore\Partition(); + $xfer += $elem1064->read($input); + $this->success []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -28624,9 +28624,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1065) { - $xfer += $iter1058->write($output); + $xfer += $iter1065->write($output); } } $output->writeListEnd(); @@ -28846,15 +28846,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\PartitionSpec(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\PartitionSpec(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -28898,9 +28898,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -29119,14 +29119,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->success []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->success []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -29170,9 +29170,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -29503,14 +29503,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->part_vals []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -29555,9 +29555,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1079) + foreach ($this->part_vals as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -29651,15 +29651,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\Partition(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\Partition(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -29703,9 +29703,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -29852,14 +29852,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->part_vals []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -29883,14 +29883,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1093 = 0; - $_etype1096 = 0; - $xfer += $input->readListBegin($_etype1096, $_size1093); - for ($_i1097 = 0; $_i1097 < $_size1093; ++$_i1097) + $_size1100 = 0; + $_etype1103 = 0; + $xfer += $input->readListBegin($_etype1103, $_size1100); + for ($_i1104 = 0; $_i1104 < $_size1100; ++$_i1104) { - $elem1098 = null; - $xfer += $input->readString($elem1098); - $this->group_names []= $elem1098; + $elem1105 = null; + $xfer += $input->readString($elem1105); + $this->group_names []= $elem1105; } $xfer += $input->readListEnd(); } else { @@ -29928,9 +29928,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1099) + foreach ($this->part_vals as $iter1106) { - $xfer += $output->writeString($iter1099); + $xfer += $output->writeString($iter1106); } } $output->writeListEnd(); @@ -29955,9 +29955,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1100) + foreach ($this->group_names as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -30046,15 +30046,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $elem1106 = new \metastore\Partition(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1113 = null; + $elem1113 = new \metastore\Partition(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30098,9 +30098,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $iter1107->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -30221,14 +30221,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->part_vals []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -30273,9 +30273,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1121) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -30368,14 +30368,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->success []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->success []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -30419,9 +30419,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -30664,15 +30664,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1127 = null; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1134 = null; + $elem1134 = new \metastore\Partition(); + $xfer += $elem1134->read($input); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -30716,9 +30716,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1135) { - $xfer += $iter1128->write($output); + $xfer += $iter1135->write($output); } } $output->writeListEnd(); @@ -30961,15 +30961,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $elem1134 = new \metastore\PartitionSpec(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1141 = null; + $elem1141 = new \metastore\PartitionSpec(); + $xfer += $elem1141->read($input); + $this->success []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -31013,9 +31013,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1142) { - $xfer += $iter1135->write($output); + $xfer += $iter1142->write($output); } } $output->writeListEnd(); @@ -31581,14 +31581,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { - $elem1141 = null; - $xfer += $input->readString($elem1141); - $this->names []= $elem1141; + $elem1148 = null; + $xfer += $input->readString($elem1148); + $this->names []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -31626,9 +31626,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1142) + foreach ($this->names as $iter1149) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31717,15 +31717,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $elem1148 = new \metastore\Partition(); - $xfer += $elem1148->read($input); - $this->success []= $elem1148; + $elem1155 = null; + $elem1155 = new \metastore\Partition(); + $xfer += $elem1155->read($input); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31769,9 +31769,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $iter1149->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -32110,15 +32110,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1155 = null; - $elem1155 = new \metastore\Partition(); - $xfer += $elem1155->read($input); - $this->new_parts []= $elem1155; + $elem1162 = null; + $elem1162 = new \metastore\Partition(); + $xfer += $elem1162->read($input); + $this->new_parts []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -32156,9 +32156,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1156) + foreach ($this->new_parts as $iter1163) { - $xfer += $iter1156->write($output); + $xfer += $iter1163->write($output); } } $output->writeListEnd(); @@ -32373,15 +32373,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $elem1162 = new \metastore\Partition(); - $xfer += $elem1162->read($input); - $this->new_parts []= $elem1162; + $elem1169 = null; + $elem1169 = new \metastore\Partition(); + $xfer += $elem1169->read($input); + $this->new_parts []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -32427,9 +32427,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1163) + foreach ($this->new_parts as $iter1170) { - $xfer += $iter1163->write($output); + $xfer += $iter1170->write($output); } } $output->writeListEnd(); @@ -32907,14 +32907,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->part_vals []= $elem1169; + $elem1176 = null; + $xfer += $input->readString($elem1176); + $this->part_vals []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32960,9 +32960,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1170) + foreach ($this->part_vals as $iter1177) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1177); } } $output->writeListEnd(); @@ -33147,14 +33147,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $xfer += $input->readString($elem1176); - $this->part_vals []= $elem1176; + $elem1183 = null; + $xfer += $input->readString($elem1183); + $this->part_vals []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -33189,9 +33189,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1177) + foreach ($this->part_vals as $iter1184) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1184); } } $output->writeListEnd(); @@ -33645,14 +33645,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1183 = null; - $xfer += $input->readString($elem1183); - $this->success []= $elem1183; + $elem1190 = null; + $xfer += $input->readString($elem1190); + $this->success []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33688,9 +33688,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1191) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1191); } } $output->writeListEnd(); @@ -33850,17 +33850,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1185 = 0; - $_ktype1186 = 0; - $_vtype1187 = 0; - $xfer += $input->readMapBegin($_ktype1186, $_vtype1187, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1192 = 0; + $_ktype1193 = 0; + $_vtype1194 = 0; + $xfer += $input->readMapBegin($_ktype1193, $_vtype1194, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $key1190 = ''; - $val1191 = ''; - $xfer += $input->readString($key1190); - $xfer += $input->readString($val1191); - $this->success[$key1190] = $val1191; + $key1197 = ''; + $val1198 = ''; + $xfer += $input->readString($key1197); + $xfer += $input->readString($val1198); + $this->success[$key1197] = $val1198; } $xfer += $input->readMapEnd(); } else { @@ -33896,10 +33896,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1192 => $viter1193) + foreach ($this->success as $kiter1199 => $viter1200) { - $xfer += $output->writeString($kiter1192); - $xfer += $output->writeString($viter1193); + $xfer += $output->writeString($kiter1199); + $xfer += $output->writeString($viter1200); } } $output->writeMapEnd(); @@ -34019,17 +34019,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1194 = 0; - $_ktype1195 = 0; - $_vtype1196 = 0; - $xfer += $input->readMapBegin($_ktype1195, $_vtype1196, $_size1194); - for ($_i1198 = 0; $_i1198 < $_size1194; ++$_i1198) + $_size1201 = 0; + $_ktype1202 = 0; + $_vtype1203 = 0; + $xfer += $input->readMapBegin($_ktype1202, $_vtype1203, $_size1201); + for ($_i1205 = 0; $_i1205 < $_size1201; ++$_i1205) { - $key1199 = ''; - $val1200 = ''; - $xfer += $input->readString($key1199); - $xfer += $input->readString($val1200); - $this->part_vals[$key1199] = $val1200; + $key1206 = ''; + $val1207 = ''; + $xfer += $input->readString($key1206); + $xfer += $input->readString($val1207); + $this->part_vals[$key1206] = $val1207; } $xfer += $input->readMapEnd(); } else { @@ -34074,10 +34074,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1201 => $viter1202) + foreach ($this->part_vals as $kiter1208 => $viter1209) { - $xfer += $output->writeString($kiter1201); - $xfer += $output->writeString($viter1202); + $xfer += $output->writeString($kiter1208); + $xfer += $output->writeString($viter1209); } } $output->writeMapEnd(); @@ -34399,17 +34399,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1203 = 0; - $_ktype1204 = 0; - $_vtype1205 = 0; - $xfer += $input->readMapBegin($_ktype1204, $_vtype1205, $_size1203); - for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) + $_size1210 = 0; + $_ktype1211 = 0; + $_vtype1212 = 0; + $xfer += $input->readMapBegin($_ktype1211, $_vtype1212, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $key1208 = ''; - $val1209 = ''; - $xfer += $input->readString($key1208); - $xfer += $input->readString($val1209); - $this->part_vals[$key1208] = $val1209; + $key1215 = ''; + $val1216 = ''; + $xfer += $input->readString($key1215); + $xfer += $input->readString($val1216); + $this->part_vals[$key1215] = $val1216; } $xfer += $input->readMapEnd(); } else { @@ -34454,10 +34454,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1210 => $viter1211) + foreach ($this->part_vals as $kiter1217 => $viter1218) { - $xfer += $output->writeString($kiter1210); - $xfer += $output->writeString($viter1211); + $xfer += $output->writeString($kiter1217); + $xfer += $output->writeString($viter1218); } } $output->writeMapEnd(); @@ -39206,14 +39206,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1212 = 0; - $_etype1215 = 0; - $xfer += $input->readListBegin($_etype1215, $_size1212); - for ($_i1216 = 0; $_i1216 < $_size1212; ++$_i1216) + $_size1219 = 0; + $_etype1222 = 0; + $xfer += $input->readListBegin($_etype1222, $_size1219); + for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) { - $elem1217 = null; - $xfer += $input->readString($elem1217); - $this->success []= $elem1217; + $elem1224 = null; + $xfer += $input->readString($elem1224); + $this->success []= $elem1224; } $xfer += $input->readListEnd(); } else { @@ -39249,9 +39249,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1218) + foreach ($this->success as $iter1225) { - $xfer += $output->writeString($iter1218); + $xfer += $output->writeString($iter1225); } } $output->writeListEnd(); @@ -40120,14 +40120,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1219 = 0; - $_etype1222 = 0; - $xfer += $input->readListBegin($_etype1222, $_size1219); - for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) + $_size1226 = 0; + $_etype1229 = 0; + $xfer += $input->readListBegin($_etype1229, $_size1226); + for ($_i1230 = 0; $_i1230 < $_size1226; ++$_i1230) { - $elem1224 = null; - $xfer += $input->readString($elem1224); - $this->success []= $elem1224; + $elem1231 = null; + $xfer += $input->readString($elem1231); + $this->success []= $elem1231; } $xfer += $input->readListEnd(); } else { @@ -40163,9 +40163,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1225) + foreach ($this->success as $iter1232) { - $xfer += $output->writeString($iter1225); + $xfer += $output->writeString($iter1232); } } $output->writeListEnd(); @@ -40856,15 +40856,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1226 = 0; - $_etype1229 = 0; - $xfer += $input->readListBegin($_etype1229, $_size1226); - for ($_i1230 = 0; $_i1230 < $_size1226; ++$_i1230) + $_size1233 = 0; + $_etype1236 = 0; + $xfer += $input->readListBegin($_etype1236, $_size1233); + for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) { - $elem1231 = null; - $elem1231 = new \metastore\Role(); - $xfer += $elem1231->read($input); - $this->success []= $elem1231; + $elem1238 = null; + $elem1238 = new \metastore\Role(); + $xfer += $elem1238->read($input); + $this->success []= $elem1238; } $xfer += $input->readListEnd(); } else { @@ -40900,9 +40900,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1232) + foreach ($this->success as $iter1239) { - $xfer += $iter1232->write($output); + $xfer += $iter1239->write($output); } } $output->writeListEnd(); @@ -41564,14 +41564,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1233 = 0; - $_etype1236 = 0; - $xfer += $input->readListBegin($_etype1236, $_size1233); - for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) + $_size1240 = 0; + $_etype1243 = 0; + $xfer += $input->readListBegin($_etype1243, $_size1240); + for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) { - $elem1238 = null; - $xfer += $input->readString($elem1238); - $this->group_names []= $elem1238; + $elem1245 = null; + $xfer += $input->readString($elem1245); + $this->group_names []= $elem1245; } $xfer += $input->readListEnd(); } else { @@ -41612,9 +41612,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1239) + foreach ($this->group_names as $iter1246) { - $xfer += $output->writeString($iter1239); + $xfer += $output->writeString($iter1246); } } $output->writeListEnd(); @@ -41922,15 +41922,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1240 = 0; - $_etype1243 = 0; - $xfer += $input->readListBegin($_etype1243, $_size1240); - for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) + $_size1247 = 0; + $_etype1250 = 0; + $xfer += $input->readListBegin($_etype1250, $_size1247); + for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) { - $elem1245 = null; - $elem1245 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1245->read($input); - $this->success []= $elem1245; + $elem1252 = null; + $elem1252 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1252->read($input); + $this->success []= $elem1252; } $xfer += $input->readListEnd(); } else { @@ -41966,9 +41966,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1246) + foreach ($this->success as $iter1253) { - $xfer += $iter1246->write($output); + $xfer += $iter1253->write($output); } } $output->writeListEnd(); @@ -42600,14 +42600,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1247 = 0; - $_etype1250 = 0; - $xfer += $input->readListBegin($_etype1250, $_size1247); - for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) + $_size1254 = 0; + $_etype1257 = 0; + $xfer += $input->readListBegin($_etype1257, $_size1254); + for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) { - $elem1252 = null; - $xfer += $input->readString($elem1252); - $this->group_names []= $elem1252; + $elem1259 = null; + $xfer += $input->readString($elem1259); + $this->group_names []= $elem1259; } $xfer += $input->readListEnd(); } else { @@ -42640,9 +42640,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1253) + foreach ($this->group_names as $iter1260) { - $xfer += $output->writeString($iter1253); + $xfer += $output->writeString($iter1260); } } $output->writeListEnd(); @@ -42718,14 +42718,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1254 = 0; - $_etype1257 = 0; - $xfer += $input->readListBegin($_etype1257, $_size1254); - for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) + $_size1261 = 0; + $_etype1264 = 0; + $xfer += $input->readListBegin($_etype1264, $_size1261); + for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->success []= $elem1259; + $elem1266 = null; + $xfer += $input->readString($elem1266); + $this->success []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -42761,9 +42761,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1267) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1267); } } $output->writeListEnd(); @@ -43880,14 +43880,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->success []= $elem1266; + $elem1273 = null; + $xfer += $input->readString($elem1273); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -43915,9 +43915,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1274) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1274); } } $output->writeListEnd(); @@ -44556,14 +44556,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->success []= $elem1273; + $elem1280 = null; + $xfer += $input->readString($elem1280); + $this->success []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -44591,9 +44591,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1281) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1281); } } $output->writeListEnd(); @@ -55132,15 +55132,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1280 = null; - $elem1280 = new \metastore\SchemaVersion(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1287 = null; + $elem1287 = new \metastore\SchemaVersion(); + $xfer += $elem1287->read($input); + $this->success []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -55184,9 +55184,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1288) { - $xfer += $iter1281->write($output); + $xfer += $iter1288->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index 6e3ec622cc..91964c3615 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -14231,6 +14231,14 @@ class OpenTxnRequest { * @var string */ public $agentInfo = "Unknown"; + /** + * @var string + */ + public $replPolicy = null; + /** + * @var int[] + */ + public $replSrcTxnIds = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14251,6 +14259,18 @@ class OpenTxnRequest { 'var' => 'agentInfo', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'replSrcTxnIds', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), ); } if (is_array($vals)) { @@ -14266,6 +14286,12 @@ class OpenTxnRequest { if (isset($vals['agentInfo'])) { $this->agentInfo = $vals['agentInfo']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } + if (isset($vals['replSrcTxnIds'])) { + $this->replSrcTxnIds = $vals['replSrcTxnIds']; + } } } @@ -14316,6 +14342,30 @@ class OpenTxnRequest { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::LST) { + $this->replSrcTxnIds = array(); + $_size481 = 0; + $_etype484 = 0; + $xfer += $input->readListBegin($_etype484, $_size481); + for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + { + $elem486 = null; + $xfer += $input->readI64($elem486); + $this->replSrcTxnIds []= $elem486; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -14349,6 +14399,28 @@ class OpenTxnRequest { $xfer += $output->writeString($this->agentInfo); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 5); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } + if ($this->replSrcTxnIds !== null) { + if (!is_array($this->replSrcTxnIds)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('replSrcTxnIds', TType::LST, 6); + { + $output->writeListBegin(TType::I64, count($this->replSrcTxnIds)); + { + foreach ($this->replSrcTxnIds as $iter487) + { + $xfer += $output->writeI64($iter487); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -14406,14 +14478,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size481 = 0; - $_etype484 = 0; - $xfer += $input->readListBegin($_etype484, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size488 = 0; + $_etype491 = 0; + $xfer += $input->readListBegin($_etype491, $_size488); + for ($_i492 = 0; $_i492 < $_size488; ++$_i492) { - $elem486 = null; - $xfer += $input->readI64($elem486); - $this->txn_ids []= $elem486; + $elem493 = null; + $xfer += $input->readI64($elem493); + $this->txn_ids []= $elem493; } $xfer += $input->readListEnd(); } else { @@ -14441,9 +14513,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter487) + foreach ($this->txn_ids as $iter494) { - $xfer += $output->writeI64($iter487); + $xfer += $output->writeI64($iter494); } } $output->writeListEnd(); @@ -14464,6 +14536,10 @@ class AbortTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14472,12 +14548,19 @@ class AbortTxnRequest { 'var' => 'txnid', 'type' => TType::I64, ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { if (isset($vals['txnid'])) { $this->txnid = $vals['txnid']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } } } @@ -14507,6 +14590,13 @@ class AbortTxnRequest { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -14525,6 +14615,11 @@ class AbortTxnRequest { $xfer += $output->writeI64($this->txnid); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -14582,14 +14677,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $xfer += $input->readI64($elem493); - $this->txn_ids []= $elem493; + $elem500 = null; + $xfer += $input->readI64($elem500); + $this->txn_ids []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -14617,9 +14712,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter494) + foreach ($this->txn_ids as $iter501) { - $xfer += $output->writeI64($iter494); + $xfer += $output->writeI64($iter501); } } $output->writeListEnd(); @@ -14640,6 +14735,10 @@ class CommitTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14648,12 +14747,19 @@ class CommitTxnRequest { 'var' => 'txnid', 'type' => TType::I64, ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { if (isset($vals['txnid'])) { $this->txnid = $vals['txnid']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } } } @@ -14683,6 +14789,13 @@ class CommitTxnRequest { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -14701,6 +14814,11 @@ class CommitTxnRequest { $xfer += $output->writeI64($this->txnid); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -14769,14 +14887,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $xfer += $input->readString($elem500); - $this->fullTableNames []= $elem500; + $elem507 = null; + $xfer += $input->readString($elem507); + $this->fullTableNames []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -14811,9 +14929,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter501) + foreach ($this->fullTableNames as $iter508) { - $xfer += $output->writeString($iter501); + $xfer += $output->writeString($iter508); } } $output->writeListEnd(); @@ -14940,14 +15058,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $xfer += $input->readI64($elem507); - $this->invalidWriteIds []= $elem507; + $elem514 = null; + $xfer += $input->readI64($elem514); + $this->invalidWriteIds []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -14999,9 +15117,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter508) + foreach ($this->invalidWriteIds as $iter515) { - $xfer += $output->writeI64($iter508); + $xfer += $output->writeI64($iter515); } } $output->writeListEnd(); @@ -15076,15 +15194,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $elem514 = new \metastore\TableValidWriteIds(); - $xfer += $elem514->read($input); - $this->tblValidWriteIds []= $elem514; + $elem521 = null; + $elem521 = new \metastore\TableValidWriteIds(); + $xfer += $elem521->read($input); + $this->tblValidWriteIds []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -15112,9 +15230,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter515) + foreach ($this->tblValidWriteIds as $iter522) { - $xfer += $iter515->write($output); + $xfer += $iter522->write($output); } } $output->writeListEnd(); @@ -15200,14 +15318,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readI64($elem521); - $this->txnIds []= $elem521; + $elem528 = null; + $xfer += $input->readI64($elem528); + $this->txnIds []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -15249,9 +15367,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter522) + foreach ($this->txnIds as $iter529) { - $xfer += $output->writeI64($iter522); + $xfer += $output->writeI64($iter529); } } $output->writeListEnd(); @@ -15424,15 +15542,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $elem528 = new \metastore\TxnToWriteId(); - $xfer += $elem528->read($input); - $this->txnToWriteIds []= $elem528; + $elem535 = null; + $elem535 = new \metastore\TxnToWriteId(); + $xfer += $elem535->read($input); + $this->txnToWriteIds []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -15460,9 +15578,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter529) + foreach ($this->txnToWriteIds as $iter536) { - $xfer += $iter529->write($output); + $xfer += $iter536->write($output); } } $output->writeListEnd(); @@ -15807,15 +15925,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $elem535 = new \metastore\LockComponent(); - $xfer += $elem535->read($input); - $this->component []= $elem535; + $elem542 = null; + $elem542 = new \metastore\LockComponent(); + $xfer += $elem542->read($input); + $this->component []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -15871,9 +15989,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter536) + foreach ($this->component as $iter543) { - $xfer += $iter536->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -16816,15 +16934,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem542->read($input); - $this->locks []= $elem542; + $elem549 = null; + $elem549 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem549->read($input); + $this->locks []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16852,9 +16970,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter543) + foreach ($this->locks as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -17129,17 +17247,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readSetBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readSetBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readI64($elem549); - if (is_scalar($elem549)) { - $this->aborted[$elem549] = true; + $elem556 = null; + $xfer += $input->readI64($elem556); + if (is_scalar($elem556)) { + $this->aborted[$elem556] = true; } else { - $this->aborted []= $elem549; + $this->aborted []= $elem556; } } $xfer += $input->readSetEnd(); @@ -17150,17 +17268,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size550 = 0; - $_etype553 = 0; - $xfer += $input->readSetBegin($_etype553, $_size550); - for ($_i554 = 0; $_i554 < $_size550; ++$_i554) + $_size557 = 0; + $_etype560 = 0; + $xfer += $input->readSetBegin($_etype560, $_size557); + for ($_i561 = 0; $_i561 < $_size557; ++$_i561) { - $elem555 = null; - $xfer += $input->readI64($elem555); - if (is_scalar($elem555)) { - $this->nosuch[$elem555] = true; + $elem562 = null; + $xfer += $input->readI64($elem562); + if (is_scalar($elem562)) { + $this->nosuch[$elem562] = true; } else { - $this->nosuch []= $elem555; + $this->nosuch []= $elem562; } } $xfer += $input->readSetEnd(); @@ -17189,12 +17307,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter556 => $iter557) + foreach ($this->aborted as $iter563 => $iter564) { - if (is_scalar($iter557)) { - $xfer += $output->writeI64($iter556); + if (is_scalar($iter564)) { + $xfer += $output->writeI64($iter563); } else { - $xfer += $output->writeI64($iter557); + $xfer += $output->writeI64($iter564); } } } @@ -17210,12 +17328,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter558 => $iter559) + foreach ($this->nosuch as $iter565 => $iter566) { - if (is_scalar($iter559)) { - $xfer += $output->writeI64($iter558); + if (is_scalar($iter566)) { + $xfer += $output->writeI64($iter565); } else { - $xfer += $output->writeI64($iter559); + $xfer += $output->writeI64($iter566); } } } @@ -17374,17 +17492,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size560 = 0; - $_ktype561 = 0; - $_vtype562 = 0; - $xfer += $input->readMapBegin($_ktype561, $_vtype562, $_size560); - for ($_i564 = 0; $_i564 < $_size560; ++$_i564) + $_size567 = 0; + $_ktype568 = 0; + $_vtype569 = 0; + $xfer += $input->readMapBegin($_ktype568, $_vtype569, $_size567); + for ($_i571 = 0; $_i571 < $_size567; ++$_i571) { - $key565 = ''; - $val566 = ''; - $xfer += $input->readString($key565); - $xfer += $input->readString($val566); - $this->properties[$key565] = $val566; + $key572 = ''; + $val573 = ''; + $xfer += $input->readString($key572); + $xfer += $input->readString($val573); + $this->properties[$key572] = $val573; } $xfer += $input->readMapEnd(); } else { @@ -17437,10 +17555,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter567 => $viter568) + foreach ($this->properties as $kiter574 => $viter575) { - $xfer += $output->writeString($kiter567); - $xfer += $output->writeString($viter568); + $xfer += $output->writeString($kiter574); + $xfer += $output->writeString($viter575); } } $output->writeMapEnd(); @@ -18027,15 +18145,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size569 = 0; - $_etype572 = 0; - $xfer += $input->readListBegin($_etype572, $_size569); - for ($_i573 = 0; $_i573 < $_size569; ++$_i573) + $_size576 = 0; + $_etype579 = 0; + $xfer += $input->readListBegin($_etype579, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $elem574 = null; - $elem574 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem574->read($input); - $this->compacts []= $elem574; + $elem581 = null; + $elem581 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem581->read($input); + $this->compacts []= $elem581; } $xfer += $input->readListEnd(); } else { @@ -18063,9 +18181,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter575) + foreach ($this->compacts as $iter582) { - $xfer += $iter575->write($output); + $xfer += $iter582->write($output); } } $output->writeListEnd(); @@ -18212,14 +18330,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size576 = 0; - $_etype579 = 0; - $xfer += $input->readListBegin($_etype579, $_size576); - for ($_i580 = 0; $_i580 < $_size576; ++$_i580) + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) { - $elem581 = null; - $xfer += $input->readString($elem581); - $this->partitionnames []= $elem581; + $elem588 = null; + $xfer += $input->readString($elem588); + $this->partitionnames []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -18274,9 +18392,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter582) + foreach ($this->partitionnames as $iter589) { - $xfer += $output->writeString($iter582); + $xfer += $output->writeString($iter589); } } $output->writeListEnd(); @@ -18582,17 +18700,17 @@ class CreationMetadata { case 3: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readSetBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readSetBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem588 = null; - $xfer += $input->readString($elem588); - if (is_scalar($elem588)) { - $this->tablesUsed[$elem588] = true; + $elem595 = null; + $xfer += $input->readString($elem595); + if (is_scalar($elem595)) { + $this->tablesUsed[$elem595] = true; } else { - $this->tablesUsed []= $elem588; + $this->tablesUsed []= $elem595; } } $xfer += $input->readSetEnd(); @@ -18638,12 +18756,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter589 => $iter590) + foreach ($this->tablesUsed as $iter596 => $iter597) { - if (is_scalar($iter590)) { - $xfer += $output->writeString($iter589); + if (is_scalar($iter597)) { + $xfer += $output->writeString($iter596); } else { - $xfer += $output->writeString($iter590); + $xfer += $output->writeString($iter597); } } } @@ -19025,15 +19143,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size591 = 0; - $_etype594 = 0; - $xfer += $input->readListBegin($_etype594, $_size591); - for ($_i595 = 0; $_i595 < $_size591; ++$_i595) + $_size598 = 0; + $_etype601 = 0; + $xfer += $input->readListBegin($_etype601, $_size598); + for ($_i602 = 0; $_i602 < $_size598; ++$_i602) { - $elem596 = null; - $elem596 = new \metastore\NotificationEvent(); - $xfer += $elem596->read($input); - $this->events []= $elem596; + $elem603 = null; + $elem603 = new \metastore\NotificationEvent(); + $xfer += $elem603->read($input); + $this->events []= $elem603; } $xfer += $input->readListEnd(); } else { @@ -19061,9 +19179,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter597) + foreach ($this->events as $iter604) { - $xfer += $iter597->write($output); + $xfer += $iter604->write($output); } } $output->writeListEnd(); @@ -19408,14 +19526,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size598 = 0; - $_etype601 = 0; - $xfer += $input->readListBegin($_etype601, $_size598); - for ($_i602 = 0; $_i602 < $_size598; ++$_i602) + $_size605 = 0; + $_etype608 = 0; + $xfer += $input->readListBegin($_etype608, $_size605); + for ($_i609 = 0; $_i609 < $_size605; ++$_i609) { - $elem603 = null; - $xfer += $input->readString($elem603); - $this->filesAdded []= $elem603; + $elem610 = null; + $xfer += $input->readString($elem610); + $this->filesAdded []= $elem610; } $xfer += $input->readListEnd(); } else { @@ -19425,14 +19543,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->filesAddedChecksum []= $elem609; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->filesAddedChecksum []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -19465,9 +19583,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter610) + foreach ($this->filesAdded as $iter617) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -19482,9 +19600,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter611) + foreach ($this->filesAddedChecksum as $iter618) { - $xfer += $output->writeString($iter611); + $xfer += $output->writeString($iter618); } } $output->writeListEnd(); @@ -19702,14 +19820,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size612 = 0; - $_etype615 = 0; - $xfer += $input->readListBegin($_etype615, $_size612); - for ($_i616 = 0; $_i616 < $_size612; ++$_i616) + $_size619 = 0; + $_etype622 = 0; + $xfer += $input->readListBegin($_etype622, $_size619); + for ($_i623 = 0; $_i623 < $_size619; ++$_i623) { - $elem617 = null; - $xfer += $input->readString($elem617); - $this->partitionVals []= $elem617; + $elem624 = null; + $xfer += $input->readString($elem624); + $this->partitionVals []= $elem624; } $xfer += $input->readListEnd(); } else { @@ -19760,9 +19878,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter618) + foreach ($this->partitionVals as $iter625) { - $xfer += $output->writeString($iter618); + $xfer += $output->writeString($iter625); } } $output->writeListEnd(); @@ -19990,18 +20108,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size619 = 0; - $_ktype620 = 0; - $_vtype621 = 0; - $xfer += $input->readMapBegin($_ktype620, $_vtype621, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size626 = 0; + $_ktype627 = 0; + $_vtype628 = 0; + $xfer += $input->readMapBegin($_ktype627, $_vtype628, $_size626); + for ($_i630 = 0; $_i630 < $_size626; ++$_i630) { - $key624 = 0; - $val625 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key624); - $val625 = new \metastore\MetadataPpdResult(); - $xfer += $val625->read($input); - $this->metadata[$key624] = $val625; + $key631 = 0; + $val632 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key631); + $val632 = new \metastore\MetadataPpdResult(); + $xfer += $val632->read($input); + $this->metadata[$key631] = $val632; } $xfer += $input->readMapEnd(); } else { @@ -20036,10 +20154,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter626 => $viter627) + foreach ($this->metadata as $kiter633 => $viter634) { - $xfer += $output->writeI64($kiter626); - $xfer += $viter627->write($output); + $xfer += $output->writeI64($kiter633); + $xfer += $viter634->write($output); } } $output->writeMapEnd(); @@ -20141,14 +20259,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size628 = 0; - $_etype631 = 0; - $xfer += $input->readListBegin($_etype631, $_size628); - for ($_i632 = 0; $_i632 < $_size628; ++$_i632) + $_size635 = 0; + $_etype638 = 0; + $xfer += $input->readListBegin($_etype638, $_size635); + for ($_i639 = 0; $_i639 < $_size635; ++$_i639) { - $elem633 = null; - $xfer += $input->readI64($elem633); - $this->fileIds []= $elem633; + $elem640 = null; + $xfer += $input->readI64($elem640); + $this->fileIds []= $elem640; } $xfer += $input->readListEnd(); } else { @@ -20197,9 +20315,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter634) + foreach ($this->fileIds as $iter641) { - $xfer += $output->writeI64($iter634); + $xfer += $output->writeI64($iter641); } } $output->writeListEnd(); @@ -20293,17 +20411,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size635 = 0; - $_ktype636 = 0; - $_vtype637 = 0; - $xfer += $input->readMapBegin($_ktype636, $_vtype637, $_size635); - for ($_i639 = 0; $_i639 < $_size635; ++$_i639) + $_size642 = 0; + $_ktype643 = 0; + $_vtype644 = 0; + $xfer += $input->readMapBegin($_ktype643, $_vtype644, $_size642); + for ($_i646 = 0; $_i646 < $_size642; ++$_i646) { - $key640 = 0; - $val641 = ''; - $xfer += $input->readI64($key640); - $xfer += $input->readString($val641); - $this->metadata[$key640] = $val641; + $key647 = 0; + $val648 = ''; + $xfer += $input->readI64($key647); + $xfer += $input->readString($val648); + $this->metadata[$key647] = $val648; } $xfer += $input->readMapEnd(); } else { @@ -20338,10 +20456,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter642 => $viter643) + foreach ($this->metadata as $kiter649 => $viter650) { - $xfer += $output->writeI64($kiter642); - $xfer += $output->writeString($viter643); + $xfer += $output->writeI64($kiter649); + $xfer += $output->writeString($viter650); } } $output->writeMapEnd(); @@ -20410,14 +20528,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size644 = 0; - $_etype647 = 0; - $xfer += $input->readListBegin($_etype647, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_etype654 = 0; + $xfer += $input->readListBegin($_etype654, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $elem649 = null; - $xfer += $input->readI64($elem649); - $this->fileIds []= $elem649; + $elem656 = null; + $xfer += $input->readI64($elem656); + $this->fileIds []= $elem656; } $xfer += $input->readListEnd(); } else { @@ -20445,9 +20563,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter650) + foreach ($this->fileIds as $iter657) { - $xfer += $output->writeI64($iter650); + $xfer += $output->writeI64($iter657); } } $output->writeListEnd(); @@ -20587,14 +20705,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size651 = 0; - $_etype654 = 0; - $xfer += $input->readListBegin($_etype654, $_size651); - for ($_i655 = 0; $_i655 < $_size651; ++$_i655) + $_size658 = 0; + $_etype661 = 0; + $xfer += $input->readListBegin($_etype661, $_size658); + for ($_i662 = 0; $_i662 < $_size658; ++$_i662) { - $elem656 = null; - $xfer += $input->readI64($elem656); - $this->fileIds []= $elem656; + $elem663 = null; + $xfer += $input->readI64($elem663); + $this->fileIds []= $elem663; } $xfer += $input->readListEnd(); } else { @@ -20604,14 +20722,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size657 = 0; - $_etype660 = 0; - $xfer += $input->readListBegin($_etype660, $_size657); - for ($_i661 = 0; $_i661 < $_size657; ++$_i661) + $_size664 = 0; + $_etype667 = 0; + $xfer += $input->readListBegin($_etype667, $_size664); + for ($_i668 = 0; $_i668 < $_size664; ++$_i668) { - $elem662 = null; - $xfer += $input->readString($elem662); - $this->metadata []= $elem662; + $elem669 = null; + $xfer += $input->readString($elem669); + $this->metadata []= $elem669; } $xfer += $input->readListEnd(); } else { @@ -20646,9 +20764,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter663) + foreach ($this->fileIds as $iter670) { - $xfer += $output->writeI64($iter663); + $xfer += $output->writeI64($iter670); } } $output->writeListEnd(); @@ -20663,9 +20781,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter664) + foreach ($this->metadata as $iter671) { - $xfer += $output->writeString($iter664); + $xfer += $output->writeString($iter671); } } $output->writeListEnd(); @@ -20784,14 +20902,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $xfer += $input->readI64($elem670); - $this->fileIds []= $elem670; + $elem677 = null; + $xfer += $input->readI64($elem677); + $this->fileIds []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -20819,9 +20937,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter671) + foreach ($this->fileIds as $iter678) { - $xfer += $output->writeI64($iter671); + $xfer += $output->writeI64($iter678); } } $output->writeListEnd(); @@ -21105,15 +21223,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_etype682 = 0; + $xfer += $input->readListBegin($_etype682, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $elem677 = null; - $elem677 = new \metastore\Function(); - $xfer += $elem677->read($input); - $this->functions []= $elem677; + $elem684 = null; + $elem684 = new \metastore\Function(); + $xfer += $elem684->read($input); + $this->functions []= $elem684; } $xfer += $input->readListEnd(); } else { @@ -21141,9 +21259,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter678) + foreach ($this->functions as $iter685) { - $xfer += $iter678->write($output); + $xfer += $iter685->write($output); } } $output->writeListEnd(); @@ -21207,14 +21325,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $xfer += $input->readI32($elem684); - $this->values []= $elem684; + $elem691 = null; + $xfer += $input->readI32($elem691); + $this->values []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -21242,9 +21360,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter685) + foreach ($this->values as $iter692) { - $xfer += $output->writeI32($iter685); + $xfer += $output->writeI32($iter692); } } $output->writeListEnd(); @@ -21544,14 +21662,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $xfer += $input->readString($elem691); - $this->tblNames []= $elem691; + $elem698 = null; + $xfer += $input->readString($elem698); + $this->tblNames []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -21592,9 +21710,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter692) + foreach ($this->tblNames as $iter699) { - $xfer += $output->writeString($iter692); + $xfer += $output->writeString($iter699); } } $output->writeListEnd(); @@ -21667,15 +21785,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $elem698 = new \metastore\Table(); - $xfer += $elem698->read($input); - $this->tables []= $elem698; + $elem705 = null; + $elem705 = new \metastore\Table(); + $xfer += $elem705->read($input); + $this->tables []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -21703,9 +21821,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter699) + foreach ($this->tables as $iter706) { - $xfer += $iter699->write($output); + $xfer += $iter706->write($output); } } $output->writeListEnd(); @@ -22083,17 +22201,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readSetBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readSetBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $xfer += $input->readString($elem705); - if (is_scalar($elem705)) { - $this->tablesUsed[$elem705] = true; + $elem712 = null; + $xfer += $input->readString($elem712); + if (is_scalar($elem712)) { + $this->tablesUsed[$elem712] = true; } else { - $this->tablesUsed []= $elem705; + $this->tablesUsed []= $elem712; } } $xfer += $input->readSetEnd(); @@ -22136,12 +22254,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter706 => $iter707) + foreach ($this->tablesUsed as $iter713 => $iter714) { - if (is_scalar($iter707)) { - $xfer += $output->writeString($iter706); + if (is_scalar($iter714)) { + $xfer += $output->writeString($iter713); } else { - $xfer += $output->writeString($iter707); + $xfer += $output->writeString($iter714); } } } @@ -23408,15 +23526,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size708 = 0; - $_etype711 = 0; - $xfer += $input->readListBegin($_etype711, $_size708); - for ($_i712 = 0; $_i712 < $_size708; ++$_i712) + $_size715 = 0; + $_etype718 = 0; + $xfer += $input->readListBegin($_etype718, $_size715); + for ($_i719 = 0; $_i719 < $_size715; ++$_i719) { - $elem713 = null; - $elem713 = new \metastore\WMPool(); - $xfer += $elem713->read($input); - $this->pools []= $elem713; + $elem720 = null; + $elem720 = new \metastore\WMPool(); + $xfer += $elem720->read($input); + $this->pools []= $elem720; } $xfer += $input->readListEnd(); } else { @@ -23426,15 +23544,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $elem719 = new \metastore\WMMapping(); - $xfer += $elem719->read($input); - $this->mappings []= $elem719; + $elem726 = null; + $elem726 = new \metastore\WMMapping(); + $xfer += $elem726->read($input); + $this->mappings []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23444,15 +23562,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size720 = 0; - $_etype723 = 0; - $xfer += $input->readListBegin($_etype723, $_size720); - for ($_i724 = 0; $_i724 < $_size720; ++$_i724) + $_size727 = 0; + $_etype730 = 0; + $xfer += $input->readListBegin($_etype730, $_size727); + for ($_i731 = 0; $_i731 < $_size727; ++$_i731) { - $elem725 = null; - $elem725 = new \metastore\WMTrigger(); - $xfer += $elem725->read($input); - $this->triggers []= $elem725; + $elem732 = null; + $elem732 = new \metastore\WMTrigger(); + $xfer += $elem732->read($input); + $this->triggers []= $elem732; } $xfer += $input->readListEnd(); } else { @@ -23462,15 +23580,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size726 = 0; - $_etype729 = 0; - $xfer += $input->readListBegin($_etype729, $_size726); - for ($_i730 = 0; $_i730 < $_size726; ++$_i730) + $_size733 = 0; + $_etype736 = 0; + $xfer += $input->readListBegin($_etype736, $_size733); + for ($_i737 = 0; $_i737 < $_size733; ++$_i737) { - $elem731 = null; - $elem731 = new \metastore\WMPoolTrigger(); - $xfer += $elem731->read($input); - $this->poolTriggers []= $elem731; + $elem738 = null; + $elem738 = new \metastore\WMPoolTrigger(); + $xfer += $elem738->read($input); + $this->poolTriggers []= $elem738; } $xfer += $input->readListEnd(); } else { @@ -23506,9 +23624,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter732) + foreach ($this->pools as $iter739) { - $xfer += $iter732->write($output); + $xfer += $iter739->write($output); } } $output->writeListEnd(); @@ -23523,9 +23641,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter733) + foreach ($this->mappings as $iter740) { - $xfer += $iter733->write($output); + $xfer += $iter740->write($output); } } $output->writeListEnd(); @@ -23540,9 +23658,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter734) + foreach ($this->triggers as $iter741) { - $xfer += $iter734->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -23557,9 +23675,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter735) + foreach ($this->poolTriggers as $iter742) { - $xfer += $iter735->write($output); + $xfer += $iter742->write($output); } } $output->writeListEnd(); @@ -24112,15 +24230,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size736 = 0; - $_etype739 = 0; - $xfer += $input->readListBegin($_etype739, $_size736); - for ($_i740 = 0; $_i740 < $_size736; ++$_i740) + $_size743 = 0; + $_etype746 = 0; + $xfer += $input->readListBegin($_etype746, $_size743); + for ($_i747 = 0; $_i747 < $_size743; ++$_i747) { - $elem741 = null; - $elem741 = new \metastore\WMResourcePlan(); - $xfer += $elem741->read($input); - $this->resourcePlans []= $elem741; + $elem748 = null; + $elem748 = new \metastore\WMResourcePlan(); + $xfer += $elem748->read($input); + $this->resourcePlans []= $elem748; } $xfer += $input->readListEnd(); } else { @@ -24148,9 +24266,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter742) + foreach ($this->resourcePlans as $iter749) { - $xfer += $iter742->write($output); + $xfer += $iter749->write($output); } } $output->writeListEnd(); @@ -24556,14 +24674,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size743 = 0; - $_etype746 = 0; - $xfer += $input->readListBegin($_etype746, $_size743); - for ($_i747 = 0; $_i747 < $_size743; ++$_i747) + $_size750 = 0; + $_etype753 = 0; + $xfer += $input->readListBegin($_etype753, $_size750); + for ($_i754 = 0; $_i754 < $_size750; ++$_i754) { - $elem748 = null; - $xfer += $input->readString($elem748); - $this->errors []= $elem748; + $elem755 = null; + $xfer += $input->readString($elem755); + $this->errors []= $elem755; } $xfer += $input->readListEnd(); } else { @@ -24573,14 +24691,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readString($elem754); - $this->warnings []= $elem754; + $elem761 = null; + $xfer += $input->readString($elem761); + $this->warnings []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -24608,9 +24726,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter755) + foreach ($this->errors as $iter762) { - $xfer += $output->writeString($iter755); + $xfer += $output->writeString($iter762); } } $output->writeListEnd(); @@ -24625,9 +24743,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter756) + foreach ($this->warnings as $iter763) { - $xfer += $output->writeString($iter756); + $xfer += $output->writeString($iter763); } } $output->writeListEnd(); @@ -25300,15 +25418,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size764 = 0; + $_etype767 = 0; + $xfer += $input->readListBegin($_etype767, $_size764); + for ($_i768 = 0; $_i768 < $_size764; ++$_i768) { - $elem762 = null; - $elem762 = new \metastore\WMTrigger(); - $xfer += $elem762->read($input); - $this->triggers []= $elem762; + $elem769 = null; + $elem769 = new \metastore\WMTrigger(); + $xfer += $elem769->read($input); + $this->triggers []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -25336,9 +25454,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter763) + foreach ($this->triggers as $iter770) { - $xfer += $iter763->write($output); + $xfer += $iter770->write($output); } } $output->writeListEnd(); @@ -26876,15 +26994,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size764 = 0; - $_etype767 = 0; - $xfer += $input->readListBegin($_etype767, $_size764); - for ($_i768 = 0; $_i768 < $_size764; ++$_i768) + $_size771 = 0; + $_etype774 = 0; + $xfer += $input->readListBegin($_etype774, $_size771); + for ($_i775 = 0; $_i775 < $_size771; ++$_i775) { - $elem769 = null; - $elem769 = new \metastore\FieldSchema(); - $xfer += $elem769->read($input); - $this->cols []= $elem769; + $elem776 = null; + $elem776 = new \metastore\FieldSchema(); + $xfer += $elem776->read($input); + $this->cols []= $elem776; } $xfer += $input->readListEnd(); } else { @@ -26973,9 +27091,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter770) + foreach ($this->cols as $iter777) { - $xfer += $iter770->write($output); + $xfer += $iter777->write($output); } } $output->writeListEnd(); @@ -27297,15 +27415,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem776 = null; - $elem776 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem776->read($input); - $this->schemaVersions []= $elem776; + $elem783 = null; + $elem783 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem783->read($input); + $this->schemaVersions []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -27333,9 +27451,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter777) + foreach ($this->schemaVersions as $iter784) { - $xfer += $iter777->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 30214d8df8..25358de3ad 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -14371,10 +14371,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = iprot.readString() - self.success.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = iprot.readString() + self.success.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) @@ -14397,8 +14397,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter780 in self.success: - oprot.writeString(iter780) + for iter787 in self.success: + oprot.writeString(iter787) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14503,10 +14503,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = iprot.readString() - self.success.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = iprot.readString() + self.success.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -14529,8 +14529,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter787 in self.success: - oprot.writeString(iter787) + for iter794 in self.success: + oprot.writeString(iter794) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15300,12 +15300,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype789, _vtype790, _size788 ) = iprot.readMapBegin() - for _i792 in xrange(_size788): - _key793 = iprot.readString() - _val794 = Type() - _val794.read(iprot) - self.success[_key793] = _val794 + (_ktype796, _vtype797, _size795 ) = iprot.readMapBegin() + for _i799 in xrange(_size795): + _key800 = iprot.readString() + _val801 = Type() + _val801.read(iprot) + self.success[_key800] = _val801 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15328,9 +15328,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter795,viter796 in self.success.items(): - oprot.writeString(kiter795) - viter796.write(oprot) + for kiter802,viter803 in self.success.items(): + oprot.writeString(kiter802) + viter803.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -15473,11 +15473,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype800, _size797) = iprot.readListBegin() - for _i801 in xrange(_size797): - _elem802 = FieldSchema() - _elem802.read(iprot) - self.success.append(_elem802) + (_etype807, _size804) = iprot.readListBegin() + for _i808 in xrange(_size804): + _elem809 = FieldSchema() + _elem809.read(iprot) + self.success.append(_elem809) iprot.readListEnd() else: iprot.skip(ftype) @@ -15512,8 +15512,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter803 in self.success: - iter803.write(oprot) + for iter810 in self.success: + iter810.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15680,11 +15680,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype807, _size804) = iprot.readListBegin() - for _i808 in xrange(_size804): - _elem809 = FieldSchema() - _elem809.read(iprot) - self.success.append(_elem809) + (_etype814, _size811) = iprot.readListBegin() + for _i815 in xrange(_size811): + _elem816 = FieldSchema() + _elem816.read(iprot) + self.success.append(_elem816) iprot.readListEnd() else: iprot.skip(ftype) @@ -15719,8 +15719,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter810 in self.success: - iter810.write(oprot) + for iter817 in self.success: + iter817.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15873,11 +15873,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype814, _size811) = iprot.readListBegin() - for _i815 in xrange(_size811): - _elem816 = FieldSchema() - _elem816.read(iprot) - self.success.append(_elem816) + (_etype821, _size818) = iprot.readListBegin() + for _i822 in xrange(_size818): + _elem823 = FieldSchema() + _elem823.read(iprot) + self.success.append(_elem823) iprot.readListEnd() else: iprot.skip(ftype) @@ -15912,8 +15912,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter817 in self.success: - iter817.write(oprot) + for iter824 in self.success: + iter824.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16080,11 +16080,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype821, _size818) = iprot.readListBegin() - for _i822 in xrange(_size818): - _elem823 = FieldSchema() - _elem823.read(iprot) - self.success.append(_elem823) + (_etype828, _size825) = iprot.readListBegin() + for _i829 in xrange(_size825): + _elem830 = FieldSchema() + _elem830.read(iprot) + self.success.append(_elem830) iprot.readListEnd() else: iprot.skip(ftype) @@ -16119,8 +16119,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter824 in self.success: - iter824.write(oprot) + for iter831 in self.success: + iter831.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16570,55 +16570,55 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype828, _size825) = iprot.readListBegin() - for _i829 in xrange(_size825): - _elem830 = SQLPrimaryKey() - _elem830.read(iprot) - self.primaryKeys.append(_elem830) + (_etype835, _size832) = iprot.readListBegin() + for _i836 in xrange(_size832): + _elem837 = SQLPrimaryKey() + _elem837.read(iprot) + self.primaryKeys.append(_elem837) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = SQLForeignKey() - _elem836.read(iprot) - self.foreignKeys.append(_elem836) + (_etype841, _size838) = iprot.readListBegin() + for _i842 in xrange(_size838): + _elem843 = SQLForeignKey() + _elem843.read(iprot) + self.foreignKeys.append(_elem843) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = SQLUniqueConstraint() - _elem842.read(iprot) - self.uniqueConstraints.append(_elem842) + (_etype847, _size844) = iprot.readListBegin() + for _i848 in xrange(_size844): + _elem849 = SQLUniqueConstraint() + _elem849.read(iprot) + self.uniqueConstraints.append(_elem849) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = SQLNotNullConstraint() - _elem848.read(iprot) - self.notNullConstraints.append(_elem848) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = SQLNotNullConstraint() + _elem855.read(iprot) + self.notNullConstraints.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype852, _size849) = iprot.readListBegin() - for _i853 in xrange(_size849): - _elem854 = SQLDefaultConstraint() - _elem854.read(iprot) - self.defaultConstraints.append(_elem854) + (_etype859, _size856) = iprot.readListBegin() + for _i860 in xrange(_size856): + _elem861 = SQLDefaultConstraint() + _elem861.read(iprot) + self.defaultConstraints.append(_elem861) iprot.readListEnd() else: iprot.skip(ftype) @@ -16639,36 +16639,36 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter855 in self.primaryKeys: - iter855.write(oprot) + for iter862 in self.primaryKeys: + iter862.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter856 in self.foreignKeys: - iter856.write(oprot) + for iter863 in self.foreignKeys: + iter863.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter857 in self.uniqueConstraints: - iter857.write(oprot) + for iter864 in self.uniqueConstraints: + iter864.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter858 in self.notNullConstraints: - iter858.write(oprot) + for iter865 in self.notNullConstraints: + iter865.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter859 in self.defaultConstraints: - iter859.write(oprot) + for iter866 in self.defaultConstraints: + iter866.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18081,10 +18081,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype863, _size860) = iprot.readListBegin() - for _i864 in xrange(_size860): - _elem865 = iprot.readString() - self.partNames.append(_elem865) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = iprot.readString() + self.partNames.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) @@ -18109,8 +18109,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter866 in self.partNames: - oprot.writeString(iter866) + for iter873 in self.partNames: + oprot.writeString(iter873) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18310,10 +18310,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype870, _size867) = iprot.readListBegin() - for _i871 in xrange(_size867): - _elem872 = iprot.readString() - self.success.append(_elem872) + (_etype877, _size874) = iprot.readListBegin() + for _i878 in xrange(_size874): + _elem879 = iprot.readString() + self.success.append(_elem879) iprot.readListEnd() else: iprot.skip(ftype) @@ -18336,8 +18336,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter873 in self.success: - oprot.writeString(iter873) + for iter880 in self.success: + oprot.writeString(iter880) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18487,10 +18487,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype877, _size874) = iprot.readListBegin() - for _i878 in xrange(_size874): - _elem879 = iprot.readString() - self.success.append(_elem879) + (_etype884, _size881) = iprot.readListBegin() + for _i885 in xrange(_size881): + _elem886 = iprot.readString() + self.success.append(_elem886) iprot.readListEnd() else: iprot.skip(ftype) @@ -18513,8 +18513,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter880 in self.success: - oprot.writeString(iter880) + for iter887 in self.success: + oprot.writeString(iter887) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18638,10 +18638,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype884, _size881) = iprot.readListBegin() - for _i885 in xrange(_size881): - _elem886 = iprot.readString() - self.success.append(_elem886) + (_etype891, _size888) = iprot.readListBegin() + for _i892 in xrange(_size888): + _elem893 = iprot.readString() + self.success.append(_elem893) iprot.readListEnd() else: iprot.skip(ftype) @@ -18664,8 +18664,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter887 in self.success: - oprot.writeString(iter887) + for iter894 in self.success: + oprot.writeString(iter894) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18738,10 +18738,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = iprot.readString() - self.tbl_types.append(_elem893) + (_etype898, _size895) = iprot.readListBegin() + for _i899 in xrange(_size895): + _elem900 = iprot.readString() + self.tbl_types.append(_elem900) iprot.readListEnd() else: iprot.skip(ftype) @@ -18766,8 +18766,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter894 in self.tbl_types: - oprot.writeString(iter894) + for iter901 in self.tbl_types: + oprot.writeString(iter901) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18823,11 +18823,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = TableMeta() - _elem900.read(iprot) - self.success.append(_elem900) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = TableMeta() + _elem907.read(iprot) + self.success.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -18850,8 +18850,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter901 in self.success: - iter901.write(oprot) + for iter908 in self.success: + iter908.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18975,10 +18975,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = iprot.readString() - self.success.append(_elem907) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19001,8 +19001,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter908 in self.success: - oprot.writeString(iter908) + for iter915 in self.success: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19238,10 +19238,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.tbl_names.append(_elem914) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.tbl_names.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -19262,8 +19262,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter915 in self.tbl_names: - oprot.writeString(iter915) + for iter922 in self.tbl_names: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19315,11 +19315,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = Table() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = Table() + _elem928.read(iprot) + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19336,8 +19336,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter922 in self.success: - iter922.write(oprot) + for iter929 in self.success: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19729,10 +19729,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.tbl_names.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.tbl_names.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -19753,8 +19753,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter929 in self.tbl_names: - oprot.writeString(iter929) + for iter936 in self.tbl_names: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19815,12 +19815,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype931, _vtype932, _size930 ) = iprot.readMapBegin() - for _i934 in xrange(_size930): - _key935 = iprot.readString() - _val936 = Materialization() - _val936.read(iprot) - self.success[_key935] = _val936 + (_ktype938, _vtype939, _size937 ) = iprot.readMapBegin() + for _i941 in xrange(_size937): + _key942 = iprot.readString() + _val943 = Materialization() + _val943.read(iprot) + self.success[_key942] = _val943 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19855,9 +19855,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter937,viter938 in self.success.items(): - oprot.writeString(kiter937) - viter938.write(oprot) + for kiter944,viter945 in self.success.items(): + oprot.writeString(kiter944) + viter945.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20209,10 +20209,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype942, _size939) = iprot.readListBegin() - for _i943 in xrange(_size939): - _elem944 = iprot.readString() - self.success.append(_elem944) + (_etype949, _size946) = iprot.readListBegin() + for _i950 in xrange(_size946): + _elem951 = iprot.readString() + self.success.append(_elem951) iprot.readListEnd() else: iprot.skip(ftype) @@ -20247,8 +20247,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter945 in self.success: - oprot.writeString(iter945) + for iter952 in self.success: + oprot.writeString(iter952) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21218,11 +21218,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype949, _size946) = iprot.readListBegin() - for _i950 in xrange(_size946): - _elem951 = Partition() - _elem951.read(iprot) - self.new_parts.append(_elem951) + (_etype956, _size953) = iprot.readListBegin() + for _i957 in xrange(_size953): + _elem958 = Partition() + _elem958.read(iprot) + self.new_parts.append(_elem958) iprot.readListEnd() else: iprot.skip(ftype) @@ -21239,8 +21239,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter952 in self.new_parts: - iter952.write(oprot) + for iter959 in self.new_parts: + iter959.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21398,11 +21398,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype956, _size953) = iprot.readListBegin() - for _i957 in xrange(_size953): - _elem958 = PartitionSpec() - _elem958.read(iprot) - self.new_parts.append(_elem958) + (_etype963, _size960) = iprot.readListBegin() + for _i964 in xrange(_size960): + _elem965 = PartitionSpec() + _elem965.read(iprot) + self.new_parts.append(_elem965) iprot.readListEnd() else: iprot.skip(ftype) @@ -21419,8 +21419,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter959 in self.new_parts: - iter959.write(oprot) + for iter966 in self.new_parts: + iter966.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21594,10 +21594,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype963, _size960) = iprot.readListBegin() - for _i964 in xrange(_size960): - _elem965 = iprot.readString() - self.part_vals.append(_elem965) + (_etype970, _size967) = iprot.readListBegin() + for _i971 in xrange(_size967): + _elem972 = iprot.readString() + self.part_vals.append(_elem972) iprot.readListEnd() else: iprot.skip(ftype) @@ -21622,8 +21622,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter966 in self.part_vals: - oprot.writeString(iter966) + for iter973 in self.part_vals: + oprot.writeString(iter973) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21976,10 +21976,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = iprot.readString() - self.part_vals.append(_elem972) + (_etype977, _size974) = iprot.readListBegin() + for _i978 in xrange(_size974): + _elem979 = iprot.readString() + self.part_vals.append(_elem979) iprot.readListEnd() else: iprot.skip(ftype) @@ -22010,8 +22010,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter973 in self.part_vals: - oprot.writeString(iter973) + for iter980 in self.part_vals: + oprot.writeString(iter980) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22606,10 +22606,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.part_vals.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = iprot.readString() + self.part_vals.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -22639,8 +22639,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter980 in self.part_vals: - oprot.writeString(iter980) + for iter987 in self.part_vals: + oprot.writeString(iter987) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -22813,10 +22813,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = iprot.readString() - self.part_vals.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = iprot.readString() + self.part_vals.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -22852,8 +22852,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter987 in self.part_vals: - oprot.writeString(iter987) + for iter994 in self.part_vals: + oprot.writeString(iter994) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -23590,10 +23590,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = iprot.readString() - self.part_vals.append(_elem993) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = iprot.readString() + self.part_vals.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -23618,8 +23618,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter994 in self.part_vals: - oprot.writeString(iter994) + for iter1001 in self.part_vals: + oprot.writeString(iter1001) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23778,11 +23778,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype996, _vtype997, _size995 ) = iprot.readMapBegin() - for _i999 in xrange(_size995): - _key1000 = iprot.readString() - _val1001 = iprot.readString() - self.partitionSpecs[_key1000] = _val1001 + (_ktype1003, _vtype1004, _size1002 ) = iprot.readMapBegin() + for _i1006 in xrange(_size1002): + _key1007 = iprot.readString() + _val1008 = iprot.readString() + self.partitionSpecs[_key1007] = _val1008 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23819,9 +23819,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1002,viter1003 in self.partitionSpecs.items(): - oprot.writeString(kiter1002) - oprot.writeString(viter1003) + for kiter1009,viter1010 in self.partitionSpecs.items(): + oprot.writeString(kiter1009) + oprot.writeString(viter1010) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24026,11 +24026,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1005, _vtype1006, _size1004 ) = iprot.readMapBegin() - for _i1008 in xrange(_size1004): - _key1009 = iprot.readString() - _val1010 = iprot.readString() - self.partitionSpecs[_key1009] = _val1010 + (_ktype1012, _vtype1013, _size1011 ) = iprot.readMapBegin() + for _i1015 in xrange(_size1011): + _key1016 = iprot.readString() + _val1017 = iprot.readString() + self.partitionSpecs[_key1016] = _val1017 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24067,9 +24067,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1011,viter1012 in self.partitionSpecs.items(): - oprot.writeString(kiter1011) - oprot.writeString(viter1012) + for kiter1018,viter1019 in self.partitionSpecs.items(): + oprot.writeString(kiter1018) + oprot.writeString(viter1019) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24152,11 +24152,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1016, _size1013) = iprot.readListBegin() - for _i1017 in xrange(_size1013): - _elem1018 = Partition() - _elem1018.read(iprot) - self.success.append(_elem1018) + (_etype1023, _size1020) = iprot.readListBegin() + for _i1024 in xrange(_size1020): + _elem1025 = Partition() + _elem1025.read(iprot) + self.success.append(_elem1025) iprot.readListEnd() else: iprot.skip(ftype) @@ -24197,8 +24197,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1019 in self.success: - iter1019.write(oprot) + for iter1026 in self.success: + iter1026.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24292,10 +24292,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1023, _size1020) = iprot.readListBegin() - for _i1024 in xrange(_size1020): - _elem1025 = iprot.readString() - self.part_vals.append(_elem1025) + (_etype1030, _size1027) = iprot.readListBegin() + for _i1031 in xrange(_size1027): + _elem1032 = iprot.readString() + self.part_vals.append(_elem1032) iprot.readListEnd() else: iprot.skip(ftype) @@ -24307,10 +24307,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = iprot.readString() - self.group_names.append(_elem1031) + (_etype1036, _size1033) = iprot.readListBegin() + for _i1037 in xrange(_size1033): + _elem1038 = iprot.readString() + self.group_names.append(_elem1038) iprot.readListEnd() else: iprot.skip(ftype) @@ -24335,8 +24335,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1032 in self.part_vals: - oprot.writeString(iter1032) + for iter1039 in self.part_vals: + oprot.writeString(iter1039) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -24346,8 +24346,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1033 in self.group_names: - oprot.writeString(iter1033) + for iter1040 in self.group_names: + oprot.writeString(iter1040) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24776,11 +24776,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1037, _size1034) = iprot.readListBegin() - for _i1038 in xrange(_size1034): - _elem1039 = Partition() - _elem1039.read(iprot) - self.success.append(_elem1039) + (_etype1044, _size1041) = iprot.readListBegin() + for _i1045 in xrange(_size1041): + _elem1046 = Partition() + _elem1046.read(iprot) + self.success.append(_elem1046) iprot.readListEnd() else: iprot.skip(ftype) @@ -24809,8 +24809,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1040 in self.success: - iter1040.write(oprot) + for iter1047 in self.success: + iter1047.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24904,10 +24904,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1044, _size1041) = iprot.readListBegin() - for _i1045 in xrange(_size1041): - _elem1046 = iprot.readString() - self.group_names.append(_elem1046) + (_etype1051, _size1048) = iprot.readListBegin() + for _i1052 in xrange(_size1048): + _elem1053 = iprot.readString() + self.group_names.append(_elem1053) iprot.readListEnd() else: iprot.skip(ftype) @@ -24940,8 +24940,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1047 in self.group_names: - oprot.writeString(iter1047) + for iter1054 in self.group_names: + oprot.writeString(iter1054) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25002,11 +25002,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1051, _size1048) = iprot.readListBegin() - for _i1052 in xrange(_size1048): - _elem1053 = Partition() - _elem1053.read(iprot) - self.success.append(_elem1053) + (_etype1058, _size1055) = iprot.readListBegin() + for _i1059 in xrange(_size1055): + _elem1060 = Partition() + _elem1060.read(iprot) + self.success.append(_elem1060) iprot.readListEnd() else: iprot.skip(ftype) @@ -25035,8 +25035,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1054 in self.success: - iter1054.write(oprot) + for iter1061 in self.success: + iter1061.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25194,11 +25194,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = PartitionSpec() - _elem1060.read(iprot) - self.success.append(_elem1060) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = PartitionSpec() + _elem1067.read(iprot) + self.success.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25227,8 +25227,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1061 in self.success: - iter1061.write(oprot) + for iter1068 in self.success: + iter1068.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25386,10 +25386,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = iprot.readString() - self.success.append(_elem1067) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = iprot.readString() + self.success.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25418,8 +25418,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1068 in self.success: - oprot.writeString(iter1068) + for iter1075 in self.success: + oprot.writeString(iter1075) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25659,10 +25659,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = iprot.readString() - self.part_vals.append(_elem1074) + (_etype1079, _size1076) = iprot.readListBegin() + for _i1080 in xrange(_size1076): + _elem1081 = iprot.readString() + self.part_vals.append(_elem1081) iprot.readListEnd() else: iprot.skip(ftype) @@ -25692,8 +25692,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1075 in self.part_vals: - oprot.writeString(iter1075) + for iter1082 in self.part_vals: + oprot.writeString(iter1082) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25757,11 +25757,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = Partition() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = Partition() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -25790,8 +25790,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1082 in self.success: - iter1082.write(oprot) + for iter1089 in self.success: + iter1089.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25878,10 +25878,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = iprot.readString() - self.part_vals.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = iprot.readString() + self.part_vals.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -25898,10 +25898,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1092, _size1089) = iprot.readListBegin() - for _i1093 in xrange(_size1089): - _elem1094 = iprot.readString() - self.group_names.append(_elem1094) + (_etype1099, _size1096) = iprot.readListBegin() + for _i1100 in xrange(_size1096): + _elem1101 = iprot.readString() + self.group_names.append(_elem1101) iprot.readListEnd() else: iprot.skip(ftype) @@ -25926,8 +25926,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1095 in self.part_vals: - oprot.writeString(iter1095) + for iter1102 in self.part_vals: + oprot.writeString(iter1102) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25941,8 +25941,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1096 in self.group_names: - oprot.writeString(iter1096) + for iter1103 in self.group_names: + oprot.writeString(iter1103) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26004,11 +26004,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = Partition() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = Partition() + _elem1109.read(iprot) + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26037,8 +26037,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1103 in self.success: - iter1103.write(oprot) + for iter1110 in self.success: + iter1110.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26119,10 +26119,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.part_vals.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.part_vals.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26152,8 +26152,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1110 in self.part_vals: - oprot.writeString(iter1110) + for iter1117 in self.part_vals: + oprot.writeString(iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26217,10 +26217,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.success.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = iprot.readString() + self.success.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -26249,8 +26249,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1117 in self.success: - oprot.writeString(iter1117) + for iter1124 in self.success: + oprot.writeString(iter1124) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26421,11 +26421,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = Partition() + _elem1130.read(iprot) + self.success.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -26454,8 +26454,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1124 in self.success: - iter1124.write(oprot) + for iter1131 in self.success: + iter1131.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26626,11 +26626,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = PartitionSpec() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = PartitionSpec() + _elem1137.read(iprot) + self.success.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -26659,8 +26659,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1131 in self.success: - iter1131.write(oprot) + for iter1138 in self.success: + iter1138.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27080,10 +27080,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.names.append(_elem1137) + (_etype1142, _size1139) = iprot.readListBegin() + for _i1143 in xrange(_size1139): + _elem1144 = iprot.readString() + self.names.append(_elem1144) iprot.readListEnd() else: iprot.skip(ftype) @@ -27108,8 +27108,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter1138 in self.names: - oprot.writeString(iter1138) + for iter1145 in self.names: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27168,11 +27168,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = Partition() - _elem1144.read(iprot) - self.success.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = Partition() + _elem1151.read(iprot) + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27201,8 +27201,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1145 in self.success: - iter1145.write(oprot) + for iter1152 in self.success: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27452,11 +27452,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = Partition() - _elem1151.read(iprot) - self.new_parts.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = Partition() + _elem1158.read(iprot) + self.new_parts.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27481,8 +27481,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1152 in self.new_parts: - iter1152.write(oprot) + for iter1159 in self.new_parts: + iter1159.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27635,11 +27635,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = Partition() - _elem1158.read(iprot) - self.new_parts.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = Partition() + _elem1165.read(iprot) + self.new_parts.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27670,8 +27670,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1159 in self.new_parts: - iter1159.write(oprot) + for iter1166 in self.new_parts: + iter1166.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -28015,10 +28015,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = iprot.readString() - self.part_vals.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = iprot.readString() + self.part_vals.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -28049,8 +28049,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1166 in self.part_vals: - oprot.writeString(iter1166) + for iter1173 in self.part_vals: + oprot.writeString(iter1173) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -28192,10 +28192,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = iprot.readString() - self.part_vals.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = iprot.readString() + self.part_vals.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -28217,8 +28217,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1173 in self.part_vals: - oprot.writeString(iter1173) + for iter1180 in self.part_vals: + oprot.writeString(iter1180) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -28576,10 +28576,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = iprot.readString() - self.success.append(_elem1179) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = iprot.readString() + self.success.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28602,8 +28602,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1180 in self.success: - oprot.writeString(iter1180) + for iter1187 in self.success: + oprot.writeString(iter1187) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28727,11 +28727,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1182, _vtype1183, _size1181 ) = iprot.readMapBegin() - for _i1185 in xrange(_size1181): - _key1186 = iprot.readString() - _val1187 = iprot.readString() - self.success[_key1186] = _val1187 + (_ktype1189, _vtype1190, _size1188 ) = iprot.readMapBegin() + for _i1192 in xrange(_size1188): + _key1193 = iprot.readString() + _val1194 = iprot.readString() + self.success[_key1193] = _val1194 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28754,9 +28754,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter1188,viter1189 in self.success.items(): - oprot.writeString(kiter1188) - oprot.writeString(viter1189) + for kiter1195,viter1196 in self.success.items(): + oprot.writeString(kiter1195) + oprot.writeString(viter1196) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28832,11 +28832,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1191, _vtype1192, _size1190 ) = iprot.readMapBegin() - for _i1194 in xrange(_size1190): - _key1195 = iprot.readString() - _val1196 = iprot.readString() - self.part_vals[_key1195] = _val1196 + (_ktype1198, _vtype1199, _size1197 ) = iprot.readMapBegin() + for _i1201 in xrange(_size1197): + _key1202 = iprot.readString() + _val1203 = iprot.readString() + self.part_vals[_key1202] = _val1203 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28866,9 +28866,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1197,viter1198 in self.part_vals.items(): - oprot.writeString(kiter1197) - oprot.writeString(viter1198) + for kiter1204,viter1205 in self.part_vals.items(): + oprot.writeString(kiter1204) + oprot.writeString(viter1205) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29082,11 +29082,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1200, _vtype1201, _size1199 ) = iprot.readMapBegin() - for _i1203 in xrange(_size1199): - _key1204 = iprot.readString() - _val1205 = iprot.readString() - self.part_vals[_key1204] = _val1205 + (_ktype1207, _vtype1208, _size1206 ) = iprot.readMapBegin() + for _i1210 in xrange(_size1206): + _key1211 = iprot.readString() + _val1212 = iprot.readString() + self.part_vals[_key1211] = _val1212 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29116,9 +29116,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1206,viter1207 in self.part_vals.items(): - oprot.writeString(kiter1206) - oprot.writeString(viter1207) + for kiter1213,viter1214 in self.part_vals.items(): + oprot.writeString(kiter1213) + oprot.writeString(viter1214) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32611,10 +32611,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1211, _size1208) = iprot.readListBegin() - for _i1212 in xrange(_size1208): - _elem1213 = iprot.readString() - self.success.append(_elem1213) + (_etype1218, _size1215) = iprot.readListBegin() + for _i1219 in xrange(_size1215): + _elem1220 = iprot.readString() + self.success.append(_elem1220) iprot.readListEnd() else: iprot.skip(ftype) @@ -32637,8 +32637,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1214 in self.success: - oprot.writeString(iter1214) + for iter1221 in self.success: + oprot.writeString(iter1221) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33326,10 +33326,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1218, _size1215) = iprot.readListBegin() - for _i1219 in xrange(_size1215): - _elem1220 = iprot.readString() - self.success.append(_elem1220) + (_etype1225, _size1222) = iprot.readListBegin() + for _i1226 in xrange(_size1222): + _elem1227 = iprot.readString() + self.success.append(_elem1227) iprot.readListEnd() else: iprot.skip(ftype) @@ -33352,8 +33352,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1221 in self.success: - oprot.writeString(iter1221) + for iter1228 in self.success: + oprot.writeString(iter1228) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33867,11 +33867,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1225, _size1222) = iprot.readListBegin() - for _i1226 in xrange(_size1222): - _elem1227 = Role() - _elem1227.read(iprot) - self.success.append(_elem1227) + (_etype1232, _size1229) = iprot.readListBegin() + for _i1233 in xrange(_size1229): + _elem1234 = Role() + _elem1234.read(iprot) + self.success.append(_elem1234) iprot.readListEnd() else: iprot.skip(ftype) @@ -33894,8 +33894,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1228 in self.success: - iter1228.write(oprot) + for iter1235 in self.success: + iter1235.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34404,10 +34404,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1232, _size1229) = iprot.readListBegin() - for _i1233 in xrange(_size1229): - _elem1234 = iprot.readString() - self.group_names.append(_elem1234) + (_etype1239, _size1236) = iprot.readListBegin() + for _i1240 in xrange(_size1236): + _elem1241 = iprot.readString() + self.group_names.append(_elem1241) iprot.readListEnd() else: iprot.skip(ftype) @@ -34432,8 +34432,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1235 in self.group_names: - oprot.writeString(iter1235) + for iter1242 in self.group_names: + oprot.writeString(iter1242) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34660,11 +34660,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1239, _size1236) = iprot.readListBegin() - for _i1240 in xrange(_size1236): - _elem1241 = HiveObjectPrivilege() - _elem1241.read(iprot) - self.success.append(_elem1241) + (_etype1246, _size1243) = iprot.readListBegin() + for _i1247 in xrange(_size1243): + _elem1248 = HiveObjectPrivilege() + _elem1248.read(iprot) + self.success.append(_elem1248) iprot.readListEnd() else: iprot.skip(ftype) @@ -34687,8 +34687,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1242 in self.success: - iter1242.write(oprot) + for iter1249 in self.success: + iter1249.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35186,10 +35186,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = iprot.readString() - self.group_names.append(_elem1248) + (_etype1253, _size1250) = iprot.readListBegin() + for _i1254 in xrange(_size1250): + _elem1255 = iprot.readString() + self.group_names.append(_elem1255) iprot.readListEnd() else: iprot.skip(ftype) @@ -35210,8 +35210,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1249 in self.group_names: - oprot.writeString(iter1249) + for iter1256 in self.group_names: + oprot.writeString(iter1256) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35266,10 +35266,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = iprot.readString() - self.success.append(_elem1255) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = iprot.readString() + self.success.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -35292,8 +35292,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1256 in self.success: - oprot.writeString(iter1256) + for iter1263 in self.success: + oprot.writeString(iter1263) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36225,10 +36225,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.success.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = iprot.readString() + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -36245,8 +36245,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1263 in self.success: - oprot.writeString(iter1263) + for iter1270 in self.success: + oprot.writeString(iter1270) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36773,10 +36773,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.success.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = iprot.readString() + self.success.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -36793,8 +36793,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1270 in self.success: - oprot.writeString(iter1270) + for iter1277 in self.success: + oprot.writeString(iter1277) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -44962,11 +44962,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = SchemaVersion() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = SchemaVersion() + _elem1283.read(iprot) + self.success.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -44995,8 +44995,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1277 in self.success: - iter1277.write(oprot) + for iter1284 in self.success: + iter1284.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 486f0612b9..6b2a890d4d 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -9923,6 +9923,8 @@ class OpenTxnRequest: - user - hostname - agentInfo + - replPolicy + - replSrcTxnIds """ thrift_spec = ( @@ -9931,13 +9933,17 @@ class OpenTxnRequest: (2, TType.STRING, 'user', None, None, ), # 2 (3, TType.STRING, 'hostname', None, None, ), # 3 (4, TType.STRING, 'agentInfo', None, "Unknown", ), # 4 + (5, TType.STRING, 'replPolicy', None, None, ), # 5 + (6, TType.LIST, 'replSrcTxnIds', (TType.I64,None), None, ), # 6 ) - def __init__(self, num_txns=None, user=None, hostname=None, agentInfo=thrift_spec[4][4],): + def __init__(self, num_txns=None, user=None, hostname=None, agentInfo=thrift_spec[4][4], replPolicy=None, replSrcTxnIds=None,): self.num_txns = num_txns self.user = user self.hostname = hostname self.agentInfo = agentInfo + self.replPolicy = replPolicy + self.replSrcTxnIds = replSrcTxnIds def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -9968,6 +9974,21 @@ def read(self, iprot): self.agentInfo = iprot.readString() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.LIST: + self.replSrcTxnIds = [] + (_etype484, _size481) = iprot.readListBegin() + for _i485 in xrange(_size481): + _elem486 = iprot.readI64() + self.replSrcTxnIds.append(_elem486) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -9994,6 +10015,17 @@ def write(self, oprot): oprot.writeFieldBegin('agentInfo', TType.STRING, 4) oprot.writeString(self.agentInfo) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 5) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() + if self.replSrcTxnIds is not None: + oprot.writeFieldBegin('replSrcTxnIds', TType.LIST, 6) + oprot.writeListBegin(TType.I64, len(self.replSrcTxnIds)) + for iter487 in self.replSrcTxnIds: + oprot.writeI64(iter487) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -10013,6 +10045,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) value = (value * 31) ^ hash(self.agentInfo) + value = (value * 31) ^ hash(self.replPolicy) + value = (value * 31) ^ hash(self.replSrcTxnIds) return value def __repr__(self): @@ -10052,10 +10086,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype484, _size481) = iprot.readListBegin() - for _i485 in xrange(_size481): - _elem486 = iprot.readI64() - self.txn_ids.append(_elem486) + (_etype491, _size488) = iprot.readListBegin() + for _i492 in xrange(_size488): + _elem493 = iprot.readI64() + self.txn_ids.append(_elem493) iprot.readListEnd() else: iprot.skip(ftype) @@ -10072,8 +10106,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter487 in self.txn_ids: - oprot.writeI64(iter487) + for iter494 in self.txn_ids: + oprot.writeI64(iter494) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10105,15 +10139,18 @@ class AbortTxnRequest: """ Attributes: - txnid + - replPolicy """ thrift_spec = ( None, # 0 (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 ) - def __init__(self, txnid=None,): + def __init__(self, txnid=None, replPolicy=None,): self.txnid = txnid + self.replPolicy = replPolicy def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -10129,6 +10166,11 @@ def read(self, iprot): self.txnid = iprot.readI64() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -10143,6 +10185,10 @@ def write(self, oprot): oprot.writeFieldBegin('txnid', TType.I64, 1) oprot.writeI64(self.txnid) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -10155,6 +10201,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.replPolicy) return value def __repr__(self): @@ -10194,10 +10241,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype491, _size488) = iprot.readListBegin() - for _i492 in xrange(_size488): - _elem493 = iprot.readI64() - self.txn_ids.append(_elem493) + (_etype498, _size495) = iprot.readListBegin() + for _i499 in xrange(_size495): + _elem500 = iprot.readI64() + self.txn_ids.append(_elem500) iprot.readListEnd() else: iprot.skip(ftype) @@ -10214,8 +10261,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter494 in self.txn_ids: - oprot.writeI64(iter494) + for iter501 in self.txn_ids: + oprot.writeI64(iter501) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10247,15 +10294,18 @@ class CommitTxnRequest: """ Attributes: - txnid + - replPolicy """ thrift_spec = ( None, # 0 (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 ) - def __init__(self, txnid=None,): + def __init__(self, txnid=None, replPolicy=None,): self.txnid = txnid + self.replPolicy = replPolicy def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -10271,6 +10321,11 @@ def read(self, iprot): self.txnid = iprot.readI64() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -10285,6 +10340,10 @@ def write(self, oprot): oprot.writeFieldBegin('txnid', TType.I64, 1) oprot.writeI64(self.txnid) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -10297,6 +10356,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.replPolicy) return value def __repr__(self): @@ -10339,10 +10399,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype498, _size495) = iprot.readListBegin() - for _i499 in xrange(_size495): - _elem500 = iprot.readString() - self.fullTableNames.append(_elem500) + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readString() + self.fullTableNames.append(_elem507) iprot.readListEnd() else: iprot.skip(ftype) @@ -10364,8 +10424,8 @@ def write(self, oprot): if self.fullTableNames is not None: oprot.writeFieldBegin('fullTableNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fullTableNames)) - for iter501 in self.fullTableNames: - oprot.writeString(iter501) + for iter508 in self.fullTableNames: + oprot.writeString(iter508) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -10448,10 +10508,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype505, _size502) = iprot.readListBegin() - for _i506 in xrange(_size502): - _elem507 = iprot.readI64() - self.invalidWriteIds.append(_elem507) + (_etype512, _size509) = iprot.readListBegin() + for _i513 in xrange(_size509): + _elem514 = iprot.readI64() + self.invalidWriteIds.append(_elem514) iprot.readListEnd() else: iprot.skip(ftype) @@ -10486,8 +10546,8 @@ def write(self, oprot): if self.invalidWriteIds is not None: oprot.writeFieldBegin('invalidWriteIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.invalidWriteIds)) - for iter508 in self.invalidWriteIds: - oprot.writeI64(iter508) + for iter515 in self.invalidWriteIds: + oprot.writeI64(iter515) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -10559,11 +10619,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = TableValidWriteIds() - _elem514.read(iprot) - self.tblValidWriteIds.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = TableValidWriteIds() + _elem521.read(iprot) + self.tblValidWriteIds.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -10580,8 +10640,8 @@ def write(self, oprot): if self.tblValidWriteIds is not None: oprot.writeFieldBegin('tblValidWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tblValidWriteIds)) - for iter515 in self.tblValidWriteIds: - iter515.write(oprot) + for iter522 in self.tblValidWriteIds: + iter522.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10641,10 +10701,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype519, _size516) = iprot.readListBegin() - for _i520 in xrange(_size516): - _elem521 = iprot.readI64() - self.txnIds.append(_elem521) + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readI64() + self.txnIds.append(_elem528) iprot.readListEnd() else: iprot.skip(ftype) @@ -10671,8 +10731,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter522 in self.txnIds: - oprot.writeI64(iter522) + for iter529 in self.txnIds: + oprot.writeI64(iter529) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -10822,11 +10882,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = TxnToWriteId() - _elem528.read(iprot) - self.txnToWriteIds.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = TxnToWriteId() + _elem535.read(iprot) + self.txnToWriteIds.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -10843,8 +10903,8 @@ def write(self, oprot): if self.txnToWriteIds is not None: oprot.writeFieldBegin('txnToWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.txnToWriteIds)) - for iter529 in self.txnToWriteIds: - iter529.write(oprot) + for iter536 in self.txnToWriteIds: + iter536.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11072,11 +11132,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = LockComponent() - _elem535.read(iprot) - self.component.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = LockComponent() + _elem542.read(iprot) + self.component.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11113,8 +11173,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter536 in self.component: - iter536.write(oprot) + for iter543 in self.component: + iter543.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -11812,11 +11872,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = ShowLocksResponseElement() - _elem542.read(iprot) - self.locks.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = ShowLocksResponseElement() + _elem549.read(iprot) + self.locks.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11833,8 +11893,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter543 in self.locks: - iter543.write(oprot) + for iter550 in self.locks: + iter550.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12049,20 +12109,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype547, _size544) = iprot.readSetBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.aborted.add(_elem549) + (_etype554, _size551) = iprot.readSetBegin() + for _i555 in xrange(_size551): + _elem556 = iprot.readI64() + self.aborted.add(_elem556) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype553, _size550) = iprot.readSetBegin() - for _i554 in xrange(_size550): - _elem555 = iprot.readI64() - self.nosuch.add(_elem555) + (_etype560, _size557) = iprot.readSetBegin() + for _i561 in xrange(_size557): + _elem562 = iprot.readI64() + self.nosuch.add(_elem562) iprot.readSetEnd() else: iprot.skip(ftype) @@ -12079,15 +12139,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter556 in self.aborted: - oprot.writeI64(iter556) + for iter563 in self.aborted: + oprot.writeI64(iter563) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter557 in self.nosuch: - oprot.writeI64(iter557) + for iter564 in self.nosuch: + oprot.writeI64(iter564) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12184,11 +12244,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype559, _vtype560, _size558 ) = iprot.readMapBegin() - for _i562 in xrange(_size558): - _key563 = iprot.readString() - _val564 = iprot.readString() - self.properties[_key563] = _val564 + (_ktype566, _vtype567, _size565 ) = iprot.readMapBegin() + for _i569 in xrange(_size565): + _key570 = iprot.readString() + _val571 = iprot.readString() + self.properties[_key570] = _val571 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12225,9 +12285,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter565,viter566 in self.properties.items(): - oprot.writeString(kiter565) - oprot.writeString(viter566) + for kiter572,viter573 in self.properties.items(): + oprot.writeString(kiter572) + oprot.writeString(viter573) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12662,11 +12722,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype570, _size567) = iprot.readListBegin() - for _i571 in xrange(_size567): - _elem572 = ShowCompactResponseElement() - _elem572.read(iprot) - self.compacts.append(_elem572) + (_etype577, _size574) = iprot.readListBegin() + for _i578 in xrange(_size574): + _elem579 = ShowCompactResponseElement() + _elem579.read(iprot) + self.compacts.append(_elem579) iprot.readListEnd() else: iprot.skip(ftype) @@ -12683,8 +12743,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter573 in self.compacts: - iter573.write(oprot) + for iter580 in self.compacts: + iter580.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12773,10 +12833,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype577, _size574) = iprot.readListBegin() - for _i578 in xrange(_size574): - _elem579 = iprot.readString() - self.partitionnames.append(_elem579) + (_etype584, _size581) = iprot.readListBegin() + for _i585 in xrange(_size581): + _elem586 = iprot.readString() + self.partitionnames.append(_elem586) iprot.readListEnd() else: iprot.skip(ftype) @@ -12814,8 +12874,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter580 in self.partitionnames: - oprot.writeString(iter580) + for iter587 in self.partitionnames: + oprot.writeString(iter587) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -13037,10 +13097,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.SET: self.tablesUsed = set() - (_etype584, _size581) = iprot.readSetBegin() - for _i585 in xrange(_size581): - _elem586 = iprot.readString() - self.tablesUsed.add(_elem586) + (_etype591, _size588) = iprot.readSetBegin() + for _i592 in xrange(_size588): + _elem593 = iprot.readString() + self.tablesUsed.add(_elem593) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13070,8 +13130,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 3) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter587 in self.tablesUsed: - oprot.writeString(iter587) + for iter594 in self.tablesUsed: + oprot.writeString(iter594) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -13367,11 +13427,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype591, _size588) = iprot.readListBegin() - for _i592 in xrange(_size588): - _elem593 = NotificationEvent() - _elem593.read(iprot) - self.events.append(_elem593) + (_etype598, _size595) = iprot.readListBegin() + for _i599 in xrange(_size595): + _elem600 = NotificationEvent() + _elem600.read(iprot) + self.events.append(_elem600) iprot.readListEnd() else: iprot.skip(ftype) @@ -13388,8 +13448,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter594 in self.events: - iter594.write(oprot) + for iter601 in self.events: + iter601.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13670,20 +13730,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype598, _size595) = iprot.readListBegin() - for _i599 in xrange(_size595): - _elem600 = iprot.readString() - self.filesAdded.append(_elem600) + (_etype605, _size602) = iprot.readListBegin() + for _i606 in xrange(_size602): + _elem607 = iprot.readString() + self.filesAdded.append(_elem607) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.filesAddedChecksum.append(_elem606) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readString() + self.filesAddedChecksum.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -13704,15 +13764,15 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter607 in self.filesAdded: - oprot.writeString(iter607) + for iter614 in self.filesAdded: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter608 in self.filesAddedChecksum: - oprot.writeString(iter608) + for iter615 in self.filesAddedChecksum: + oprot.writeString(iter615) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13867,10 +13927,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype612, _size609) = iprot.readListBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.partitionVals.append(_elem614) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.partitionVals.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) @@ -13903,8 +13963,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter615 in self.partitionVals: - oprot.writeString(iter615) + for iter622 in self.partitionVals: + oprot.writeString(iter622) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14091,12 +14151,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype617, _vtype618, _size616 ) = iprot.readMapBegin() - for _i620 in xrange(_size616): - _key621 = iprot.readI64() - _val622 = MetadataPpdResult() - _val622.read(iprot) - self.metadata[_key621] = _val622 + (_ktype624, _vtype625, _size623 ) = iprot.readMapBegin() + for _i627 in xrange(_size623): + _key628 = iprot.readI64() + _val629 = MetadataPpdResult() + _val629.read(iprot) + self.metadata[_key628] = _val629 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14118,9 +14178,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter623,viter624 in self.metadata.items(): - oprot.writeI64(kiter623) - viter624.write(oprot) + for kiter630,viter631 in self.metadata.items(): + oprot.writeI64(kiter630) + viter631.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14190,10 +14250,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype628, _size625) = iprot.readListBegin() - for _i629 in xrange(_size625): - _elem630 = iprot.readI64() - self.fileIds.append(_elem630) + (_etype635, _size632) = iprot.readListBegin() + for _i636 in xrange(_size632): + _elem637 = iprot.readI64() + self.fileIds.append(_elem637) iprot.readListEnd() else: iprot.skip(ftype) @@ -14225,8 +14285,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter631 in self.fileIds: - oprot.writeI64(iter631) + for iter638 in self.fileIds: + oprot.writeI64(iter638) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -14300,11 +14360,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype633, _vtype634, _size632 ) = iprot.readMapBegin() - for _i636 in xrange(_size632): - _key637 = iprot.readI64() - _val638 = iprot.readString() - self.metadata[_key637] = _val638 + (_ktype640, _vtype641, _size639 ) = iprot.readMapBegin() + for _i643 in xrange(_size639): + _key644 = iprot.readI64() + _val645 = iprot.readString() + self.metadata[_key644] = _val645 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14326,9 +14386,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter639,viter640 in self.metadata.items(): - oprot.writeI64(kiter639) - oprot.writeString(viter640) + for kiter646,viter647 in self.metadata.items(): + oprot.writeI64(kiter646) + oprot.writeString(viter647) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14389,10 +14449,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype644, _size641) = iprot.readListBegin() - for _i645 in xrange(_size641): - _elem646 = iprot.readI64() - self.fileIds.append(_elem646) + (_etype651, _size648) = iprot.readListBegin() + for _i652 in xrange(_size648): + _elem653 = iprot.readI64() + self.fileIds.append(_elem653) iprot.readListEnd() else: iprot.skip(ftype) @@ -14409,8 +14469,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter647 in self.fileIds: - oprot.writeI64(iter647) + for iter654 in self.fileIds: + oprot.writeI64(iter654) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14516,20 +14576,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype651, _size648) = iprot.readListBegin() - for _i652 in xrange(_size648): - _elem653 = iprot.readI64() - self.fileIds.append(_elem653) + (_etype658, _size655) = iprot.readListBegin() + for _i659 in xrange(_size655): + _elem660 = iprot.readI64() + self.fileIds.append(_elem660) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype657, _size654) = iprot.readListBegin() - for _i658 in xrange(_size654): - _elem659 = iprot.readString() - self.metadata.append(_elem659) + (_etype664, _size661) = iprot.readListBegin() + for _i665 in xrange(_size661): + _elem666 = iprot.readString() + self.metadata.append(_elem666) iprot.readListEnd() else: iprot.skip(ftype) @@ -14551,15 +14611,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter660 in self.fileIds: - oprot.writeI64(iter660) + for iter667 in self.fileIds: + oprot.writeI64(iter667) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter661 in self.metadata: - oprot.writeString(iter661) + for iter668 in self.metadata: + oprot.writeString(iter668) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -14667,10 +14727,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = iprot.readI64() - self.fileIds.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = iprot.readI64() + self.fileIds.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -14687,8 +14747,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter668 in self.fileIds: - oprot.writeI64(iter668) + for iter675 in self.fileIds: + oprot.writeI64(iter675) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14917,11 +14977,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = Function() - _elem674.read(iprot) - self.functions.append(_elem674) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = Function() + _elem681.read(iprot) + self.functions.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) @@ -14938,8 +14998,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter675 in self.functions: - iter675.write(oprot) + for iter682 in self.functions: + iter682.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14991,10 +15051,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = iprot.readI32() - self.values.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = iprot.readI32() + self.values.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -15011,8 +15071,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter682 in self.values: - oprot.writeI32(iter682) + for iter689 in self.values: + oprot.writeI32(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15241,10 +15301,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = iprot.readString() - self.tblNames.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readString() + self.tblNames.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -15271,8 +15331,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter689 in self.tblNames: - oprot.writeString(iter689) + for iter696 in self.tblNames: + oprot.writeString(iter696) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -15332,11 +15392,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = Table() - _elem695.read(iprot) - self.tables.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = Table() + _elem702.read(iprot) + self.tables.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -15353,8 +15413,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter696 in self.tables: - iter696.write(oprot) + for iter703 in self.tables: + iter703.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15652,10 +15712,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype700, _size697) = iprot.readSetBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readString() - self.tablesUsed.add(_elem702) + (_etype707, _size704) = iprot.readSetBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readString() + self.tablesUsed.add(_elem709) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15682,8 +15742,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 1) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter703 in self.tablesUsed: - oprot.writeString(iter703) + for iter710 in self.tablesUsed: + oprot.writeString(iter710) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -16587,44 +16647,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = WMPool() - _elem709.read(iprot) - self.pools.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = WMPool() + _elem716.read(iprot) + self.pools.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype713, _size710) = iprot.readListBegin() - for _i714 in xrange(_size710): - _elem715 = WMMapping() - _elem715.read(iprot) - self.mappings.append(_elem715) + (_etype720, _size717) = iprot.readListBegin() + for _i721 in xrange(_size717): + _elem722 = WMMapping() + _elem722.read(iprot) + self.mappings.append(_elem722) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype719, _size716) = iprot.readListBegin() - for _i720 in xrange(_size716): - _elem721 = WMTrigger() - _elem721.read(iprot) - self.triggers.append(_elem721) + (_etype726, _size723) = iprot.readListBegin() + for _i727 in xrange(_size723): + _elem728 = WMTrigger() + _elem728.read(iprot) + self.triggers.append(_elem728) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = WMPoolTrigger() - _elem727.read(iprot) - self.poolTriggers.append(_elem727) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = WMPoolTrigger() + _elem734.read(iprot) + self.poolTriggers.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -16645,29 +16705,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter728 in self.pools: - iter728.write(oprot) + for iter735 in self.pools: + iter735.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter729 in self.mappings: - iter729.write(oprot) + for iter736 in self.mappings: + iter736.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter730 in self.triggers: - iter730.write(oprot) + for iter737 in self.triggers: + iter737.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter731 in self.poolTriggers: - iter731.write(oprot) + for iter738 in self.poolTriggers: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17141,11 +17201,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = WMResourcePlan() - _elem737.read(iprot) - self.resourcePlans.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = WMResourcePlan() + _elem744.read(iprot) + self.resourcePlans.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) @@ -17162,8 +17222,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter738 in self.resourcePlans: - iter738.write(oprot) + for iter745 in self.resourcePlans: + iter745.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17467,20 +17527,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString() - self.errors.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = iprot.readString() + self.errors.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.warnings.append(_elem750) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = iprot.readString() + self.warnings.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) @@ -17497,15 +17557,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter751 in self.errors: - oprot.writeString(iter751) + for iter758 in self.errors: + oprot.writeString(iter758) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter752 in self.warnings: - oprot.writeString(iter752) + for iter759 in self.warnings: + oprot.writeString(iter759) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18082,11 +18142,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = WMTrigger() - _elem758.read(iprot) - self.triggers.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = WMTrigger() + _elem765.read(iprot) + self.triggers.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18163,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter759 in self.triggers: - iter759.write(oprot) + for iter766 in self.triggers: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19262,11 +19322,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = FieldSchema() - _elem765.read(iprot) - self.cols.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = FieldSchema() + _elem772.read(iprot) + self.cols.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -19326,8 +19386,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter766 in self.cols: - iter766.write(oprot) + for iter773 in self.cols: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -19582,11 +19642,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = SchemaVersionDescriptor() - _elem772.read(iprot) - self.schemaVersions.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = SchemaVersionDescriptor() + _elem779.read(iprot) + self.schemaVersions.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -19603,8 +19663,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter773 in self.schemaVersions: - iter773.write(oprot) + for iter780 in self.schemaVersions: + iter780.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index dd7467c503..577e29e089 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -2237,12 +2237,16 @@ class OpenTxnRequest USER = 2 HOSTNAME = 3 AGENTINFO = 4 + REPLPOLICY = 5 + REPLSRCTXNIDS = 6 FIELDS = { NUM_TXNS => {:type => ::Thrift::Types::I32, :name => 'num_txns'}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, - AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true} + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, + REPLSRCTXNIDS => {:type => ::Thrift::Types::LIST, :name => 'replSrcTxnIds', :element => {:type => ::Thrift::Types::I64}, :optional => true} } def struct_fields; FIELDS; end @@ -2276,9 +2280,11 @@ end class AbortTxnRequest include ::Thrift::Struct, ::Thrift::Struct_Union TXNID = 1 + REPLPOLICY = 2 FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'} + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true} } def struct_fields; FIELDS; end @@ -2310,9 +2316,11 @@ end class CommitTxnRequest include ::Thrift::Struct, ::Thrift::Struct_Union TXNID = 1 + REPLPOLICY = 2 FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'} + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true} } def struct_fields; FIELDS; end diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java index 0b3504d3b4..03a5e4a349 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java @@ -53,10 +53,10 @@ public static DatabaseProduct determineDatabaseProduct(String productName) throw public static boolean isDeadlock(DatabaseProduct dbProduct, SQLException e) { return e instanceof SQLTransactionRollbackException || ((dbProduct == MYSQL || dbProduct == POSTGRES || dbProduct == SQLSERVER) - && "40001".equals(e.getSQLState())) - || (dbProduct == POSTGRES && "40P01".equals(e.getSQLState())) - || (dbProduct == ORACLE && (e.getMessage() != null && (e.getMessage().contains("deadlock detected") - || e.getMessage().contains("can't serialize access for this transaction")))); + && e.getSQLState().equals("40001")) + || (dbProduct == POSTGRES && e.getSQLState().equals("40P01")) + || (dbProduct == ORACLE && (e.getMessage().contains("deadlock detected") + || e.getMessage().contains("can't serialize access for this transaction"))); } /** diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 66353e769b..32e4d099e2 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -76,6 +76,7 @@ import org.apache.hadoop.hive.metastore.cache.CachedStore; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.AddNotNullConstraintEvent; import org.apache.hadoop.hive.metastore.events.AddPartitionEvent; import org.apache.hadoop.hive.metastore.events.AddPrimaryKeyEvent; @@ -85,6 +86,7 @@ import org.apache.hadoop.hive.metastore.events.AlterPartitionEvent; import org.apache.hadoop.hive.metastore.events.AlterSchemaVersionEvent; import org.apache.hadoop.hive.metastore.events.AlterTableEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.ConfigChangeEvent; import org.apache.hadoop.hive.metastore.events.CreateDatabaseEvent; import org.apache.hadoop.hive.metastore.events.CreateFunctionEvent; @@ -100,6 +102,7 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.events.PreAddPartitionEvent; import org.apache.hadoop.hive.metastore.events.PreAlterDatabaseEvent; import org.apache.hadoop.hive.metastore.events.PreAlterISchemaEvent; @@ -165,7 +168,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import com.facebook.fb303.FacebookBase; import com.facebook.fb303.fb_status; import com.google.common.annotations.VisibleForTesting; @@ -6426,22 +6428,42 @@ public GetOpenTxnsInfoResponse get_open_txns_info() throws TException { @Override public OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws TException { - return getTxnHandler().openTxns(rqst); + OpenTxnsResponse response = getTxnHandler().openTxns(rqst); + List txnIds = response.getTxn_ids(); + if (txnIds != null && listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.OPEN_TXN, + new OpenTxnEvent(txnIds, this)); + } + return response; } @Override public void abort_txn(AbortTxnRequest rqst) throws TException { getTxnHandler().abortTxn(rqst); + if (listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(rqst.getTxnid(), this)); + } } @Override public void abort_txns(AbortTxnsRequest rqst) throws TException { getTxnHandler().abortTxns(rqst); + if (listeners != null && !listeners.isEmpty()) { + for (Long txnId : rqst.getTxn_ids()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(txnId, this)); + } + } } @Override public void commit_txn(CommitTxnRequest rqst) throws TException { getTxnHandler().commitTxn(rqst); + if (listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.COMMIT_TXN, + new CommitTxnEvent(rqst.getTxnid(), this)); + } } @Override diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 1755700b0e..bb7585d7c1 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2160,20 +2160,43 @@ public ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tabl @Override public long openTxn(String user) throws TException { - OpenTxnsResponse txns = openTxns(user, 1); + OpenTxnsResponse txns = openTxnsIntr(user, 1, null, null); return txns.getTxn_ids().get(0); } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws TException { + // As this is called from replication task, the user is the user who has fired the repl command. + // This is required for standalone metastore authentication. + OpenTxnsResponse txns = openTxnsIntr(user, srcTxnIds.size(), replPolicy, srcTxnIds); + return txns.getTxn_ids(); + } + @Override public OpenTxnsResponse openTxns(String user, int numTxns) throws TException { - String hostname = null; + return openTxnsIntr(user, numTxns, null, null); + } + + private OpenTxnsResponse openTxnsIntr(String user, int numTxns, String replPolicy, + List srcTxnIds) throws TException { + String hostname; try { hostname = InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { LOG.error("Unable to resolve my host name " + e.getMessage()); throw new RuntimeException(e); } - return client.open_txns(new OpenTxnRequest(numTxns, user, hostname)); + OpenTxnRequest rqst = new OpenTxnRequest(numTxns, user, hostname); + if (replPolicy != null) { + assert srcTxnIds != null; + assert numTxns == srcTxnIds.size(); + // need to set this only for replication tasks + rqst.setReplPolicy(replPolicy); + rqst.setReplSrcTxnIds(srcTxnIds); + } else { + assert srcTxnIds == null; + } + return client.open_txns(rqst); } @Override @@ -2181,12 +2204,27 @@ public void rollbackTxn(long txnid) throws NoSuchTxnException, TException { client.abort_txn(new AbortTxnRequest(txnid)); } + @Override + public void replRollbackTxn(long srcTxnId, String replPolicy) throws NoSuchTxnException, TException { + AbortTxnRequest rqst = new AbortTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.abort_txn(rqst); + } + @Override public void commitTxn(long txnid) - throws NoSuchTxnException, TxnAbortedException, TException { + throws NoSuchTxnException, TxnAbortedException, TException { client.commit_txn(new CommitTxnRequest(txnid)); } + @Override + public void replCommitTxn(long srcTxnId, String replPolicy) + throws NoSuchTxnException, TxnAbortedException, TException { + CommitTxnRequest rqst = new CommitTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.commit_txn(rqst); + } + @Override public GetOpenTxnsInfoResponse showTxns() throws TException { return client.get_open_txns_info(); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index f1d5066657..f82cea4ed6 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1328,6 +1328,16 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, */ long openTxn(String user) throws TException; + /** + * Initiate a transaction at the target cluster. + * @param replPolicy The replication policy to uniquely identify the source cluster. + * @param srcTxnIds The list of transaction ids at the source cluster + * @param user The user who has fired the repl load command. + * @return transaction identifiers + * @throws TException + */ + List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws TException; + /** * Initiate a batch of transactions. It is not guaranteed that the * requested number of transactions will be instantiated. The system has a @@ -1366,6 +1376,18 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, */ void rollbackTxn(long txnid) throws NoSuchTxnException, TException; + /** + * Rollback a transaction. This will also unlock any locks associated with + * this transaction. + * @param txnid id of transaction to be rolled back. + * @param replPolicy the replication policy to identify the source cluster + * @throws NoSuchTxnException if the requested transaction does not exist. + * Note that this can result from the transaction having timed out and been + * deleted. + * @throws TException + */ + void replRollbackTxn(long txnid, String replPolicy) throws NoSuchTxnException, TException; + /** * Commit a transaction. This will also unlock any locks associated with * this transaction. @@ -1380,6 +1402,21 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, void commitTxn(long txnid) throws NoSuchTxnException, TxnAbortedException, TException; + /** + * Commit a transaction. This will also unlock any locks associated with + * this transaction. + * @param txnid id of transaction to be committed. + * @param replPolicy the replication policy to identify the source cluster + * @throws NoSuchTxnException if the requested transaction does not exist. + * This can result fro the transaction having timed out and been deleted by + * the compactor. + * @throws TxnAbortedException if the requested transaction has been + * aborted. This can result from the transaction timing out. + * @throws TException + */ + void replCommitTxn(long txnid, String replPolicy) + throws NoSuchTxnException, TxnAbortedException, TException; + /** * Abort a list of transactions. This is for use by "ABORT TRANSACTIONS" in the grammar. * @throws TException diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java index 67600e1e75..3590e5e7fc 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java @@ -48,6 +48,9 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; /** * This abstract class needs to be extended to provide implementation of actions that needs @@ -164,7 +167,6 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { * @throws MetaException */ public void onInsert(InsertEvent insertEvent) throws MetaException { - } /** @@ -222,6 +224,30 @@ public void onDropSchemaVersion(DropSchemaVersionEvent dropSchemaVersionEvent) throws MetaException { } + /** + * This will be called when a new transaction is started. + * @param openTxnEvent + * @throws MetaException + */ + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + } + + /** + * This will be called to commit a transaction. + * @param commitTxnEvent + * @throws MetaException + */ + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + } + + /** + * This will be called to abort a transaction. + * @param abortTxnEvent + * @throws MetaException + */ + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + } + @Override public Configuration getConf() { return this.conf; @@ -231,7 +257,4 @@ public Configuration getConf() { public void setConf(Configuration config) { this.conf = config; } - - - } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java index f5a91b440e..596780979b 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java @@ -47,6 +47,9 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import java.util.List; import java.util.Map; @@ -200,6 +203,26 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) throws listener.onDropSchemaVersion((DropSchemaVersionEvent) event); } }) + .put(EventType.OPEN_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) throws MetaException { + listener.onOpenTxn((OpenTxnEvent)event); + } + }) + .put(EventType.COMMIT_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) + throws MetaException { + listener.onCommitTxn((CommitTxnEvent) event); + } + }) + .put(EventType.ABORT_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) + throws MetaException { + listener.onAbortTxn((AbortTxnEvent) event); + } + }) .build() ); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java new file mode 100644 index 0000000000..fe4b97432a --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; + +/** + * AbortTxnEvent + * Event generated for roll backing a transaction + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class AbortTxnEvent extends ListenerEvent { + + private final Long txnId; + + /** + * + * @param transactionId Unique identification for the transaction that got rolledback. + * @param handler handler that is firing the event + */ + public AbortTxnEvent(Long transactionId, IHMSHandler handler) { + super(true, handler); + txnId = transactionId; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java new file mode 100644 index 0000000000..9c9c93afee --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; + +/** + * CommitTxnEvent + * Event generated for commit transaction operation + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class CommitTxnEvent extends ListenerEvent { + + private final Long txnId; + + /** + * + * @param transactionId Unique identification for the transaction just got committed. + * @param handler handler that is firing the event + */ + public CommitTxnEvent(Long transactionId, IHMSHandler handler) { + super(true, handler); + txnId = transactionId; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java new file mode 100644 index 0000000000..f7e01cedb8 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; +import com.google.common.collect.Lists; +import java.util.List; + +/** + * OpenTxnEvent + * Event generated for open transaction event. + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class OpenTxnEvent extends ListenerEvent { + private List txnIds; + + /** + * + * @param txnIds List of unique identification for the transaction just opened. + * @param handler handler that is firing the event + */ + public OpenTxnEvent(List txnIds, IHMSHandler handler) { + super(true, handler); + this.txnIds = Lists.newArrayList(txnIds); + } + + /** + * @return List txnIds + */ + public List getTxnIds() { + return txnIds; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java new file mode 100644 index 0000000000..1f75585123 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java @@ -0,0 +1,36 @@ +/* * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +/** + * HCat message sent when an abort transaction is done. + */ +public abstract class AbortTxnMessage extends EventMessage { + + protected AbortTxnMessage() { + super(EventType.ABORT_TXN); + } + + /** + * Get the transaction id to be aborted. + * + * @return The TxnId + */ + public abstract Long getTxnId(); + +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java new file mode 100644 index 0000000000..49004f2260 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java @@ -0,0 +1,36 @@ +/* * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +/** + * HCat message sent when an commit transaction is done. + */ +public abstract class CommitTxnMessage extends EventMessage { + + protected CommitTxnMessage() { + super(EventType.COMMIT_TXN); + } + + /** + * Get the transaction id to be committed. + * + * @return The TxnId + */ + public abstract Long getTxnId(); + +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java index 8578d4aec9..4be2d337d6 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java @@ -53,7 +53,10 @@ DROP_ISCHEMA(MessageFactory.DROP_ISCHEMA_EVENT), ADD_SCHEMA_VERSION(MessageFactory.ADD_SCHEMA_VERSION_EVENT), ALTER_SCHEMA_VERSION(MessageFactory.ALTER_SCHEMA_VERSION_EVENT), - DROP_SCHEMA_VERSION(MessageFactory.DROP_SCHEMA_VERSION_EVENT); + DROP_SCHEMA_VERSION(MessageFactory.DROP_SCHEMA_VERSION_EVENT), + OPEN_TXN(MessageFactory.OPEN_TXN_EVENT), + COMMIT_TXN(MessageFactory.COMMIT_TXN_EVENT), + ABORT_TXN(MessageFactory.ABORT_TXN_EVENT); private String typeString; diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java index 0fd4601d7d..6583cc7c72 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java @@ -64,6 +64,12 @@ public EventMessage getEventMessage(String eventTypeString, String messageBody) return getAddNotNullConstraintMessage(messageBody); case DROP_CONSTRAINT: return getDropConstraintMessage(messageBody); + case OPEN_TXN: + return getOpenTxnMessage(messageBody); + case COMMIT_TXN: + return getCommitTxnMessage(messageBody); + case ABORT_TXN: + return getAbortTxnMessage(messageBody); default: throw new IllegalArgumentException("Unsupported event-type: " + eventTypeString); } @@ -160,6 +166,21 @@ public EventMessage getEventMessage(String eventTypeString, String messageBody) */ public abstract DropConstraintMessage getDropConstraintMessage(String messageBody); + /** + * Method to de-serialize OpenTxnMessage instance. + */ + public abstract OpenTxnMessage getOpenTxnMessage(String messageBody); + + /** + * Method to de-serialize CommitTxnMessage instance. + */ + public abstract CommitTxnMessage getCommitTxnMessage(String messageBody); + + /** + * Method to de-serialize AbortTxnMessage instance. + */ + public abstract AbortTxnMessage getAbortTxnMessage(String messageBody); + // Protection against construction. protected MessageDeserializer() {} } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java index 5976c489c7..07a0cec430 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java @@ -65,7 +65,9 @@ public static final String ADD_SCHEMA_VERSION_EVENT = "ADD_SCHEMA_VERSION"; public static final String ALTER_SCHEMA_VERSION_EVENT = "ALTER_SCHEMA_VERSION"; public static final String DROP_SCHEMA_VERSION_EVENT = "DROP_SCHEMA_VERSION"; - + public static final String OPEN_TXN_EVENT = "OPEN_TXN"; + public static final String COMMIT_TXN_EVENT = "COMMIT_TXN"; + public static final String ABORT_TXN_EVENT = "ABORT_TXN"; private static MessageFactory instance = null; @@ -235,6 +237,30 @@ public abstract AlterPartitionMessage buildAlterPartitionMessage(Table table, Pa public abstract InsertMessage buildInsertMessage(Table tableObj, Partition ptnObj, boolean replace, Iterator files); + /** + * Factory method for building open txn message + * + * @param txnIds List of ids of the newly opened transactions + * @return instance of OpenTxnMessage + */ + public abstract OpenTxnMessage buildOpenTxnMessage(List txnIds); + + /** + * Factory method for building commit txn message + * + * @param txnId Id of the transaction to be committed + * @return instance of CommitTxnMessage + */ + public abstract CommitTxnMessage buildCommitTxnMessage(Long txnId); + + /** + * Factory method for building abort txn message + * + * @param txnId Id of the transaction to be aborted + * @return instance of AbortTxnMessage + */ + public abstract AbortTxnMessage buildAbortTxnMessage(Long txnId); + /*** * Factory method for building add primary key message * diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java new file mode 100644 index 0000000000..491344f366 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +import java.util.List; + +/** + * HCat message sent when an open transaction is done. + */ +public abstract class OpenTxnMessage extends EventMessage { + + protected OpenTxnMessage() { + super(EventType.OPEN_TXN); + } + + /** + * Get the list of txns opened + * @return The lists of TxnIds + */ + public abstract List getTxnIds(); +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java index 50420c8d37..09292a32a7 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.metastore.messaging.event.filters; import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.metastore.messaging.MessageFactory; import java.util.regex.Pattern; @@ -39,10 +40,17 @@ public DatabaseAndTableFilter(final String databaseNameOrPattern, final String t this.tableName = tableName; } + private boolean isTxnRelatedEvent(final NotificationEvent event) { + return ((event.getEventType().equals(MessageFactory.OPEN_TXN_EVENT)) || + (event.getEventType().equals(MessageFactory.COMMIT_TXN_EVENT)) || + (event.getEventType().equals(MessageFactory.ABORT_TXN_EVENT)) + ); + } + @Override boolean shouldAccept(final NotificationEvent event) { - if (dbPattern == null) { - return true; // if our dbName is null, we're interested in all wh events + if ((dbPattern == null) || isTxnRelatedEvent(event)) { + return true; } if (dbPattern.matcher(event.getDbName()).matches()) { if ((tableName == null) diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java new file mode 100644 index 0000000000..f169fc0583 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; + +/** + * JSON implementation of AbortTxnMessage + */ +public class JSONAbortTxnMessage extends AbortTxnMessage { + + @JsonProperty + private Long txnid; + + @JsonProperty + private Long timestamp; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONAbortTxnMessage() { + } + + public JSONAbortTxnMessage(String server, String servicePrincipal, Long txnid, Long timestamp) { + this.timestamp = timestamp; + this.txnid = txnid; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + @Override + public Long getTxnId() { + return txnid; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java new file mode 100644 index 0000000000..595a3d1b57 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; + +/** + * JSON implementation of CommitTxnMessage + */ +public class JSONCommitTxnMessage extends CommitTxnMessage { + + @JsonProperty + private Long txnid; + + @JsonProperty + private Long timestamp; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONCommitTxnMessage() { + } + + public JSONCommitTxnMessage(String server, String servicePrincipal, Long txnid, Long timestamp) { + this.timestamp = timestamp; + this.txnid = txnid; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + @Override + public Long getTxnId() { + return txnid; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java index a8ee6916b0..d019ec1263 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java @@ -37,6 +37,9 @@ import org.apache.hadoop.hive.metastore.messaging.DropTableMessage; import org.apache.hadoop.hive.metastore.messaging.InsertMessage; import org.apache.hadoop.hive.metastore.messaging.MessageDeserializer; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; @@ -220,4 +223,31 @@ public DropConstraintMessage getDropConstraintMessage(String messageBody) { throw new IllegalArgumentException("Could not construct DropConstraintMessage", e); } } + + @Override + public OpenTxnMessage getOpenTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONOpenTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct OpenTxnMessage", e); + } + } + + @Override + public CommitTxnMessage getCommitTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONCommitTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct CommitTxnMessage", e); + } + } + + @Override + public AbortTxnMessage getAbortTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONAbortTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct AbortTxnMessage", e); + } + } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java index 4f03a27ed7..03ec78c793 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java @@ -57,6 +57,9 @@ import org.apache.hadoop.hive.metastore.messaging.MessageDeserializer; import org.apache.hadoop.hive.metastore.messaging.MessageFactory; import org.apache.hadoop.hive.metastore.messaging.PartitionFiles; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; import org.apache.thrift.TBase; import org.apache.thrift.TDeserializer; import org.apache.thrift.TException; @@ -190,6 +193,21 @@ public DropConstraintMessage buildDropConstraintMessage(String dbName, String ta constraintName, now()); } + @Override + public OpenTxnMessage buildOpenTxnMessage(List txnIds) { + return new JSONOpenTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnIds, now()); + } + + @Override + public CommitTxnMessage buildCommitTxnMessage(Long txnId) { + return new JSONCommitTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnId, now()); + } + + @Override + public AbortTxnMessage buildAbortTxnMessage(Long txnId) { + return new JSONAbortTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnId, now()); + } + private long now() { return System.currentTimeMillis() / 1000; } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java new file mode 100644 index 0000000000..ddefb03088 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java @@ -0,0 +1,89 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; +import java.util.List; + +/** + * JSON implementation of OpenTxnMessage + */ +public class JSONOpenTxnMessage extends OpenTxnMessage { + + @JsonProperty + private List txnIds; + + @JsonProperty + private Long timestamp; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONOpenTxnMessage() { + } + + public JSONOpenTxnMessage(String server, String servicePrincipal, List txnIds, Long timestamp) { + this.timestamp = timestamp; + this.txnIds = txnIds; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + @Override + public List getTxnIds() { + return txnIds; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} + diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java index 588f3357b4..85a8aab32d 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java @@ -180,6 +180,27 @@ public static void prepDb(Configuration conf) throws Exception { " WS_COMMIT_ID bigint NOT NULL," + " WS_OPERATION_TYPE char(1) NOT NULL)" ); + + stmt.execute("CREATE TABLE REPL_TXN_MAP (" + + " RTM_REPL_POLICY varchar(256) NOT NULL, " + + " RTM_SRC_TXN_ID bigint NOT NULL, " + + " RTM_TARGET_TXN_ID bigint NOT NULL, " + + " PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID))" + ); + + stmt.execute("CREATE TABLE \"APP\".\"SEQUENCE_TABLE\" (\"SEQUENCE_NAME\" VARCHAR(256) NOT " + + "NULL, \"NEXT_VAL\" BIGINT NOT NULL)" + ); + + stmt.execute("CREATE TABLE \"APP\".\"NOTIFICATION_SEQUENCE\" (\"NNI_ID\" BIGINT NOT NULL, " + + "\"NEXT_EVENT_ID\" BIGINT NOT NULL)" + ); + + stmt.execute("CREATE TABLE \"APP\".\"NOTIFICATION_LOG\" (\"NL_ID\" BIGINT NOT NULL, " + + "\"DB_NAME\" VARCHAR(128), \"EVENT_ID\" BIGINT NOT NULL, \"EVENT_TIME\" INTEGER NOT" + + " NULL, \"EVENT_TYPE\" VARCHAR(32) NOT NULL, \"MESSAGE\" CLOB, \"TBL_NAME\" VARCHAR" + + "(256), \"MESSAGE_FORMAT\" VARCHAR(16))" + ); } catch (SQLException e) { try { conn.rollback(); @@ -201,6 +222,15 @@ public static void prepDb(Configuration conf) throws Exception { throw e; } } finally { + stmt.execute("INSERT INTO \"APP\".\"SEQUENCE_TABLE\" (\"SEQUENCE_NAME\", \"NEXT_VAL\") " + + "SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', " + + "1)) tmp_table WHERE NOT EXISTS ( SELECT \"NEXT_VAL\" FROM \"APP\"" + + ".\"SEQUENCE_TABLE\" WHERE \"SEQUENCE_NAME\" = 'org.apache.hadoop.hive.metastore" + + ".model.MNotificationLog')"); + + stmt.execute("INSERT INTO \"APP\".\"NOTIFICATION_SEQUENCE\" (\"NNI_ID\", \"NEXT_EVENT_ID\")" + + " SELECT * FROM (VALUES (1,1)) tmp_table WHERE NOT EXISTS ( SELECT " + + "\"NEXT_EVENT_ID\" FROM \"APP\".\"NOTIFICATION_SEQUENCE\")"); deadlockCnt = 0; closeResources(conn, stmt, null); } @@ -241,6 +271,7 @@ public static void cleanDb(Configuration conf) throws Exception { success &= dropTable(stmt, "COMPLETED_COMPACTIONS", retryCount); success &= dropTable(stmt, "AUX_TABLE", retryCount); success &= dropTable(stmt, "WRITE_SET", retryCount); + success &= dropTable(stmt, "REPL_TXN_MAP", retryCount); } finally { closeResources(conn, stmt, null); } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index e453e5a7d2..61a2e2eb99 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -119,6 +119,11 @@ import org.apache.hadoop.hive.metastore.datasource.BoneCPDataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.DataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.HikariCPDataSourceProvider; +import org.apache.hadoop.hive.metastore.messaging.EventMessage; +import org.apache.hadoop.hive.metastore.messaging.MessageFactory; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; import org.apache.hadoop.hive.metastore.metrics.Metrics; import org.apache.hadoop.hive.metastore.metrics.MetricsConstants; import org.apache.hadoop.hive.metastore.tools.SQLGenerator; @@ -127,8 +132,8 @@ import org.apache.hadoop.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import com.google.common.annotations.VisibleForTesting; +import static org.apache.hadoop.hive.metastore.DatabaseProduct.MYSQL; /** * A handler to answer transaction related calls that come into the metastore @@ -558,6 +563,29 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { if (numTxns > maxTxns) numTxns = maxTxns; stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + List inQueries = new ArrayList<>(); + StringBuilder prefix = new StringBuilder(); + StringBuilder suffix = new StringBuilder(); + + prefix.append("select RTM_TARGET_TXN_ID from REPL_TXN_MAP where "); + suffix.append(" and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy())); + + TxnUtils.buildQueryWithINClause(conf, inQueries, prefix, suffix, rqst.getReplSrcTxnIds(), + "RTM_SRC_TXN_ID", false, false); + + for (String query : inQueries) { + LOG.debug("Going to execute select <" + query + ">"); + rs = stmt.executeQuery(query); + if (rs.next()) { + LOG.info("Transactions " + rqst.getReplSrcTxnIds().toString() + + " are already present for repl policy " + rqst.getReplPolicy()); + return new OpenTxnsResponse(new ArrayList<>()); + } + } + } + String s = sqlGenerator.addForUpdateClause("select ntxn_next from NEXT_TXN_ID"); LOG.debug("Going to execute query <" + s + ">"); rs = stmt.executeQuery(s); @@ -584,6 +612,28 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { LOG.debug("Going to execute update <" + q + ">"); stmt.execute(q); } + + if (rqst.isSetReplPolicy()) { + List rowsRepl = new ArrayList<>(); + + for (int i = 0; i < numTxns; i++) { + rowsRepl.add( + quoteString(rqst.getReplPolicy()) + "," + rqst.getReplSrcTxnIds().get(i) + "," + txnIds.get(i)); + } + + List queriesRepl = sqlGenerator.createInsertValuesStmt( + "REPL_TXN_MAP (RTM_REPL_POLICY, RTM_SRC_TXN_ID, RTM_TARGET_TXN_ID)", rowsRepl); + + for (String query : queriesRepl) { + LOG.debug("Going to execute insert <" + query + ">"); + stmt.execute(query); + } + } + + MessageFactory msgFactory = MessageFactory.getInstance(); + OpenTxnMessage msg = msgFactory.buildOpenTxnMessage(txnIds); + addNotificationLog(stmt, EventMessage.EventType.OPEN_TXN.toString(), msg.toString(), + msg.getDB(), msgFactory.getMessageFormat()); LOG.debug("Going to commit"); dbConn.commit(); return new OpenTxnsResponse(txnIds); @@ -601,20 +651,115 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { return openTxns(rqst); } } + + private void addNotificationLog(Statement stmt, String eventType, String msg, String db, String msgFormat) + throws MetaException, SQLException { + if (sqlGenerator.getDbProduct() == MYSQL) { + stmt.execute("SET @@session.sql_mode=ANSI_QUOTES"); + } + + String s = sqlGenerator.addForUpdateClause("select \"NEXT_EVENT_ID\" " + + " from \"NOTIFICATION_SEQUENCE\""); + LOG.debug("Going to execute query <" + s + ">"); + ResultSet rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("Transaction database not properly " + + "configured, can't find next event id."); + } + long nextEventId = rs.getLong(1); + long updatedEventid = nextEventId + 1; + s = "update \"NOTIFICATION_SEQUENCE\" set \"NEXT_EVENT_ID\" = " + updatedEventid; + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + + s = sqlGenerator.addForUpdateClause("select \"NEXT_VAL\" from " + + "\"SEQUENCE_TABLE\" where \"SEQUENCE_NAME\" = " + + " 'org.apache.hadoop.hive.metastore.model.MNotificationLog'"); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("Transaction database not properly " + + "configured, can't find next event id."); + } + + long nextNLId = rs.getLong(1); + long updatedNLId = nextNLId + 1; + s = "update \"SEQUENCE_TABLE\" set \"NEXT_VAL\" = " + updatedNLId + " where \"SEQUENCE_NAME\" = " + + " 'org.apache.hadoop.hive.metastore.model.MNotificationLog'"; + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + + List insert = new ArrayList<>(); + int trimmedNow; + + long millis = System.currentTimeMillis(); + millis /= 1000; + if (millis > Integer.MAX_VALUE) { + LOG.warn("We've passed max int value in seconds since the epoch, " + + "all notification times will be the same!"); + trimmedNow = Integer.MAX_VALUE; + } else { + trimmedNow = (int) millis; + } + + insert.add(0, nextNLId + "," + nextEventId + "," + trimmedNow + "," + + quoteString(eventType) + "," + quoteString(db) + "," + + quoteString(" ") + "," + quoteString(msg) + "," + + quoteString(msgFormat)); + + List sql = sqlGenerator.createInsertValuesStmt( + "\"NOTIFICATION_LOG\" (\"NL_ID\", \"EVENT_ID\", \"EVENT_TIME\", " + + " \"EVENT_TYPE\", \"DB_NAME\"," + + " \"TBL_NAME\", \"MESSAGE\", \"MESSAGE_FORMAT\")", insert); + for (String q : sql) { + LOG.info("Going to execute insert <" + q + ">"); + stmt.execute(q); + } + } + + private Long getTargetTxnId(String replPolicy, long sourceTxnId, Statement stmt) throws SQLException { + ResultSet rs; + String s = "select RTM_TARGET_TXN_ID from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(replPolicy); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + LOG.info("Target txn is missing for the input source txn for ReplPolicy: " + + quoteString(replPolicy) + " , srcTxnId: " + sourceTxnId); + return -1L; + } + LOG.debug("targetTxnid for srcTxnId " + sourceTxnId + " is " + rs.getLong(1)); + return rs.getLong(1); + } + @Override @RetrySemantics.Idempotent public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException, TxnAbortedException { long txnid = rqst.getTxnid(); + long sourceTxnId = -1; try { Connection dbConn = null; Statement stmt = null; try { lockInternal(); dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + sourceTxnId = rqst.getTxnid(); + txnid = getTargetTxnId(rqst.getReplPolicy(), sourceTxnId, stmt); + if (txnid == -1) { + return; + } + } + if (abortTxns(dbConn, Collections.singletonList(txnid), true) != 1) { - stmt = dbConn.createStatement(); TxnStatus status = findTxnState(txnid,stmt); if(status == TxnStatus.ABORTED) { + if (rqst.isSetReplPolicy()) { + // in case of replication, idempotent is taken care by getTargetTxnId + LOG.warn("Invalid state for transactions started using replication replay task"); + } LOG.info("abortTxn(" + JavaUtils.txnIdToString(txnid) + ") requested by it is already " + TxnStatus.ABORTED); return; @@ -622,6 +767,17 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept raiseTxnUnexpectedState(status, txnid); } + if (rqst.isSetReplPolicy()) { + String s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); + LOG.debug("Going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + MessageFactory msgFactory = MessageFactory.getInstance(); + AbortTxnMessage msg = msgFactory.buildAbortTxnMessage(txnid); + addNotificationLog(stmt, EventMessage.EventType.ABORT_TXN.toString(), msg.toString(), + msg.getDB(), msgFactory.getMessageFormat()); LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -638,6 +794,7 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept abortTxn(rqst); } } + @Override @RetrySemantics.Idempotent public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException { @@ -653,6 +810,14 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce (txnids.size() - numAborted) + " transactions have been aborted or committed, or the transaction ids are invalid."); } + + Statement stmt = dbConn.createStatement(); + for (Long txnId : txnids) { + MessageFactory msgFactory = MessageFactory.getInstance(); + AbortTxnMessage msg = msgFactory.buildAbortTxnMessage(txnId); + addNotificationLog(stmt, EventMessage.EventType.ABORT_TXN.toString(), msg.toString(), + msg.getDB(), msgFactory.getMessageFormat()); + } LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -699,6 +864,7 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce public void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException { long txnid = rqst.getTxnid(); + long sourceTxnId = -1; try { Connection dbConn = null; Statement stmt = null; @@ -708,6 +874,15 @@ public void commitTxn(CommitTxnRequest rqst) lockInternal(); dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + sourceTxnId = rqst.getTxnid(); + txnid = getTargetTxnId(rqst.getReplPolicy(), sourceTxnId, stmt); + if (txnid == -1) { + return; + } + } + /** * Runs at READ_COMMITTED with S4U on TXNS row for "txnid". S4U ensures that no other * operation can change this txn (such acquiring locks). While lock() and commitTxn() @@ -719,6 +894,10 @@ public void commitTxn(CommitTxnRequest rqst) //if here, txn was not found (in expected state) TxnStatus actualTxnStatus = findTxnState(txnid, stmt); if(actualTxnStatus == TxnStatus.COMMITTED) { + if (rqst.isSetReplPolicy()) { + // in case of replication, idempotent is taken care by getTargetTxnId + LOG.warn("Invalid state for transactions started using replication replay task"); + } /** * This makes the operation idempotent * (assume that this is most likely due to retry logic) @@ -857,6 +1036,19 @@ public void commitTxn(CommitTxnRequest rqst) rs.getString(1), rs.getString(2), txnid, rs.getTimestamp(3, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); } + + if (rqst.isSetReplPolicy()) { + s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); + LOG.debug("Repl going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + MessageFactory msgFactory = MessageFactory.getInstance(); + CommitTxnMessage msg = msgFactory.buildCommitTxnMessage(txnid); + addNotificationLog(stmt, EventMessage.EventType.COMMIT_TXN.toString(), msg.toString(), + msg.getDB(), msgFactory.getMessageFormat()); + close(rs); dbConn.commit(); } catch (SQLException e) { diff --git a/standalone-metastore/src/main/resources/package.jdo b/standalone-metastore/src/main/resources/package.jdo index 7612509377..6691568938 100644 --- a/standalone-metastore/src/main/resources/package.jdo +++ b/standalone-metastore/src/main/resources/package.jdo @@ -1080,6 +1080,8 @@ + + diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql index de9688d111..5d8ab699f5 100644 --- a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql @@ -140,6 +140,8 @@ CREATE TABLE "APP"."MV_TABLES_USED" ( INSERT INTO "APP"."NOTIFICATION_SEQUENCE" ("NNI_ID", "NEXT_EVENT_ID") SELECT * FROM (VALUES (1,1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_EVENT_ID" FROM "APP"."NOTIFICATION_SEQUENCE"); +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- ---------------------------------------------- -- DDL Statements for indexes -- ---------------------------------------------- @@ -573,6 +575,12 @@ CREATE TABLE "APP"."SCHEMA_VERSION" ( CREATE UNIQUE INDEX "APP"."UNIQUE_SCHEMA_VERSION" ON "APP"."SCHEMA_VERSION" ("SCHEMA_ID", "VERSION"); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 9f187f9333..626a867267 100644 --- a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -161,3 +161,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE "APP"."KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE "APP"."HIVE_LOCKS" ALTER COLUMN "HL_TXNID" NOT NULL; + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 68237ec1fa..d7fc9b1aaf 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql @@ -1181,6 +1181,27 @@ CREATE TABLE "SCHEMA_VERSION" ( unique ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY nvarchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL +); + +ALTER TABLE REPL_TXN_MAP ADD CONSTRAINT REPL_TXN_MAP_PK PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID); + +-- Table SEQUENCE_TABLE is an internal table required by DataNucleus. +-- NOTE: Some versions of SchemaTool do not automatically generate this table. +-- See http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-416 +CREATE TABLE SEQUENCE_TABLE +( + SEQUENCE_NAME nvarchar(256) NOT NULL, + NEXT_VAL bigint NOT NULL +); + +CREATE UNIQUE INDEX PART_TABLE_PK ON SEQUENCE_TABLE (SEQUENCE_NAME); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog', 1 WHERE NOT EXISTS (SELECT NEXT_VAL FROM SEQUENCE_TABLE where SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql index 0b5f8a4d84..9759c94374 100644 --- a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql @@ -214,3 +214,24 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); ALTER TABLE HIVE_LOCKS MODIFY ALTER COLUMN HL_TXNID bigint NOT NULL; + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY nvarchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL +); + +ALTER TABLE REPL_TXN_MAP ADD CONSTRAINT REPL_TXN_MAP_PK PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID); + +-- Table SEQUENCE_TABLE is an internal table required by DataNucleus. +-- NOTE: Some versions of SchemaTool do not automatically generate this table. +-- See http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-416 +CREATE TABLE SEQUENCE_TABLE +( + SEQUENCE_NAME nvarchar(256) NOT NULL, + NEXT_VAL bigint NOT NULL +); + +CREATE UNIQUE INDEX PART_TABLE_PK ON SEQUENCE_TABLE (SEQUENCE_NAME); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog', 1 WHERE NOT EXISTS (SELECT NEXT_VAL FROM SEQUENCE_TABLE where SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql index 3e2db2ab00..211a9803b0 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql @@ -426,6 +426,8 @@ CREATE TABLE IF NOT EXISTS `SEQUENCE_TABLE` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +INSERT INTO `SEQUENCE_TABLE` (`SEQUENCE_NAME`, `NEXT_VAL`) SELECT * from (select 'org.apache.hadoop.hive.metastore.model.MNotificationLog' as `SEQUENCE_NAME`, 1 as `NEXT_VAL`) a WHERE (SELECT COUNT(*) FROM `SEQUENCE_TABLE` where SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog') = 0; + -- -- Table structure for table `SERDES` -- @@ -1121,6 +1123,13 @@ CREATE TABLE `SCHEMA_VERSION` ( KEY `UNIQUE_VERSION` (`SCHEMA_ID`, `VERSION`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql index d7c49e4d77..553b8eb681 100644 --- a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql @@ -204,3 +204,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE `KEY_CONSTRAINTS` ADD COLUMN `DEFAULT_VALUE` VARCHAR(400); ALTER TABLE `HIVE_LOCKS` MODIFY COLUMN `HL_TXNID` NOT NULL; + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +INSERT INTO `SEQUENCE_TABLE` (`SEQUENCE_NAME`, `NEXT_VAL`) SELECT * from (select 'org.apache.hadoop.hive.metastore.model.MNotificationLog' as `SEQUENCE_NAME`, 1 as `NEXT_VAL`) a WHERE (SELECT COUNT(*) FROM `SEQUENCE_TABLE` where SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog') = 0; diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql index 09c40ada49..88903f2265 100644 --- a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql @@ -9,6 +9,8 @@ CREATE TABLE SEQUENCE_TABLE ALTER TABLE SEQUENCE_TABLE ADD CONSTRAINT PART_TABLE_PK PRIMARY KEY (SEQUENCE_NAME); +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 FROM DUAL WHERE NOT EXISTS ( SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- Table NUCLEUS_TABLES is an internal table required by DataNucleus. -- This table is required if datanucleus.autoStartMechanism=SchemaTable -- NOTE: Some versions of SchemaTool do not automatically generate this table. @@ -600,6 +602,8 @@ CREATE TABLE NOTIFICATION_SEQUENCE ALTER TABLE NOTIFICATION_SEQUENCE ADD CONSTRAINT NOTIFICATION_SEQUENCE_PK PRIMARY KEY (NNI_ID); +INSERT INTO NOTIFICATION_SEQUENCE (NNI_ID, NEXT_EVENT_ID) SELECT 1,1 FROM DUAL WHERE NOT EXISTS ( SELECT NEXT_EVENT_ID FROM NOTIFICATION_SEQUENCE); + -- Tables to manage resource plans. CREATE TABLE WM_RESOURCEPLAN @@ -1089,6 +1093,13 @@ CREATE TABLE "SCHEMA_VERSION" ( UNIQUE ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID number(19) NOT NULL, + RTM_TARGET_TXN_ID number(19) NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql index 51eff3ecfc..dc53592548 100644 --- a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql @@ -224,3 +224,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID number(19); ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); ALTER TABLE HIVE_LOCKS MODIFY(HL_TXNID NOT NULL); + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID number(19) NOT NULL, + RTM_TARGET_TXN_ID number(19) NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 FROM DUAL WHERE NOT EXISTS ( SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql index 69317b0e09..b7b7c78b32 100644 --- a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql @@ -311,6 +311,7 @@ CREATE TABLE "SEQUENCE_TABLE" ( "NEXT_VAL" bigint NOT NULL ); +INSERT INTO "SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); -- -- Name: SERDES; Type: TABLE; Schema: public; Owner: hiveuser; Tablespace: @@ -1781,6 +1782,13 @@ CREATE TABLE "SCHEMA_VERSION" ( unique ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql index 2766568330..c0a0d39d26 100644 --- a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql @@ -239,3 +239,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE "KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE HIVE_LOCKS ALTER COLUMN HL_TXNID SET NOT NULL; + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index ef63eabe44..18260d83e6 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -762,6 +762,8 @@ struct OpenTxnRequest { 2: required string user, 3: required string hostname, 4: optional string agentInfo = "Unknown", + 5: optional string replPolicy, + 6: optional list replSrcTxnIds, } struct OpenTxnsResponse { @@ -770,6 +772,7 @@ struct OpenTxnsResponse { struct AbortTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } struct AbortTxnsRequest { @@ -778,6 +781,7 @@ struct AbortTxnsRequest { struct CommitTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } // Request msg to get the valid write ids list for the given list of tables wrt to input validTxnList diff --git a/storage-api/src/java/org/apache/hadoop/hive/common/io/DataCache.java b/storage-api/src/java/org/apache/hadoop/hive/common/io/DataCache.java index 2ac0a18a50..795739bfe8 100644 --- a/storage-api/src/java/org/apache/hadoop/hive/common/io/DataCache.java +++ b/storage-api/src/java/org/apache/hadoop/hive/common/io/DataCache.java @@ -60,7 +60,25 @@ DiskRangeList getFileData(Object fileKey, DiskRangeList range, long baseOffset, DiskRangeListFactory factory, BooleanRef gotAllData); - @Deprecated + /** + * Puts file data into cache, or gets older data in case of collisions. + * + * The memory buffers provided MUST be allocated via an allocator returned by getAllocator + * method, to allow cache implementations that evict and then de-allocate the buffer. + * + * It is assumed that the caller will use the data immediately, therefore any buffers provided + * to putFileData (or returned due to cache collision) are locked in cache to prevent eviction, + * and must therefore be released back to cache via a corresponding call (releaseBuffer) when the + * caller is done with it. Buffers rejected due to conflict will neither be locked, nor + * automatically deallocated. The caller must take care to discard these buffers. + * + * @param fileKey Unique ID of the target file on the file system. + * @param ranges The ranges for which the data is being cached. These objects will not be stored. + * @param data The data for the corresponding ranges. + * @param baseOffset base offset for the ranges (stripe/stream offset in case of ORC). + * @return null if all data was put; bitmask indicating which chunks were not put otherwise; + * the replacement chunks from cache are updated directly in the array. + */ long[] putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] data, long baseOffset); /** @@ -88,27 +106,4 @@ DiskRangeList getFileData(Object fileKey, DiskRangeList range, long baseOffset, * @return the factory */ Allocator.BufferObjectFactory getDataBufferFactory(); - - - /** - * Puts file data into cache, or gets older data in case of collisions. - * - * The memory buffers provided MUST be allocated via an allocator returned by getAllocator - * method, to allow cache implementations that evict and then de-allocate the buffer. - * - * It is assumed that the caller will use the data immediately, therefore any buffers provided - * to putFileData (or returned due to cache collision) are locked in cache to prevent eviction, - * and must therefore be released back to cache via a corresponding call (releaseBuffer) when the - * caller is done with it. Buffers rejected due to conflict will neither be locked, nor - * automatically deallocated. The caller must take care to discard these buffers. - * - * @param fileKey Unique ID of the target file on the file system. - * @param ranges The ranges for which the data is being cached. These objects will not be stored. - * @param data The data for the corresponding ranges. - * @param baseOffset base offset for the ranges (stripe/stream offset in case of ORC). - * @return null if all data was put; bitmask indicating which chunks were not put otherwise; - * the replacement chunks from cache are updated directly in the array. - */ - long[] putFileData(Object fileKey, DiskRange[] ranges, - MemoryBuffer[] data, long baseOffset, String tag); } diff --git a/storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java b/storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java index d1da7f5de8..b417bd36de 100644 --- a/storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java +++ b/storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java @@ -32,20 +32,6 @@ */ MemoryBufferOrBuffers getFileMetadata(Object fileKey); - @Deprecated - MemoryBufferOrBuffers putFileMetadata( - Object fileKey, int length, InputStream is) throws IOException; - - @Deprecated - MemoryBufferOrBuffers putFileMetadata(Object fileKey, ByteBuffer tailBuffer); - - /** - * Releases the buffer returned from getFileMetadata or putFileMetadata method. - * @param buffer The buffer to release. - */ - void decRefBuffer(MemoryBufferOrBuffers buffer); - - /** * Puts the metadata for a given file (e.g. a footer buffer into cache). * @param fileKey The file key. @@ -55,7 +41,13 @@ MemoryBufferOrBuffers putFileMetadata( * The caller must decref this buffer when done. */ MemoryBufferOrBuffers putFileMetadata( - Object fileKey, int length, InputStream is, String tag) throws IOException; + Object fileKey, int length, InputStream is) throws IOException; + + MemoryBufferOrBuffers putFileMetadata(Object fileKey, ByteBuffer tailBuffer); - MemoryBufferOrBuffers putFileMetadata(Object fileKey, ByteBuffer tailBuffer, String tag); + /** + * Releases the buffer returned from getFileMetadata or putFileMetadata method. + * @param buffer The buffer to release. + */ + void decRefBuffer(MemoryBufferOrBuffers buffer); } \ No newline at end of file