aajisaka opened a new pull request, #9577: URL: https://github.com/apache/hudi/pull/9577
### Change Logs If clustering failed, it's not printing the detailed error reason. For example, in #9094, the error message contains the list of failed files but doesn't contain the reason or stacktrace why it failed to write the files. The exceptions are once stored to `failedRecords` by `WriteStatus#markFailure` method, but they are never accessed or logged. After this change, the exceptions will be printed in the log. ### Impact Very little impact. ### Risk level (write none, low medium or high below) Low. ### Documentation Update No documentation changes required. ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Change Logs and Impact were stated clearly - [x] Adequate tests were added if applicable - [ ] CI passed -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org