Follow up HUDI-27 : Call super.close() in HoodieWraperFileSystem::close()
This commit is contained in:
committed by
vinoth chandar
parent
5847f0c934
commit
51f4908989
@@ -536,9 +536,10 @@ public class HoodieWrapperFileSystem extends FileSystem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void close() {
|
public void close() throws IOException {
|
||||||
// Don't close the underlying `fileSystem` object. This will end up closing it for every thread since it
|
// 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.
|
// could be cached across jvm. We don't own that object anyway.
|
||||||
|
super.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user