Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5635491201 ## CI report: * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17011) * 0f99221e9003657f9e3d5c0c2a6e1c0fe2088ea8 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17013) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5633752115 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d UNKNOWN Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5634661235 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17007) * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 UNKNOWN Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
voonhous commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5639223708 Same analysis as the fta table, extended to every job: test-execution minutes per job, summed from the surefire class times and the scalatest "Run completed in" lines of each job log, for the baseline and the three runs of this PR. This excludes queueing, runner setup and the build step; it still includes whatever CPU the shared VM had that hour. | job | #19892 run (min) | run 3 (min) | run 4 (min) | run 5 (min) | run 3 | run 4 | run 5 | direction | |---|---|---|---|---|---|---|---|---| | test-spark-java17-ut-fat-and-ftc | 49.4 | 44.2 | 36.8 | 58.1 | -11% | -26% | +18% | mixed | | test-utilities-streamer | 46.7 | 44.8 | 43.2 | 45.8 | -4% | -7% | -2% | faster in all three | | test-spark-java17-fta | 46.1 | 54.9 | 57.8 | 52.0 | +19% | +25% | +13% | slower in all three | | test-spark-java17-ut-other | 45.3 | 42.9 | 33.5 | 45.5 | -5% | -26% | 0% | mixed | | test-spark-client-and-hadoop-common | 44.6 | 39.5 | 44.9 | 44.4 | -12% | +1% | 0% | mixed | | test-spark-java17-ut-functional | 43.1 | 28.9 | 40.2 | 40.1 | -33% | -7% | -7% | faster in all three | | test-spark-java17-ftb | 40.4 | 41.8 | 40.4 | 38.6 | +4% | 0% | -5% | mixed | | test-common-and-other-modules | 33.9 | 35.3 | 31.1 | 29.4 | +4% | -8% | -13% | mixed | | test-spark-java17-scala-other-1 | 32.2 | 20.4 | 32.5 | 25.5 | -37% | +1% | -21% | mixed | | test-spark-java17-scala-dml-1 | 30.5 | 23.6 | 30.0 | 30.6 | -22% | -2% | 0% | mixed | | test-utilities-rest | 30.2 | 30.0 | 23.1 | 22.2 | -1% | -24% | -27% | faster in all three | | test-spark-java17-scala-other-2 | 24.3 | 28.1 | 22.4 | 23.1 | +15% | -8% | -5% | mixed | | test-spark-java17-scala-dml-2 | 23.0 | 22.6 | 23.5 | 23.2 | -2% | +2% | +1% | mixed | | test-hudi-hadoop-mr-and-hudi-java-client | 9.8 | 15.0 | 14.2 | 14.7 | +54% | +45% | +51% | slower in all three | | total | 499.7 | 472.0 | 473.5 | 493.1 | -6% | -5% | -1% | | What it says: three jobs are faster in every run (utilities-streamer, utilities-rest, ut-functional), two are slower in every run (fta, and hadoop-mr-and-java-client by half), and the other nine swing by up to 37% between runs of the same code, which is the size of the noise on this pool. The total is -1% to -6%. A fourth run would add one sample to a spread that wide and would not change the conclusion, so this PR stays closed. -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
voonhous closed pull request #19906: test: [DNM] run Spark tests with two shuffle partitions and AQE off URL: https://github.com/apache/hudi/pull/19906 -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
voonhous commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5638930434 Closing without merging. Over three complete runs the Spark lanes went 447 -> 401 / 433 / 445 runner-minutes (mean -5%) while the five untouched engine jobs drifted from 129 to 154 on the same days, so the gain is inside the pool's noise; the wall clock did not move, and fta was +6 min in every run (per-class table above). The local A/B that motivated the change did not reproduce on a repeat. The one durable outcome is #19911, the partition-dependent blob reader rejection this exposed, fixed separately. Numbers are on #19910. -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
voonhous commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5638151239 Local three-way A/B on the two classes, single fork, JDK 11, Spark 3.5, same machine, back to back: | setting | TestHoodieClientOnCopyOnWriteStorage | TestMergeIntoTable (47 tests) | |---|---|---| | baseline: shuffle 4, default parallelism 4, AQE on | 267 s | 6m14s | | this PR: 2, 2, AQE off | 270 s | 6m07s | | hybrid: shuffle 2, default parallelism 4, AQE off | 260 s | 9m16s | Two conclusions. The +95 s CI regression on the client test does not reproduce here: this machine has more cores than the 4-vCPU runner, so two tasks per stage do not starve it the way they do there. And the hybrid is not a free improvement: MERGE INTO got slower with it, by more than run-to-run noise on this machine usually is, so it would need its own CI runs to be judged, at about 530 runner-minutes each. Given that, the PR stays at 2/2/AQE off. Net over three CI runs it is -21 runner-minutes against the pool's own drift, with fta as the one job that pays about 6 minutes for it; fta is not on the run's critical path. -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
voonhous commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5637694386 Per-class test times in test-spark-java17-fta, the one job above baseline in all three runs. Seconds per class from the surefire lines of each job log; "mean d" is the mean of the three runs minus the baseline. | class | #19892 run | run 3 | run 4 | run 5 | mean d | |---|---|---|---|---|---| | TestHoodieClientOnCopyOnWriteStorage | 417 | 518 | 530 | 489 | +95 | | TestHoodieBackedMetadata | 543 | 612 | 637 | 580 | +66 | | TestHoodieClientMultiWriter | 288 | 338 | 332 | 327 | +45 | | TestHoodieSparkMergeOnReadTableRollback | 143 | 170 | 176 | 163 | +26 | | TestRecordLevelIndex | 185 | 207 | 231 | 190 | +24 | | TestLSMDataSource | 76 | 98 | 103 | 91 | +21 | | TestHoodieIndex | 123 | 137 | 157 | 132 | +19 | | TestSavepointRestoreMergeOnRead | 105 | 127 | 125 | 117 | +18 | | TestMORDataSourceStorage | 82 | 98 | 107 | 93 | +17 | | TestRliLookupMetricsOnSparkSql | 44 | 60 | 64 | 57 | +16 | | whole job, 45 classes | 2769 | 3291 | 3469 | 3119 | +524 | No class in this job got faster, and the slowdown is broad rather than one outlier, so it is the setting and not noise. These are write-heavy client tests driven through RDDs: many commits of a few thousand records each, where every Hudi write stage now runs two tasks instead of four on a four-core runner. The SQL suites that gained (dml.others, dml.insert, the functional package) are the opposite shape: many tiny shuffles where 4 partitions and adaptive planning were overhead. That points at `spark.default.parallelism` as the part that hurts and `spark.sql.shuffle.partitions` plus AQE off as the part that pays. Next step is a local A/B on TestHoodieClientOnCopyOnWriteStorage and TestMergeIntoTable across three settings: baseline (4/4, AQE on), this PR (2/2, AQE off), and a hybrid (shuffle 2, AQE off, default parallelism 4). If the hybrid keeps the SQL gain without the RDD loss, the PR changes to that. -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5637300487 ## CI report: * 389b862cc9181451dea04b5a7b35798b77290587 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17015) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5636528061 ## CI report: * 0f99221e9003657f9e3d5c0c2a6e1c0fe2088ea8 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17013) * 389b862cc9181451dea04b5a7b35798b77290587 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17015) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5635836882 ## CI report: * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17011) * 0f99221e9003657f9e3d5c0c2a6e1c0fe2088ea8 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17013) * 389b862cc9181451dea04b5a7b35798b77290587 UNKNOWN Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5635022144 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17007) * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17011) * 0f99221e9003657f9e3d5c0c2a6e1c0fe2088ea8 UNKNOWN Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5635246353 ## CI report: * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17011) * 0f99221e9003657f9e3d5c0c2a6e1c0fe2088ea8 UNKNOWN Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5634731396 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17007) * 58cd81f3707a0312a31d34373f1d60bbab2d8dd0 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17011) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5634259013 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17007) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
hudi-bot commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5633827074 ## CI report: * 056927f7ae29c25b84e55ab02fd2bf258359128d Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=17007) Bot commands @hudi-bot supports the following commands: - `@hudi-bot run azure` re-run the last Azure build -- 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]
Re: [PR] test: [DNM] run Spark tests with two shuffle partitions and AQE off [hudi]
codecov-commenter commented on PR #19906: URL: https://github.com/apache/hudi/pull/19906#issuecomment-5633800314 ## [Codecov](https://app.codecov.io/gh/apache/hudi/pull/19906?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report :white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 80.18%. Comparing base ([`648996f`](https://app.codecov.io/gh/apache/hudi/commit/648996f002c3c9e24a1e2bf53f97fe03e8bc4c81?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`056927f`](https://app.codecov.io/gh/apache/hudi/commit/056927f7ae29c25b84e55ab02fd2bf258359128d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)). :warning: Report is 4 commits behind head on master. Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #19906 +/- ## - Coverage 80.20% 80.18% -0.02% + Complexity3466134609 -52 Files 2546 2546 Lines142452 142463 +11 Branches 1733017364 +34 - Hits 114260 114241 -19 - Misses2028120290 +9 - Partials 7911 7932 +21 ``` | [Components](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [hudi-common](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.80% <ø> (-0.04%)` | :arrow_down: | | [hudi-client](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.26% <ø> (-0.02%)` | :arrow_down: | | [hudi-flink](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `85.56% <ø> (-0.02%)` | :arrow_down: | | [hudi-spark-datasource](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `73.24% <ø> (-0.04%)` | :arrow_down: | | [hudi-utilities](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.18% <ø> (+<0.01%)` | :arrow_up: | | [hudi-cli](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `69.99% <ø> (ø)` | | | [hudi-hadoop](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `70.83% <ø> (+0.02%)` | :arrow_up: | | [hudi-sync](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `76.02% <ø> (+0.02%)` | :arrow_up: | | [hudi-io](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `81.52% <ø> (-0.10%)` | :arrow_down: | | [hudi-timeline-service](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.34% <ø> (ø)` | | | [hudi-cloud](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `80.99% <ø> (ø)` | | | [hudi-kafka-connect](https://app.codecov.io/gh/apache/hudi/pull/19906/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `53.20% <ø> (ø)` | | | [Flag](https://app.codecov.io/gh/apache/hudi/pull/19906/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| |
