public class HadoopBasicFileSystemFactoryDelegate extends Object implements HadoopFileSystemFactoryDelegate
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
cfg
Configuration of the secondary filesystem, never null.
|
protected URI |
fullUri
Resulting URI.
|
protected HadoopFileSystemFactory |
proxy
Proxy.
|
protected Path |
workDir
Work directory.
|
| Constructor and Description |
|---|
HadoopBasicFileSystemFactoryDelegate(BasicHadoopFileSystemFactory proxy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected FileSystem |
create(String usrName)
Internal file system creation routine, invoked in correct class loader context.
|
FileSystem |
get(String name)
Gets file system for the given user name.
|
protected FileSystem |
getWithMappedName(String usrName)
Internal file system create routine.
|
void |
start() |
void |
stop() |
protected final HadoopFileSystemFactory proxy
protected Configuration cfg
protected URI fullUri
protected Path workDir
public HadoopBasicFileSystemFactoryDelegate(BasicHadoopFileSystemFactory proxy)
proxy - Proxy.public FileSystem get(String name) throws IOException
get in interface HadoopFileSystemFactoryDelegatename - User nameIOException - In case of error.protected FileSystem getWithMappedName(String usrName) throws IOException
usrName - User name.IOException - If failed.protected FileSystem create(String usrName) throws IOException, InterruptedException
usrName - User name.IOException - If failed.InterruptedException - if the current thread is interrupted.public void start()
throws IgniteException
start in interface LifecycleAwareIgniteExceptionpublic void stop()
throws IgniteException
stop in interface LifecycleAwareIgniteException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019