yihua opened a new pull request, #5284:
URL: https://github.com/apache/hudi/pull/5284
## What is the purpose of the pull request
This PR fixes the NullPointerException during reading Hudi log files in
HoodieMetadataTableValidator, possibly due to empty or partial log files
written by an inflight instant.
## Brief change log
- Adds the logic to skip the check of a log file if the schema cannot be
read or IOException happens.
## Verify this pull request
This pull request is tested using a long-running
HoodieMetadataTableValidator job to make sure that NPE is not thrown when empty
or partial log files are present.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
--
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]