-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Require Java 8 and include some Java 8 dependencies. #3914
Conversation
- Upgrade Jetty to 9.3.16.v20170120. - Upgrade DataSketches to 0.8.4. - Bundle caffeine-cache by default. - Still target Java 7 when compiling base Druid classes.
Shall we also disable travis builds for jdk7? They, of course, do not pass after applying this patch. |
I tested this PR for hadoop compatibility with:
all running Java 8 on the hadoop cluster side, running a batch ingestion task on the wikiticker data, those all passed |
Thanks @jon-wei! In that case I'll take off the WIP tag and this is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis needs fixing, but other than that, can the changes here be limited to only what is required to get java 8 the default in the current codebase, and leave the "things that get better when we allow java8" in a separate PR?
@@ -38,7 +38,7 @@ | |||
<dependency> | |||
<groupId>com.yahoo.datasketches</groupId> | |||
<artifactId>sketches-core</artifactId> | |||
<version>0.4.1</version> | |||
<version>0.8.4</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really germane to java 8?
Discussed in dev sync. @gianm was going to update travis yaml before merge |
Removed jdk7 from travis.yml. |
👍 |
Patch for #3746, #3745, #3710, #3595.
Our hadoop gauntlet tests don't pass with this, because they are running on Java 7. But hopefully they will pass after upgrading that test environment to Java 8. In the meantime I'm doing this as a WIP PR just so people can see the changes and try it in their own environment if they want.