1
0

Revert "[HUDI-3043] Revert async cleaner leak commit to unblock CI failure (#4343)" (#4465)

This reverts commit 7e7ad1558c.
This commit is contained in:
Sivabalan Narayanan
2021-12-29 21:45:09 -05:00
committed by GitHub
parent 504747ecf4
commit 5c0e4ce005
5 changed files with 31 additions and 38 deletions

View File

@@ -98,4 +98,11 @@ public class CleanFunction<T> extends AbstractRichFunction
public void initializeState(FunctionInitializationContext context) throws Exception {
// no operation
}
@Override
public void close() throws Exception {
if (this.writeClient != null) {
this.writeClient.close();
}
}
}