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
IOException
org.apache.hadoop.fs.Path getJobCheckpointDir(String jobName, boolean create) throws IOException
IOException
org.apache.hadoop.fs.Path getModelDir(String modelName, boolean create) throws IOException
IOException
org.apache.hadoop.fs.FileSystem getDefaultFileSystem() throws IOException
IOException
org.apache.hadoop.fs.FileSystem getFileSystemByUri(String uri) throws IOException
IOException
org.apache.hadoop.fs.Path getUserRootFolder() throws IOException
IOException
boolean isDir(String uri) throws IOException
IOException
boolean isRemote(String uri) throws IOException
IOException
boolean copyRemoteToLocal(String remoteUri, String localUri) throws IOException
IOException
boolean existsRemoteFile(org.apache.hadoop.fs.Path uri) throws IOException
IOException
org.apache.hadoop.fs.FileStatus getRemoteFileStatus(org.apache.hadoop.fs.Path uri) throws IOException
IOException
long getRemoteFileSize(String uri) throws IOException
IOException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.