public class MetadataUpdateReplicaLocationManager extends java.lang.Object implements ReplicaLocationManager
| Constructor and Description |
|---|
MetadataUpdateReplicaLocationManager(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient replicaMetastoreClient,
TableType tableType,
java.lang.String tablePath,
java.lang.String replicaDatabaseName,
java.lang.String replicaTableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCleanUpLocation(java.lang.String pathEventId,
org.apache.hadoop.fs.Path location) |
void |
cleanUpLocations() |
org.apache.hadoop.fs.Path |
getPartitionBaseLocation() |
org.apache.hadoop.fs.Path |
getPartitionLocation(org.apache.hadoop.hive.metastore.api.Partition sourcePartition) |
org.apache.hadoop.fs.Path |
getTableLocation() |
public MetadataUpdateReplicaLocationManager(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient replicaMetastoreClient,
TableType tableType,
java.lang.String tablePath,
java.lang.String replicaDatabaseName,
java.lang.String replicaTableName)
public org.apache.hadoop.fs.Path getTableLocation()
getTableLocation in interface ReplicaLocationManagerpublic org.apache.hadoop.fs.Path getPartitionBaseLocation()
getPartitionBaseLocation in interface ReplicaLocationManagerpublic void cleanUpLocations()
throws CircusTrainException
cleanUpLocations in interface ReplicaLocationManagerCircusTrainExceptionpublic void addCleanUpLocation(java.lang.String pathEventId,
org.apache.hadoop.fs.Path location)
addCleanUpLocation in interface ReplicaLocationManagerpublic org.apache.hadoop.fs.Path getPartitionLocation(org.apache.hadoop.hive.metastore.api.Partition sourcePartition)
getPartitionLocation in interface ReplicaLocationManagerCopyright © 2016–2022 Expedia Group. All rights reserved.