Skip to content

Commit

Permalink
Follow up HUDI-27 : Call super.close() in HoodieWraperFileSystem::clo…
Browse files Browse the repository at this point in the history
…se()
  • Loading branch information
Vinoth Chandar authored and vinothchandar committed Apr 3, 2019
1 parent 5847f0c commit 51f4908
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,10 @@ public void completeLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws IOE
}

@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
Expand Down

0 comments on commit 51f4908

Please # to comment.