@Public
@Evolving
public interface AuxiliaryLocalPathHandler
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Iterable<org.apache.hadoop.fs.Path> |
getAllLocalPathsForRead(java.lang.String path) |
Get all paths from the local FS for reading for a given Auxiliary Service.
|
org.apache.hadoop.fs.Path |
getLocalPathForRead(java.lang.String path) |
Get a path from the local FS for reading for a given Auxiliary Service.
|
org.apache.hadoop.fs.Path |
getLocalPathForWrite(java.lang.String path) |
Get a path from the local FS for writing for a given Auxiliary Service.
|
org.apache.hadoop.fs.Path |
getLocalPathForWrite(java.lang.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(java.lang.String path)
throws java.io.IOException
path - the requested pathjava.io.IOException - if the file read encounters a problemorg.apache.hadoop.fs.Path getLocalPathForWrite(java.lang.String path)
throws java.io.IOException
path - the requested pathjava.io.IOException - if the path creations failsorg.apache.hadoop.fs.Path getLocalPathForWrite(java.lang.String path,
long size)
throws java.io.IOException
path - the requested pathsize - the size of the file that is going to be writtenjava.io.IOException - if the path creations failsjava.lang.Iterable<org.apache.hadoop.fs.Path> getAllLocalPathsForRead(java.lang.String path)
throws java.io.IOException
path - the requested pathjava.io.IOException - if the file read encounters a problemCopyright © 2008–2025 Apache Software Foundation. All rights reserved.