Fix null config issue for caching filesystem
When using caching filesystems, in few cases, configuration was found
to be null. Which was resulting into null pointer exception.
@@ -83,6 +83,12 @@ public abstract class CachingFileSystem
dataTier.initialize(uri, configuration);
}
+ @Override
+ public Configuration getConf()
+ {
+ return dataTier.getConf();
+ }
+
@Override
public Path getWorkingDirectory()
{
