public class DefaultRemoteDirectoryManager extends Object implements RemoteDirectoryManager
Constructor and Description |
---|
DefaultRemoteDirectoryManager(ClientContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
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) |
org.apache.hadoop.fs.Path |
getUserRootFolder() |
public DefaultRemoteDirectoryManager(ClientContext context)
public org.apache.hadoop.fs.Path getJobStagingArea(String jobName, boolean create) throws IOException
getJobStagingArea
in interface RemoteDirectoryManager
IOException
public org.apache.hadoop.fs.Path getJobCheckpointDir(String jobName, boolean create) throws IOException
getJobCheckpointDir
in interface RemoteDirectoryManager
IOException
public org.apache.hadoop.fs.Path getModelDir(String modelName, boolean create) throws IOException
getModelDir
in interface RemoteDirectoryManager
IOException
public org.apache.hadoop.fs.FileSystem getFileSystem()
getFileSystem
in interface RemoteDirectoryManager
public org.apache.hadoop.fs.Path getUserRootFolder() throws IOException
getUserRootFolder
in interface RemoteDirectoryManager
IOException
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.