1
0

Follow up HUDI-27 : Call super.close() in HoodieWraperFileSystem::close()

This commit is contained in:
Vinoth Chandar
2019-03-29 22:05:03 -07:00
committed by vinoth chandar
parent 5847f0c934
commit 51f4908989

View File

@@ -536,9 +536,10 @@ public class HoodieWrapperFileSystem extends FileSystem {
}
@Override
public void close() {
// Don't close the underlying `fileSystem` object. This will end up closing it for every thread since it
public void close() throws IOException {
// Don't close the wrapped `fileSystem` object. This will end up closing it for every thread since it
// could be cached across jvm. We don't own that object anyway.
super.close();
}
@Override