[HUDI-3362] Fix restore to rollback pending clustering operations followed by other rolling back other commits (#4772)
This commit is contained in:
@@ -439,7 +439,7 @@ public class SparkMain {
|
||||
LOG.info(String.format("The commit \"%s\" rolled back.", savepointTime));
|
||||
return 0;
|
||||
} catch (Exception e) {
|
||||
LOG.warn(String.format("The commit \"%s\" failed to roll back.", savepointTime));
|
||||
LOG.warn(String.format("The commit \"%s\" failed to roll back.", savepointTime), e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -451,7 +451,7 @@ public class SparkMain {
|
||||
LOG.info(String.format("Savepoint \"%s\" deleted.", savepointTime));
|
||||
return 0;
|
||||
} catch (Exception e) {
|
||||
LOG.warn(String.format("Failed: Could not delete savepoint \"%s\".", savepointTime));
|
||||
LOG.warn(String.format("Failed: Could not delete savepoint \"%s\".", savepointTime), e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user