guanziyue commented on a change in pull request #4264:
URL: https://github.com/apache/hudi/pull/4264#discussion_r825469453
##########
File path:
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/ParquetBootstrapMetadataHandler.java
##########
@@ -80,14 +80,15 @@ void executeBootstrap(HoodieBootstrapHandle<?, ?, ?, ?>
bootstrapHandle,
HoodieRecord rec = new HoodieAvroRecord(new HoodieKey(recKey,
partitionPath), payload);
return rec;
}, table.getPreExecuteRunnable());
- wrapper.execute();
+ executor.execute();
} catch (Exception e) {
throw new HoodieException(e);
} finally {
- bootstrapHandle.close();
- if (null != wrapper) {
- wrapper.shutdownNow();
+ reader.close();
+ if (null != executor) {
+ executor.shutdownNow();
Review comment:
Finished. And add waiting of termination for other shutdownNow usage.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]