public class HiveStrictManagedMigration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveStrictManagedMigration.TableMigrationOption |
| Modifier and Type | Method and Description |
|---|---|
static HiveStrictManagedMigration.TableMigrationOption |
determineMigrationTypeAutomatically(org.apache.hadoop.hive.metastore.api.Table tableObj,
TableType tableType,
String ownerName,
org.apache.hadoop.conf.Configuration conf,
IMetaStoreClient hms,
Boolean isPathOwnedByHive) |
static org.apache.hadoop.hive.ql.util.HiveStrictManagedMigration.HiveUpdater |
getHiveUpdater(HiveConf conf) |
static void |
main(String[] args) |
static boolean |
migrateTable(org.apache.hadoop.hive.metastore.api.Table tableObj,
TableType tableType,
HiveStrictManagedMigration.TableMigrationOption migrationOption,
boolean dryRun,
org.apache.hadoop.hive.ql.util.HiveStrictManagedMigration.HiveUpdater hiveUpdater,
IMetaStoreClient hms,
org.apache.hadoop.conf.Configuration conf) |
public static boolean migrateTable(org.apache.hadoop.hive.metastore.api.Table tableObj, TableType tableType, HiveStrictManagedMigration.TableMigrationOption migrationOption, boolean dryRun, org.apache.hadoop.hive.ql.util.HiveStrictManagedMigration.HiveUpdater hiveUpdater, IMetaStoreClient hms, org.apache.hadoop.conf.Configuration conf) throws HiveException, IOException, org.apache.thrift.TException
HiveExceptionIOExceptionorg.apache.thrift.TExceptionpublic static HiveStrictManagedMigration.TableMigrationOption determineMigrationTypeAutomatically(org.apache.hadoop.hive.metastore.api.Table tableObj, TableType tableType, String ownerName, org.apache.hadoop.conf.Configuration conf, IMetaStoreClient hms, Boolean isPathOwnedByHive) throws IOException, org.apache.hadoop.hive.metastore.api.MetaException, org.apache.thrift.TException
IOExceptionorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.thrift.TExceptionpublic static org.apache.hadoop.hive.ql.util.HiveStrictManagedMigration.HiveUpdater getHiveUpdater(HiveConf conf) throws HiveException
HiveExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.