nsivabalan commented on code in PR #18371:
URL: https://github.com/apache/hudi/pull/18371#discussion_r3301528359
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java:
##########
@@ -690,6 +691,8 @@ public boolean doMetadataTableValidation() {
} catch (SparkException sparkException) {
if (sparkException.getCause() instanceof HoodieValidationException) {
throw (HoodieValidationException) sparkException.getCause();
+ } else if (ExceptionUtil.validateErrorMsg(sparkException, "cancelled
because SparkContext was shut down")) {
+ throw new HoodieException(sparkException);
Review Comment:
So, the fix is to throw `HoodieException` for spark shutdowns?
--
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]