| Modifier and Type | Method and Description |
|---|---|
static boolean |
DDLUtils.allowOperationInReplicationScope(Hive db,
String tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec)
Validate if the given table/partition is eligible for update.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AbstractAlterDatabaseDesc.getReplicationSpec() |
| Constructor and Description |
|---|
AbstractAlterDatabaseDesc(String databaseName,
ReplicationSpec replicationSpec) |
| Constructor and Description |
|---|
AlterDatabaseSetOwnerDesc(String databaseName,
PrincipalDesc ownerPrincipal,
ReplicationSpec replicationSpec) |
| Constructor and Description |
|---|
AlterDatabaseSetPropertiesDesc(String databaseName,
Map<String,String> dbProperties,
ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
DropDatabaseDesc.getReplicationSpec() |
| Constructor and Description |
|---|
DropDatabaseDesc(String databaseName,
boolean ifExists,
boolean cascade,
ReplicationSpec replicationSpec) |
DropDatabaseDesc(String databaseName,
boolean ifExists,
ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
CreateFunctionDesc.getReplicationSpec() |
| Constructor and Description |
|---|
CreateFunctionDesc(String name,
String className,
boolean isTemporary,
List<org.apache.hadoop.hive.metastore.api.ResourceUri> resources,
ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
DropFunctionDesc.getReplicationSpec() |
| Constructor and Description |
|---|
DropFunctionDesc(String name,
boolean isTemporary,
ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AbstractAlterTableDesc.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AlterTableUtils.allowOperationInReplicationScope(Hive db,
String tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec)
Validate if the given table/partition is eligible for update.
|
| Constructor and Description |
|---|
AbstractAlterTableDesc(AlterTableType type,
TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean isCascade,
boolean expectView,
Map<String,String> props) |
AbstractAlterTableWithConstraintsDesc(AlterTableType type,
TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean isCascade,
boolean expectView,
Map<String,String> props,
Constraints constraints) |
| Constructor and Description |
|---|
AlterTableAddConstraintDesc(TableName tableName,
ReplicationSpec replicationSpec,
Constraints constraints) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AlterTableDropConstraintDesc.getReplicationSpec() |
| Constructor and Description |
|---|
AlterTableDropConstraintDesc(TableName tableName,
ReplicationSpec replicationSpec,
String constraintName) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
CreateTableDesc.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
CreateTableDesc.setReplicationSpec(ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
DropTableDesc.getReplicationSpec() |
| Constructor and Description |
|---|
DropTableDesc(String tableName,
boolean ifExists,
boolean ifPurge,
ReplicationSpec replicationSpec) |
DropTableDesc(String tableName,
boolean ifExists,
boolean purge,
ReplicationSpec replicationSpec,
boolean validationRequired) |
| Constructor and Description |
|---|
AlterTableSetPropertiesDesc(TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean expectView,
Map<String,String> props,
boolean isExplicitStatsUpdate,
boolean isFullAcidConversion,
org.apache.hadoop.hive.metastore.api.EnvironmentContext environmentContext) |
AlterTableUnsetPropertiesDesc(TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean expectView,
Map<String,String> props,
boolean isExplicitStatsUpdate,
org.apache.hadoop.hive.metastore.api.EnvironmentContext environmentContext) |
| Constructor and Description |
|---|
AlterTableRenameDesc(TableName tableName,
ReplicationSpec replicationSpec,
boolean expectView,
String newName) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
TruncateTableDesc.getReplicationSpec() |
| Constructor and Description |
|---|
TruncateTableDesc(TableName tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec) |
TruncateTableDesc(TableName tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec,
Table table) |
TruncateTableDesc(TableName tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec,
Table table,
List<Integer> columnIndexes,
org.apache.hadoop.fs.Path inputDir,
org.apache.hadoop.fs.Path outputDir,
ListBucketingCtx lbCtx) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AlterTableAddPartitionDesc.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
AlterTableAddPartitionDesc.setReplicationSpec(ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AlterTableDropPartitionDesc.getReplicationSpec() |
| Constructor and Description |
|---|
AlterTableDropPartitionDesc(TableName tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean ifPurge,
ReplicationSpec replicationSpec) |
AlterTableDropPartitionDesc(TableName tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean ifPurge,
ReplicationSpec replicationSpec,
boolean deleteData,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
AlterTableRenamePartitionDesc.getReplicationSpec() |
| Constructor and Description |
|---|
AlterTableRenamePartitionDesc(TableName tableName,
Map<String,String> oldPartSpec,
Map<String,String> newPartSpec,
ReplicationSpec replicationSpec,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
CreateViewDesc.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
CreateViewDesc.setReplicationSpec(ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
static Task<?> |
ReplCopyTask.getDumpCopyTask(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path dstPath,
HiveConf conf,
boolean readSourceAsFileList,
boolean overWrite,
boolean deleteDestination,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
static Task<?> |
ReplCopyTask.getDumpCopyTask(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path dstPath,
HiveConf conf,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
static Task<?> |
ReplCopyTask.getLoadCopyTask(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path dstPath,
HiveConf conf,
boolean isAutoPurge,
boolean needRecycle,
boolean readSourceAsFileList,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
static Task<?> |
ReplCopyTask.getLoadCopyTask(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path dstPath,
HiveConf conf,
boolean readSourceAsFileList,
boolean overWrite,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
static Task<?> |
ReplCopyTask.getLoadCopyTask(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path dstPath,
HiveConf conf,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
ReplDumpWork.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReplDumpWork.setReplicationSpec(ReplicationSpec replicationSpec) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
TableEvent.replicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
FSTableEvent.replicationSpec() |
ReplicationSpec |
FSPartitionEvent.replicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
EximUtil.DataCopyPath.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ImportSemanticAnalyzer.checkTargetLocationEmpty(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path targetPath,
ReplicationSpec replicationSpec,
org.slf4j.Logger logger) |
static void |
EximUtil.createDbExportDump(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path metadataPath,
org.apache.hadoop.hive.metastore.api.Database dbObj,
ReplicationSpec replicationSpec,
org.apache.hadoop.conf.Configuration conf) |
static void |
EximUtil.createExportDump(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path metadataPath,
Table tableHandle,
Iterable<Partition> partitions,
ReplicationSpec replicationSpec,
HiveConf hiveConf) |
void |
EximUtil.DataCopyPath.setReplicationSpec(ReplicationSpec replicationSpec) |
| Constructor and Description |
|---|
DataCopyPath(ReplicationSpec replicationSpec) |
DataCopyPath(ReplicationSpec replicationSpec,
org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path tgtPath) |
| Modifier and Type | Field and Description |
|---|---|
ReplicationSpec |
HiveWrapper.Tuple.replicationSpec |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Utils.shouldReplicate(org.apache.hadoop.hive.metastore.api.NotificationEvent tableForEvent,
ReplicationSpec replicationSpec,
Hive db,
boolean isEventDump,
Set<String> bootstrapTableList,
org.apache.hadoop.hive.common.repl.ReplScope oldReplScope,
HiveConf hiveConf) |
static boolean |
Utils.shouldReplicate(ReplicationSpec replicationSpec,
Table tableHandle,
boolean isEventDump,
Set<String> bootstrapTableList,
org.apache.hadoop.hive.common.repl.ReplScope oldReplScope,
HiveConf hiveConf)
validates if a table can be exported, similar to EximUtil.shouldExport with few replication
specific checks.
|
| Constructor and Description |
|---|
TableExport(TableExport.Paths paths,
BaseSemanticAnalyzer.TableSpec tableSpec,
ReplicationSpec replicationSpec,
Hive db,
String distCpDoAsUser,
HiveConf conf,
ExportWork.MmContext mmCtx) |
| Constructor and Description |
|---|
Context(org.apache.hadoop.fs.Path eventRoot,
org.apache.hadoop.fs.Path dumpRoot,
org.apache.hadoop.fs.Path cmRoot,
Hive db,
HiveConf hiveConf,
ReplicationSpec replicationSpec,
org.apache.hadoop.hive.common.repl.ReplScope replScope,
org.apache.hadoop.hive.common.repl.ReplScope oldReplScope,
Set<String> tablesForBootstrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
JsonWriter.Serializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
ReplicationSpecSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
PartitionSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
ConstraintsSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
TableSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
void |
DBSerializer.writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
MetaData.getReplicationSpec() |
| Constructor and Description |
|---|
MetaData(org.apache.hadoop.hive.metastore.api.Database db,
org.apache.hadoop.hive.metastore.api.Table table,
Iterable<org.apache.hadoop.hive.metastore.api.Partition> partitions,
ReplicationSpec replicationSpec,
org.apache.hadoop.hive.metastore.api.Function function) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
ReplTxnWork.getReplicationSpec() |
ReplicationSpec |
ExportWork.getReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
ImportTableDesc.setReplicationSpec(ReplicationSpec replSpec) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.