Uh oh!
There was an error while loading. Please reload this page.
[SPARK-45651][Build] Log memory usage of publish snapshot workflow - #43513
[SPARK-45651][Build] Log memory usage of publish snapshot workflow#43513EnricoMi wants to merge 2 commits into
Conversation
EnricoMi
commented
Oct 24, 2023
HyukjinKwon
commented
Oct 24, 2023
If this is just a debug purpose, I would recommend doing this within your fork first ... |
75caf85 to
176fa82CompareEnricoMi
commented
Oct 25, 2023
I ran this logging in my fork, but cannot run the publish build there, of course: https://github.com/EnricoMi/spark/actions/runs/6638012356/job/18033491439#step:6:434 |
HyukjinKwon
commented
Oct 26, 2023
Okey, let's get this in and see |
HyukjinKwon
commented
Oct 26, 2023
Merged to master. |
EnricoMi
commented
Oct 26, 2023
Please trigger the |
LuciferYang
commented
Oct 26, 2023
https://github.com/apache/spark/actions/runs/6651054633/job/18072315690 |
EnricoMi
commented
Oct 26, 2023
The last log entry is The |
LuciferYang
commented
Oct 26, 2023
spark/.github/workflows/build_and_test.yml Line 825 in 7d7afb0
Maybe we could try adding an env to configure Java options, suppose it's called When |
The So it could simply allow to override the then, - name: Publish snapshotenv:
...MAVEN_XMX_OPT: "2g"run: | ./dev/create-release/release-build.sh publish-snapshotThe |
EnricoMi
commented
Oct 26, 2023
See #43538. |
This explains why |
LuciferYang
commented
Oct 26, 2023
I still underestimated the memory usage. |
EnricoMi
commented
Oct 26, 2023
And, since |
HyukjinKwon
commented
Oct 27, 2023
i reverted this for now. |
What changes were proposed in this pull request?
This logs memory consumption while publishing snapshots. This is to investigate whether the suspected high memory usage is the root cause of
publish_snapshotsfailures for master.Merging this after #43512 allows to run this manually.
Why are the changes needed?
The working assumption is that high memory usage is the root cause. This logging should provide proof or disproof for this assumption. This can be reverted once more is known or SPARK-45651 is fixed.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Locally
Was this patch authored or co-authored using generative AI tooling?
No