public static class MasterService.Client extends org.apache.thrift.TServiceClient implements MasterService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
MasterService.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public boolean addCheckpoint(long workerId, int fileId, long length, String checkpointPath) throws FileDoesNotExistException, SuspectedFileSizeException, BlockInfoException, org.apache.thrift.TException
addCheckpoint
in interface MasterService.Iface
FileDoesNotExistException
SuspectedFileSizeException
BlockInfoException
org.apache.thrift.TException
public void send_addCheckpoint(long workerId, int fileId, long length, String checkpointPath) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_addCheckpoint() throws FileDoesNotExistException, SuspectedFileSizeException, BlockInfoException, org.apache.thrift.TException
FileDoesNotExistException
SuspectedFileSizeException
BlockInfoException
org.apache.thrift.TException
public List<ClientWorkerInfo> getWorkersInfo() throws org.apache.thrift.TException
getWorkersInfo
in interface MasterService.Iface
org.apache.thrift.TException
public void send_getWorkersInfo() throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ClientWorkerInfo> recv_getWorkersInfo() throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ClientFileInfo> liststatus(String path) throws InvalidPathException, FileDoesNotExistException, org.apache.thrift.TException
liststatus
in interface MasterService.Iface
InvalidPathException
FileDoesNotExistException
org.apache.thrift.TException
public void send_liststatus(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ClientFileInfo> recv_liststatus() throws InvalidPathException, FileDoesNotExistException, org.apache.thrift.TException
InvalidPathException
FileDoesNotExistException
org.apache.thrift.TException
public long worker_register(NetAddress workerNetAddress, long totalBytes, long usedBytes, List<Long> currentBlocks) throws BlockInfoException, org.apache.thrift.TException
MasterService.Iface
worker_register
in interface MasterService.Iface
BlockInfoException
org.apache.thrift.TException
public void send_worker_register(NetAddress workerNetAddress, long totalBytes, long usedBytes, List<Long> currentBlocks) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_worker_register() throws BlockInfoException, org.apache.thrift.TException
BlockInfoException
org.apache.thrift.TException
public Command worker_heartbeat(long workerId, long usedBytes, List<Long> removedBlocks) throws BlockInfoException, org.apache.thrift.TException
worker_heartbeat
in interface MasterService.Iface
BlockInfoException
org.apache.thrift.TException
public void send_worker_heartbeat(long workerId, long usedBytes, List<Long> removedBlocks) throws org.apache.thrift.TException
org.apache.thrift.TException
public Command recv_worker_heartbeat() throws BlockInfoException, org.apache.thrift.TException
BlockInfoException
org.apache.thrift.TException
public void worker_cacheBlock(long workerId, long workerUsedBytes, long blockId, long length) throws FileDoesNotExistException, SuspectedFileSizeException, BlockInfoException, org.apache.thrift.TException
worker_cacheBlock
in interface MasterService.Iface
FileDoesNotExistException
SuspectedFileSizeException
BlockInfoException
org.apache.thrift.TException
public void send_worker_cacheBlock(long workerId, long workerUsedBytes, long blockId, long length) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_worker_cacheBlock() throws FileDoesNotExistException, SuspectedFileSizeException, BlockInfoException, org.apache.thrift.TException
FileDoesNotExistException
SuspectedFileSizeException
BlockInfoException
org.apache.thrift.TException
public Set<Integer> worker_getPinIdList() throws org.apache.thrift.TException
worker_getPinIdList
in interface MasterService.Iface
org.apache.thrift.TException
public void send_worker_getPinIdList() throws org.apache.thrift.TException
org.apache.thrift.TException
public Set<Integer> recv_worker_getPinIdList() throws org.apache.thrift.TException
org.apache.thrift.TException
public List<Integer> worker_getPriorityDependencyList() throws org.apache.thrift.TException
worker_getPriorityDependencyList
in interface MasterService.Iface
org.apache.thrift.TException
public void send_worker_getPriorityDependencyList() throws org.apache.thrift.TException
org.apache.thrift.TException
public List<Integer> recv_worker_getPriorityDependencyList() throws org.apache.thrift.TException
org.apache.thrift.TException
public int user_createDependency(List<String> parents, List<String> children, String commandPrefix, List<ByteBuffer> data, String comment, String framework, String frameworkVersion, int dependencyType, long childrenBlockSizeByte) throws InvalidPathException, FileDoesNotExistException, FileAlreadyExistException, BlockInfoException, TachyonException, org.apache.thrift.TException
user_createDependency
in interface MasterService.Iface
InvalidPathException
FileDoesNotExistException
FileAlreadyExistException
BlockInfoException
TachyonException
org.apache.thrift.TException
public void send_user_createDependency(List<String> parents, List<String> children, String commandPrefix, List<ByteBuffer> data, String comment, String framework, String frameworkVersion, int dependencyType, long childrenBlockSizeByte) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_createDependency() throws InvalidPathException, FileDoesNotExistException, FileAlreadyExistException, BlockInfoException, TachyonException, org.apache.thrift.TException
InvalidPathException
FileDoesNotExistException
FileAlreadyExistException
BlockInfoException
TachyonException
org.apache.thrift.TException
public ClientDependencyInfo user_getClientDependencyInfo(int dependencyId) throws DependencyDoesNotExistException, org.apache.thrift.TException
user_getClientDependencyInfo
in interface MasterService.Iface
DependencyDoesNotExistException
org.apache.thrift.TException
public void send_user_getClientDependencyInfo(int dependencyId) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientDependencyInfo recv_user_getClientDependencyInfo() throws DependencyDoesNotExistException, org.apache.thrift.TException
DependencyDoesNotExistException
org.apache.thrift.TException
public void user_reportLostFile(int fileId) throws FileDoesNotExistException, org.apache.thrift.TException
user_reportLostFile
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_reportLostFile(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_reportLostFile() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public void user_requestFilesInDependency(int depId) throws DependencyDoesNotExistException, org.apache.thrift.TException
user_requestFilesInDependency
in interface MasterService.Iface
DependencyDoesNotExistException
org.apache.thrift.TException
public void send_user_requestFilesInDependency(int depId) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_requestFilesInDependency() throws DependencyDoesNotExistException, org.apache.thrift.TException
DependencyDoesNotExistException
org.apache.thrift.TException
public int user_createFile(String path, long blockSizeByte) throws FileAlreadyExistException, InvalidPathException, BlockInfoException, TachyonException, org.apache.thrift.TException
user_createFile
in interface MasterService.Iface
FileAlreadyExistException
InvalidPathException
BlockInfoException
TachyonException
org.apache.thrift.TException
public void send_user_createFile(String path, long blockSizeByte) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_createFile() throws FileAlreadyExistException, InvalidPathException, BlockInfoException, TachyonException, org.apache.thrift.TException
FileAlreadyExistException
InvalidPathException
BlockInfoException
TachyonException
org.apache.thrift.TException
public int user_createFileOnCheckpoint(String path, String checkpointPath) throws FileAlreadyExistException, InvalidPathException, SuspectedFileSizeException, BlockInfoException, TachyonException, org.apache.thrift.TException
user_createFileOnCheckpoint
in interface MasterService.Iface
FileAlreadyExistException
InvalidPathException
SuspectedFileSizeException
BlockInfoException
TachyonException
org.apache.thrift.TException
public void send_user_createFileOnCheckpoint(String path, String checkpointPath) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_createFileOnCheckpoint() throws FileAlreadyExistException, InvalidPathException, SuspectedFileSizeException, BlockInfoException, TachyonException, org.apache.thrift.TException
FileAlreadyExistException
InvalidPathException
SuspectedFileSizeException
BlockInfoException
TachyonException
org.apache.thrift.TException
public long user_createNewBlock(int fileId) throws FileDoesNotExistException, org.apache.thrift.TException
user_createNewBlock
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_createNewBlock(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_user_createNewBlock() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public void user_completeFile(int fileId) throws FileDoesNotExistException, org.apache.thrift.TException
user_completeFile
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_completeFile(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_completeFile() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public int user_getFileId(String path) throws InvalidPathException, org.apache.thrift.TException
MasterService.Iface
user_getFileId
in interface MasterService.Iface
InvalidPathException
org.apache.thrift.TException
public void send_user_getFileId(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_getFileId() throws InvalidPathException, org.apache.thrift.TException
InvalidPathException
org.apache.thrift.TException
public long user_getUserId() throws org.apache.thrift.TException
user_getUserId
in interface MasterService.Iface
org.apache.thrift.TException
public void send_user_getUserId() throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_user_getUserId() throws org.apache.thrift.TException
org.apache.thrift.TException
public long user_getBlockId(int fileId, int index) throws FileDoesNotExistException, org.apache.thrift.TException
user_getBlockId
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_getBlockId(int fileId, int index) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_user_getBlockId() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public NetAddress user_getWorker(boolean random, String host) throws NoWorkerException, org.apache.thrift.TException
MasterService.Iface
user_getWorker
in interface MasterService.Iface
NoWorkerException
org.apache.thrift.TException
public void send_user_getWorker(boolean random, String host) throws org.apache.thrift.TException
org.apache.thrift.TException
public NetAddress recv_user_getWorker() throws NoWorkerException, org.apache.thrift.TException
NoWorkerException
org.apache.thrift.TException
public ClientFileInfo getClientFileInfoById(int fileId) throws FileDoesNotExistException, org.apache.thrift.TException
getClientFileInfoById
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_getClientFileInfoById(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientFileInfo recv_getClientFileInfoById() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public ClientFileInfo user_getClientFileInfoByPath(String path) throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_getClientFileInfoByPath
in interface MasterService.Iface
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_getClientFileInfoByPath(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientFileInfo recv_user_getClientFileInfoByPath() throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public ClientBlockInfo user_getClientBlockInfo(long blockId) throws FileDoesNotExistException, BlockInfoException, org.apache.thrift.TException
MasterService.Iface
user_getClientBlockInfo
in interface MasterService.Iface
FileDoesNotExistException
BlockInfoException
org.apache.thrift.TException
public void send_user_getClientBlockInfo(long blockId) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientBlockInfo recv_user_getClientBlockInfo() throws FileDoesNotExistException, BlockInfoException, org.apache.thrift.TException
FileDoesNotExistException
BlockInfoException
org.apache.thrift.TException
public List<ClientBlockInfo> user_getFileBlocksById(int fileId) throws FileDoesNotExistException, org.apache.thrift.TException
MasterService.Iface
user_getFileBlocksById
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_getFileBlocksById(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ClientBlockInfo> recv_user_getFileBlocksById() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public List<ClientBlockInfo> user_getFileBlocksByPath(String path) throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
MasterService.Iface
user_getFileBlocksByPath
in interface MasterService.Iface
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_getFileBlocksByPath(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ClientBlockInfo> recv_user_getFileBlocksByPath() throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public List<Integer> user_listFiles(String path, boolean recursive) throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_listFiles
in interface MasterService.Iface
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_listFiles(String path, boolean recursive) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<Integer> recv_user_listFiles() throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public List<String> user_ls(String path, boolean recursive) throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_ls
in interface MasterService.Iface
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_ls(String path, boolean recursive) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<String> recv_user_ls() throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public boolean user_deleteById(int fileId, boolean recursive) throws TachyonException, org.apache.thrift.TException
user_deleteById
in interface MasterService.Iface
TachyonException
org.apache.thrift.TException
public void send_user_deleteById(int fileId, boolean recursive) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_user_deleteById() throws TachyonException, org.apache.thrift.TException
TachyonException
org.apache.thrift.TException
public boolean user_deleteByPath(String path, boolean recursive) throws TachyonException, org.apache.thrift.TException
user_deleteByPath
in interface MasterService.Iface
TachyonException
org.apache.thrift.TException
public void send_user_deleteByPath(String path, boolean recursive) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_user_deleteByPath() throws TachyonException, org.apache.thrift.TException
TachyonException
org.apache.thrift.TException
public void user_outOfMemoryForPinFile(int fileId) throws org.apache.thrift.TException
user_outOfMemoryForPinFile
in interface MasterService.Iface
org.apache.thrift.TException
public void send_user_outOfMemoryForPinFile(int fileId) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_outOfMemoryForPinFile() throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean user_rename(String srcPath, String dstPath) throws FileAlreadyExistException, FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_rename
in interface MasterService.Iface
FileAlreadyExistException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_rename(String srcPath, String dstPath) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_user_rename() throws FileAlreadyExistException, FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileAlreadyExistException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void user_renameTo(int fileId, String dstPath) throws FileAlreadyExistException, FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_renameTo
in interface MasterService.Iface
FileAlreadyExistException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_renameTo(int fileId, String dstPath) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_renameTo() throws FileAlreadyExistException, FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileAlreadyExistException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void user_setPinned(int fileId, boolean pinned) throws FileDoesNotExistException, org.apache.thrift.TException
user_setPinned
in interface MasterService.Iface
FileDoesNotExistException
org.apache.thrift.TException
public void send_user_setPinned(int fileId, boolean pinned) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_setPinned() throws FileDoesNotExistException, org.apache.thrift.TException
FileDoesNotExistException
org.apache.thrift.TException
public boolean user_mkdir(String path) throws FileAlreadyExistException, InvalidPathException, TachyonException, org.apache.thrift.TException
user_mkdir
in interface MasterService.Iface
FileAlreadyExistException
InvalidPathException
TachyonException
org.apache.thrift.TException
public void send_user_mkdir(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_user_mkdir() throws FileAlreadyExistException, InvalidPathException, TachyonException, org.apache.thrift.TException
FileAlreadyExistException
InvalidPathException
TachyonException
org.apache.thrift.TException
public int user_createRawTable(String path, int columns, ByteBuffer metadata) throws FileAlreadyExistException, InvalidPathException, TableColumnException, TachyonException, org.apache.thrift.TException
user_createRawTable
in interface MasterService.Iface
FileAlreadyExistException
InvalidPathException
TableColumnException
TachyonException
org.apache.thrift.TException
public void send_user_createRawTable(String path, int columns, ByteBuffer metadata) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_createRawTable() throws FileAlreadyExistException, InvalidPathException, TableColumnException, TachyonException, org.apache.thrift.TException
FileAlreadyExistException
InvalidPathException
TableColumnException
TachyonException
org.apache.thrift.TException
public int user_getRawTableId(String path) throws InvalidPathException, org.apache.thrift.TException
MasterService.Iface
user_getRawTableId
in interface MasterService.Iface
InvalidPathException
org.apache.thrift.TException
public void send_user_getRawTableId(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_getRawTableId() throws InvalidPathException, org.apache.thrift.TException
InvalidPathException
org.apache.thrift.TException
public ClientRawTableInfo user_getClientRawTableInfoById(int tableId) throws TableDoesNotExistException, org.apache.thrift.TException
MasterService.Iface
user_getClientRawTableInfoById
in interface MasterService.Iface
TableDoesNotExistException
org.apache.thrift.TException
public void send_user_getClientRawTableInfoById(int tableId) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientRawTableInfo recv_user_getClientRawTableInfoById() throws TableDoesNotExistException, org.apache.thrift.TException
TableDoesNotExistException
org.apache.thrift.TException
public ClientRawTableInfo user_getClientRawTableInfoByPath(String tablePath) throws TableDoesNotExistException, InvalidPathException, org.apache.thrift.TException
MasterService.Iface
user_getClientRawTableInfoByPath
in interface MasterService.Iface
TableDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_getClientRawTableInfoByPath(String tablePath) throws org.apache.thrift.TException
org.apache.thrift.TException
public ClientRawTableInfo recv_user_getClientRawTableInfoByPath() throws TableDoesNotExistException, InvalidPathException, org.apache.thrift.TException
TableDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void user_updateRawTableMetadata(int tableId, ByteBuffer metadata) throws TableDoesNotExistException, TachyonException, org.apache.thrift.TException
user_updateRawTableMetadata
in interface MasterService.Iface
TableDoesNotExistException
TachyonException
org.apache.thrift.TException
public void send_user_updateRawTableMetadata(int tableId, ByteBuffer metadata) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_user_updateRawTableMetadata() throws TableDoesNotExistException, TachyonException, org.apache.thrift.TException
TableDoesNotExistException
TachyonException
org.apache.thrift.TException
public int user_getNumberOfFiles(String path) throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
user_getNumberOfFiles
in interface MasterService.Iface
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public void send_user_getNumberOfFiles(String path) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_user_getNumberOfFiles() throws FileDoesNotExistException, InvalidPathException, org.apache.thrift.TException
FileDoesNotExistException
InvalidPathException
org.apache.thrift.TException
public String user_getUnderfsAddress() throws org.apache.thrift.TException
user_getUnderfsAddress
in interface MasterService.Iface
org.apache.thrift.TException
public void send_user_getUnderfsAddress() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_user_getUnderfsAddress() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.