You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lvyanquan (via GitHub)" <gi...@apache.org> on 2023/04/02 01:37:45 UTC

[GitHub] [hudi] lvyanquan commented on a diff in pull request #8349: [HUDI-6012] Delete base path when failed to run bootstrap procedure

lvyanquan commented on code in PR #8349:
URL: https://github.com/apache/hudi/pull/8349#discussion_r1155223998


##########
hudi-spark-datasource/hudi-spark/src/main/java/org/apache/hudi/cli/BootstrapExecutorUtils.java:
##########
@@ -182,6 +182,13 @@ public void execute() throws IOException {
       checkpointCommitMetadata.put(CHECKPOINT_KEY, Config.checkpoint);
       bootstrapClient.bootstrap(Option.of(checkpointCommitMetadata));
       syncHive();

Review Comment:
   Thanks for your suggestion, address it.
   Yeah, If If `syncHive` failed, we could call [hive_sync](https://hudi.apache.org/docs/next/procedures/#hive_sync) to avoid rerun the long time bootstrap.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org