public interface MetaMasterClient extends Closeable
Modifier and Type | Method and Description |
---|---|
BackupResponse |
backup(String dir,
boolean localFileSystem)
Writes a backup of the journal to the specified directory.
|
ConfigCheckReport |
getConfigReport()
Gets the server-side configuration check report.
|
List<ConfigProperty> |
getConfiguration()
Gets the runtime configuration information.
|
MasterInfo |
getMasterInfo(Set<MasterInfo.MasterInfoField> masterInfoFields) |
Map<String,MetricValue> |
getMetrics()
Gets a map of metrics property names and their values from metrics system.
|
BackupResponse backup(@Nullable String dir, boolean localFileSystem) throws IOException
dir
- the directory in the UFS to write to, or null to use the default alluxio backup
directorylocalFileSystem
- whether to write to the master's local filesystem instead of the UFSIOException
ConfigCheckReport getConfigReport() throws IOException
IOException
List<ConfigProperty> getConfiguration() throws IOException
IOException
MasterInfo getMasterInfo(Set<MasterInfo.MasterInfoField> masterInfoFields) throws IOException
masterInfoFields
- optional list of fields to query; if null all fields will be queriedIOException
Map<String,MetricValue> getMetrics() throws AlluxioStatusException
AlluxioStatusException
Copyright © 2023. All Rights Reserved.