@InterfaceAudience.Public
 @InterfaceStability.Evolving
public interface AuxiliaryLocalPathHandler
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.fs.Path | getLocalPathForRead(String path)Get a path from the local FS for reading for a given Auxiliary Service. | 
| org.apache.hadoop.fs.Path | getLocalPathForWrite(String path)Get a path from the local FS for writing for a given Auxiliary Service. | 
| org.apache.hadoop.fs.Path | getLocalPathForWrite(String path,
                    long size)Get a path from the local FS for writing a file of an estimated size
 for a given Auxiliary Service. | 
org.apache.hadoop.fs.Path getLocalPathForRead(String path) throws IOException
path - the requested pathIOException - if the file read encounters a problemorg.apache.hadoop.fs.Path getLocalPathForWrite(String path) throws IOException
path - the requested pathIOException - if the path creations failsorg.apache.hadoop.fs.Path getLocalPathForWrite(String path, long size) throws IOException
path - the requested pathsize - the size of the file that is going to be writtenIOException - if the path creations failsCopyright © 2008–2018 Apache Software Foundation. All rights reserved.