Skip to content

Commit

Permalink
[SPARK-31889][BUILD] Docker release script does not allocate enough m…
Browse files Browse the repository at this point in the history
…emory to reliably publish

### What changes were proposed in this pull request?
Allow overriding the zinc options in the docker release and set a higher so the publish step can succeed consistently.

### Why are the changes needed?

The publish step experiences memory pressure.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?
Running test locally with fake user to see if publish step (besides svn part) succeeds

Closes #28698 from holdenk/SPARK-31889-docker-release-script-does-not-allocate-enough-memory-to-reliably-publish.

Authored-by: Holden Karau <hkarau@apple.com>
Signed-off-by: Holden Karau <hkarau@apple.com>
(cherry picked from commit ab9e5a2)
Signed-off-by: Holden Karau <hkarau@apple.com>
  • Loading branch information
holdenk committed Jun 1, 2020
1 parent b6c8366 commit 387f57c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/create-release/do-release-docker.sh
Expand Up @@ -128,6 +128,7 @@ ASF_PASSWORD=$ASF_PASSWORD
GPG_PASSPHRASE=$GPG_PASSPHRASE
RELEASE_STEP=$RELEASE_STEP
USER=$USER
ZINC_OPTS=${RELEASE_ZINC_OPTS:-"-Xmx4g -XX:ReservedCodeCacheSize=2g"}
EOF

JAVA_VOL=
Expand Down

0 comments on commit 387f57c

Please sign in to comment.