Package org.apache.hadoop.lib.service
Interface FileSystemAccess
- All Known Implementing Classes:
FileSystemAccessService
@Private
public interface FileSystemAccess
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.FileSystemcreateFileSystem(String user, org.apache.hadoop.conf.Configuration conf) <T> Texecute(String user, org.apache.hadoop.conf.Configuration conf, FileSystemAccess.FileSystemExecutor<T> executor) org.apache.hadoop.conf.ConfigurationvoidreleaseFileSystem(org.apache.hadoop.fs.FileSystem fs)
-
Method Details
-
execute
<T> T execute(String user, org.apache.hadoop.conf.Configuration conf, FileSystemAccess.FileSystemExecutor<T> executor) throws FileSystemAccessException - Throws:
FileSystemAccessException
-
createFileSystem
org.apache.hadoop.fs.FileSystem createFileSystem(String user, org.apache.hadoop.conf.Configuration conf) throws IOException, FileSystemAccessException - Throws:
IOExceptionFileSystemAccessException
-
releaseFileSystem
- Throws:
IOException
-
getFileSystemConfiguration
org.apache.hadoop.conf.Configuration getFileSystemConfiguration()
-