@InterfaceAudience.Private
public interface FileSystemAccess
Modifier and Type | Interface and Description |
---|---|
static interface |
FileSystemAccess.FileSystemExecutor<T> |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.FileSystem |
createFileSystem(String user,
org.apache.hadoop.conf.Configuration conf) |
<T> T |
execute(String user,
org.apache.hadoop.conf.Configuration conf,
FileSystemAccess.FileSystemExecutor<T> executor) |
org.apache.hadoop.conf.Configuration |
getFileSystemConfiguration() |
void |
releaseFileSystem(org.apache.hadoop.fs.FileSystem fs) |
<T> T execute(String user, org.apache.hadoop.conf.Configuration conf, FileSystemAccess.FileSystemExecutor<T> executor) throws FileSystemAccessException
FileSystemAccessException
org.apache.hadoop.fs.FileSystem createFileSystem(String user, org.apache.hadoop.conf.Configuration conf) throws IOException, FileSystemAccessException
IOException
FileSystemAccessException
void releaseFileSystem(org.apache.hadoop.fs.FileSystem fs) throws IOException
IOException
org.apache.hadoop.conf.Configuration getFileSystemConfiguration()
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.