hudi
hudi copied to clipboard
[HUDI-4281] Using hudi to build a large number of tables in spark on hive causes OOM
The Hive Client adopts the singleton mode to avoid the oom caused by the IsolatedClientLoader object not being released.
Tips
- Thank you very much for contributing to Apache Hudi.
- Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.
What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)
- Modify AnnotationLocation checkstyle rule in checkstyle.xml
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
- Added integration tests for end-to-end.
- Added HoodieClientWriteTest to verify the change.
- Manually verified the change by running a job locally.
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.
were you able to test this patch out for large no of tables?
were you able to test this patch out for large no of tables?
Unit tests have been added, thank you.
@hudi-bot run azure
have rebased w/ latest master. once CI is green, we can land.
rebased w/ latest master.
rebased w/ latest master.
I have rebased onto master, Please check thank you!
CI report:
- d9efa30182341da4b73f28825d206d32e9f0f81e Azure: SUCCESS
Bot commands
@hudi-bot supports the following commands:-
@hudi-bot run azure
re-run the last Azure build
rebased w/ latest master.
PULL REQUEST TEMPLATE was updated.