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

SAMZA-2757 : Make Samza Compatible with Java 11 #87

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

james-deee
Copy link

This is preparing things so that this app will work with Java 11. Once this Samza app PR is merged and released, we can update this to use the that version in the pom.xml file.

I am also deleting the gradle artifacts because this whole project is actually using Maven (not gradle, which was version 2 or something).

Verified that these version bumps (including the use of Scala 2.12 from Samza) all work. Note this moves Hadoop to be a Java 11 compatible version as well.

I have also tested with my local build from the Samza PR above, and using Java 11 that all of this works as well.

@james-deee james-deee changed the title Upgrade hello-samza to latest deps and prepare for Java 11 SAMZA-2757 : Make Samza Compatible with Java 11 Aug 19, 2022
@@ -34,9 +34,10 @@ DEPLOY_ROOT_DIR=$BASE_DIR/deploy
DOWNLOAD_CACHE_DIR=$HOME/.samza/download
COMMAND=$1
SYSTEM=$2
YARN_VERSION="3.3.4"

Choose a reason for hiding this comment

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

Should this be flagged somehow to correspond with the version of Java being used, or maybe intentionally flagged? I believe Samza under Java 8 is still using Hadoop 2.10

Copy link
Author

Choose a reason for hiding this comment

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

I confirmed that using Java8 still works with this setup (meaning 3.3.4). So this whole system still works if you are running Java 8, It's just that this newer setup (if you use Samza 1.8.0) now works with Java 11.

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