public class MetadataMirrorReplicaLocationManager extends java.lang.Object implements ReplicaLocationManager
| Constructor and Description |
|---|
MetadataMirrorReplicaLocationManager(SourceLocationManager sourceLocationManager,
TableType tableType) |
| 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 MetadataMirrorReplicaLocationManager(SourceLocationManager sourceLocationManager, TableType tableType)
public org.apache.hadoop.fs.Path getTableLocation()
throws CircusTrainException
getTableLocation in interface ReplicaLocationManagerCircusTrainExceptionpublic org.apache.hadoop.fs.Path getPartitionBaseLocation()
throws CircusTrainException
getPartitionBaseLocation in interface ReplicaLocationManagerCircusTrainExceptionpublic 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.