public interface RemoteDirectoryManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
copyRemoteToLocal(String remoteUri,
String localUri) |
boolean |
existsRemoteFile(org.apache.hadoop.fs.Path uri) |
org.apache.hadoop.fs.FileSystem |
getDefaultFileSystem() |
org.apache.hadoop.fs.FileSystem |
getFileSystemByUri(String uri) |
org.apache.hadoop.fs.Path |
getJobCheckpointDir(String jobName,
boolean create) |
org.apache.hadoop.fs.Path |
getJobStagingArea(String jobName,
boolean create) |
org.apache.hadoop.fs.Path |
getModelDir(String modelName,
boolean create) |
long |
getRemoteFileSize(String uri) |
org.apache.hadoop.fs.FileStatus |
getRemoteFileStatus(org.apache.hadoop.fs.Path uri) |
org.apache.hadoop.fs.Path |
getUserRootFolder() |
boolean |
isDir(String uri) |
boolean |
isRemote(String uri) |
org.apache.hadoop.fs.Path getJobStagingArea(String jobName, boolean create) throws IOException
IOExceptionorg.apache.hadoop.fs.Path getJobCheckpointDir(String jobName, boolean create) throws IOException
IOExceptionorg.apache.hadoop.fs.Path getModelDir(String modelName, boolean create) throws IOException
IOExceptionorg.apache.hadoop.fs.FileSystem getDefaultFileSystem()
throws IOException
IOExceptionorg.apache.hadoop.fs.FileSystem getFileSystemByUri(String uri) throws IOException
IOExceptionorg.apache.hadoop.fs.Path getUserRootFolder()
throws IOException
IOExceptionboolean isDir(String uri) throws IOException
IOExceptionboolean isRemote(String uri) throws IOException
IOExceptionboolean copyRemoteToLocal(String remoteUri, String localUri) throws IOException
IOExceptionboolean existsRemoteFile(org.apache.hadoop.fs.Path uri)
throws IOException
IOExceptionorg.apache.hadoop.fs.FileStatus getRemoteFileStatus(org.apache.hadoop.fs.Path uri)
throws IOException
IOExceptionlong getRemoteFileSize(String uri) throws IOException
IOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.