@InterfaceAudience.Public
 @InterfaceStability.Evolving
public interface AuxiliaryLocalPathHandler
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<org.apache.hadoop.fs.Path> | getAllLocalPathsForRead(String path)Get all paths from the local FS for reading for a given Auxiliary Service. | 
| 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 failsIterable<org.apache.hadoop.fs.Path> getAllLocalPathsForRead(String path) throws IOException
path - the requested pathIOException - if the file read encounters a problemCopyright © 2008–2024 Apache Software Foundation. All rights reserved.