[
https://issues.apache.org/jira/browse/HUDI-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373942#comment-17373942
] ASF GitHub Bot commented on HUDI-2116: -------------------------------------- codecov-commenter edited a comment on pull request #3209: URL: https://github.com/apache/hudi/pull/3209#issuecomment-872432879 # [Codecov](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#3209](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (0f4d52a) into [master](https://codecov.io/gh/apache/hudi/commit/7173d1338abaf2a880bdb86e9c650065d7b0bf14?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (7173d13) will **increase** coverage by `0.01%`. > The diff coverage is `86.36%`. [](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) ```diff @@ Coverage Diff @@ ## master #3209 +/- ## ============================================ + Coverage 47.51% 47.52% +0.01% - Complexity 5428 5431 +3 ============================================ Files 922 922 Lines 40966 40981 +15 Branches 4100 4102 +2 ============================================ + Hits 19464 19476 +12 - Misses 19784 19785 +1 - Partials 1718 1720 +2 ``` | Flag | Coverage Δ | | |---|---|---| | hudicli | `40.00% <ø> (ø)` | | | hudiclient | `34.58% <ø> (ø)` | | | hudicommon | `48.39% <ø> (ø)` | | | hudiflink | `59.91% <ø> (ø)` | | | hudihadoopmr | `51.29% <ø> (ø)` | | | hudisparkdatasource | `67.25% <100.00%> (+<0.01%)` | :arrow_up: | | hudisync | `54.29% <85.71%> (+0.23%)` | :arrow_up: | | huditimelineservice | `64.07% <ø> (ø)` | | | hudiutilities | `58.05% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [...in/java/org/apache/hudi/hive/HoodieHiveClient.java](https://codecov.io/gh/apache/hudi/pull/3209/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-aHVkaS1zeW5jL2h1ZGktaGl2ZS1zeW5jL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWRpL2hpdmUvSG9vZGllSGl2ZUNsaWVudC5qYXZh) | `70.13% <82.35%> (-0.01%)` | :arrow_down: | | [...n/scala/org/apache/hudi/HoodieSparkSqlWriter.scala](https://codecov.io/gh/apache/hudi/pull/3209/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-aHVkaS1zcGFyay1kYXRhc291cmNlL2h1ZGktc3Bhcmsvc3JjL21haW4vc2NhbGEvb3JnL2FwYWNoZS9odWRpL0hvb2RpZVNwYXJrU3FsV3JpdGVyLnNjYWxh) | `71.10% <100.00%> (+0.08%)` | :arrow_up: | | [...main/java/org/apache/hudi/hive/HiveSyncConfig.java](https://codecov.io/gh/apache/hudi/pull/3209/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-aHVkaS1zeW5jL2h1ZGktaGl2ZS1zeW5jL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWRpL2hpdmUvSGl2ZVN5bmNDb25maWcuamF2YQ==) | `97.95% <100.00%> (+0.13%)` | :arrow_up: | | [...he/hudi/hive/replication/GlobalHiveSyncConfig.java](https://codecov.io/gh/apache/hudi/pull/3209/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-aHVkaS1zeW5jL2h1ZGktaGl2ZS1zeW5jL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWRpL2hpdmUvcmVwbGljYXRpb24vR2xvYmFsSGl2ZVN5bmNDb25maWcuamF2YQ==) | `95.00% <100.00%> (+0.26%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [7173d13...0f4d52a](https://codecov.io/gh/apache/hudi/pull/3209?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). -- 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] > sync 10w partitions to hive by using HiveSyncTool lead to the oom of hive > MetaStore > ------------------------------------------------------------------------------------ > > Key: HUDI-2116 > URL: https://issues.apache.org/jira/browse/HUDI-2116 > Project: Apache Hudi > Issue Type: Bug > Components: Hive Integration > Affects Versions: 0.8.0 > Environment: hive3.1.1 > hadoop 3.1.1 > Reporter: tao meng > Assignee: tao meng > Priority: Major > Labels: pull-request-available > Fix For: 0.10.0 > > > when we try to sync 10w partitions to hive by using HiveSyncTool lead to the > oom of hive MetaStore。 > > here is a stress test for HiveSyncTool > env: > hive metastore -Xms16G -Xmx16G > hive.metastore.client.socket.timeout=10800 > > ||partitionNum||time consume|| > |100|37s| > |1000|168s| > |5000|1830s| > |10000|timeout| > |100000|hive metastore oom| > HiveSyncTools sync all partitions to hive metastore at once。 when the > partitions num is large ,it puts a lot of pressure on hive metastore。 for > large partition num we should support batch sync 。 > -- This message was sent by Atlassian Jira (v8.3.4#803005)
