Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Spark to version 3.1.1 #247

Merged
merged 11 commits into from
May 4, 2021
Merged

Update Spark to version 3.1.1 #247

merged 11 commits into from
May 4, 2021

Conversation

lbulej
Copy link
Member

@lbulej lbulej commented Apr 30, 2021

This skips version 3.0.2 and goes directly to 3.1.1. There are no compilation issues and the apache-spark benchmarks execute normally. It might (but I did not check) with JDK compatibility issues. The attached CSV files show the times of the first iteration on OpenJDK 1.8.0_282 (just to show that it does not crash).

spark301.csv
spark311.csv

I think that until we freeze for a release, we should stay up-to-date whenever possible.

This skips version 3.0.2 and goes directly to 3.1.1. There are no
compilation issues and the apache-spark benchmarks execute normally.
Copy link
Collaborator

@farquet farquet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, that's very up to date :)

@lbulej
Copy link
Member Author

lbulej commented Apr 30, 2021

Do you have any idea what's wrong with the oraclejdk9 Mac platform? For some reason, the CI cannot move past the bundle stage on that platform due to some certificate issues when downloading something as rudimentary as sbt-git-javadoc. I have restarted the builds several times now, but to no avail.

@lbulej
Copy link
Member Author

lbulej commented Apr 30, 2021

A bit of investigation (but no final solution yet) in #249

lbulej added 9 commits May 2, 2021 21:16
SBT uses 1024 by default and kills memory-related JVM options in the
`.sbtopts` file and derives its values on its own. The default memory
size results in code cache of 128 megs, which is insufficient for a
pristine build, where it can reach slightly over 200 megs. Raising the
memory to 2048 increases the code cache size to 256 megs.
This will avoid having to change the version number in multiple
places. The current version number is determine by the latest
(annotated) tag and the distance to it from the current commit.
Release built from the tagged commit will have a "clean" version
number, others will include the hash of the build commit.

CI scripts will be able to determine the current version simply
by using `git describe` and stripping the initial `v`.

The only thing that needs to be updated is the git.baseVersion
setting in renaissance-core/version.sbt, which provides a base
(upcoming) version number for git-less situations, i.e., when
building the sources outside the git tree.
This will avoid having to update README.md with each commit.
Removes task to write out .gitprops which does not work in git-less
mode and is not needed anyway. Also adds a proper version related to
the upstream master and the exported dependency.
These checks are also made in the CI, but it does not hurt to
have them in the pre-push hook. The markdown check requires a
successful build of the base JAR.
The goal is to use the `script` section of `.travis.yml` for
higher-level actions instead of low-level file management.
Copy link
Collaborator

@farquet farquet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lbulej lbulej merged commit c79cc7e into master May 4, 2021
@lbulej lbulej deleted the topic/update-spark branch May 4, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants