public class CachingHadoopFileSystemFactory extends BasicHadoopFileSystemFactory
FileSystem
instances on per-user basis. Doesn't rely on
built-in Hadoop FileSystem
caching mechanics. Separate FileSystem
instance is created for each
user instead.
This makes cache instance resistant to concurrent calls to FileSystem.close()
in other parts of the user
code. On the other hand, this might cause problems on some environments. E.g. if Kerberos is enabled, a call to
FileSystem.get(URI, Configuration, String)
will refresh Kerberos token. But this factory implementation
calls this method only once per user what may lead to token expiration. In such cases it makes sense to either
use BasicHadoopFileSystemFactory
or implement your own factory.
Constructor and Description |
---|
CachingHadoopFileSystemFactory()
Constructor.
|
get, getConfigPaths, getUri, getUserNameMapper, readExternal, setConfigPaths, setUri, setUserNameMapper, writeExternal
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019