public interface KeyValueMaster extends Master
| Modifier and Type | Method and Description |
|---|---|
void |
completePartition(AlluxioURI path,
PartitionInfo info)
Marks a partition complete and adds it to an incomplete key-value store.
|
void |
completeStore(AlluxioURI path)
Marks a key-value store complete.
|
void |
createStore(AlluxioURI path)
Creates a new key-value store.
|
void |
deleteStore(AlluxioURI uri)
Deletes a completed key-value store.
|
java.util.List<PartitionInfo> |
getPartitionInfo(AlluxioURI path)
Gets a list of partitions of a given key-value store.
|
void |
mergeStore(AlluxioURI fromUri,
AlluxioURI toUri)
Merges one completed key-value store to another completed key-value store.
|
void |
renameStore(AlluxioURI oldUri,
AlluxioURI newUri)
Renames one completed key-value store.
|
getName, processJournalEntry, resetStategetJournalEntryIteratorgetDependencies, getName, getServices, start, stopvoid completePartition(AlluxioURI path, PartitionInfo info) throws AccessControlException, FileDoesNotExistException, InvalidPathException
path - URI of the key-value storeinfo - information of this completed partitionAccessControlException - if permission checking failsFileDoesNotExistException - if the key-value store URI does not existsInvalidPathException - if the path is invalidvoid completeStore(AlluxioURI path) throws FileDoesNotExistException, InvalidPathException, AccessControlException
path - URI of the key-value storeFileDoesNotExistException - if the key-value store URI does not existsInvalidPathException - if the path is not validAccessControlException - if permission checking failsvoid createStore(AlluxioURI path) throws FileAlreadyExistsException, InvalidPathException, AccessControlException
path - URI of the key-value storeFileAlreadyExistsException - if a key-value store URI existsInvalidPathException - if the given path is invalidAccessControlException - if permission checking failsvoid deleteStore(AlluxioURI uri) throws java.io.IOException, InvalidPathException, FileDoesNotExistException, AlluxioException
uri - AlluxioURI to the storeInvalidPathException - if the uri exists but is not a key-value storeFileDoesNotExistException - if the uri does not existjava.io.IOExceptionAlluxioExceptionvoid renameStore(AlluxioURI oldUri, AlluxioURI newUri) throws java.io.IOException, AlluxioException
oldUri - the old AlluxioURI to the storenewUri - the AlluxioURI to the storejava.io.IOExceptionAlluxioExceptionvoid mergeStore(AlluxioURI fromUri, AlluxioURI toUri) throws java.io.IOException, FileDoesNotExistException, InvalidPathException, AlluxioException
fromUri - the AlluxioURI to the store to be mergedtoUri - the AlluxioURI to the store to be merged toInvalidPathException - if the uri exists but is not a key-value storeFileDoesNotExistException - if the uri does not existjava.io.IOExceptionAlluxioExceptionjava.util.List<PartitionInfo> getPartitionInfo(AlluxioURI path) throws FileDoesNotExistException, AccessControlException, InvalidPathException
path - URI of the key-value storeFileDoesNotExistException - if the key-value store URI does not existsAccessControlException - if permission checking failsInvalidPathException - if the path is invalidCopyright © 2017. All Rights Reserved.