-
Notifications
You must be signed in to change notification settings - Fork 594
Conversation
* Support Java 11 * config travis to use oracle jdk 11 * Add check jdk version
Change insert gc_options Update list Fix gc-logging
We should also update all of the Dockerfiles for compile and dist as needed. |
|
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.
Not sure if there are any performance impacts to the Java config changes, but looks good to me.
@nicknezis @thinker0 The travis build file still specifies Java8. I would think that this needs to be updated to java11 before we can merge. https://github.com/thinker0/heron/blob/bc7d038495c59da76738864eb077adedbd5a166d/.travis.yml#L10 |
@joshfischer1108 Binaries made with jdk11 do not work with jdk8. The binary created with jdk8 above works with both jdk8 and jdk11, so I think that it should be jdk8 now. |
Ok makes sense to me |
Some unit tests are failing on Travis. The travis config (heron/.travis.yml) isnot updated? |
Hmm. It is jdk 11 in .travis.yml. Here are the failures: (16:20:00) INFO: Build completed, 2 tests FAILED, 1558 total actions But only 2 failures!! Great work! |
should have permission. |
@joshfischer1108 @nwangtw ^_____________^ |
@thinker0 Thank you for this contribution and job well done sir. Code and Docker changes look great. I'm going to let this sit for little while longer to let others review. You got my 👍 |
I think it looks good. I do think we should have both Travis and the Dockerfiles set to JDK 11. I don't see a reason to keep Travis or Dockerfiles set to JDK 8. Is this too short sighted? Thoughts? What does Jenkins build use? If Heron team produces official jars, what version of Java would that target? |
@nicknezis Travis and Dockerfiles are set to jdk 11 from what I can see. |
What you want is cc @nicknezis |
I use it in mesos/aurora, so I think I should go to jdk11 because jdk11 supports CGROUP Container well. jdk8 is not suitable for container. |
@thinker0 I think this PR looks good to me as is. It looks to me as though you have changed the travis file and several docker files (if not all of them) to use jdk11. If there are any other missing Dockerfile entries we can get them after this PR is merged. Really nice work. |
Again, great work! There might be some more update. But let me merge this PR first. It has been in progress for almost 4 months since the work started. |
…etheus-metrics' of https://github.com/thinker0/heron into feature/fix-prometheus-metrics * 'feature/fix-prometheus-metrics' of https://github.com/thinker0/heron: Remove unused Fix checkstyle Support jmx_exporter format configuration. wip Fix command arguments. Java 11 support (apache#3399) Update README for Java 11 (apache#3464) Update website for java 11 (apache#3462) Java 11 support (apache#3454) adding examples folder to classpath (apache#3458) removing symlink. Adding contributing guidelines back (apache#3450) adding new committers (apache#3451) Bump mixin-deep from 1.3.1 to 1.3.2 in /website2/website (apache#3391) Add redirect from github pages to new apache site (apache#3448) remove old site (apache#3446) Use netcat-bsd in Debian (apache#3447) Added execute permission to dev-env-create.sh (apache#3443) * 'feature/fix-prometheus-metrics' of https://github.com/thinker0/heron: Remove unused Fix checkstyle Support jmx_exporter format configuration. wip Fix command arguments. Java 11 support (apache#3399) Update README for Java 11 (apache#3464) Update website for java 11 (apache#3462) Java 11 support (apache#3454) adding examples folder to classpath (apache#3458) removing symlink. Adding contributing guidelines back (apache#3450) adding new committers (apache#3451) Bump mixin-deep from 1.3.1 to 1.3.2 in /website2/website (apache#3391) Add redirect from github pages to new apache site (apache#3448) remove old site (apache#3446) Use netcat-bsd in Debian (apache#3447) Added execute permission to dev-env-create.sh (apache#3443) # Conflicts: # .travis.yml
* Support Java 11 * config travis to use oracle jdk 11 * Java 11 support (apache#3399) * Support Java 11 * config travis to use oracle jdk 11 * Add check jdk version * Fix command arguments. Change insert gc_options Update list Fix gc-logging * Add missing parameter * typo * Add pause time * Add python3 for docker files * Revert "config travis to use oracle jdk 11" This reverts commit edaa84f. * Update unitest * Update unittest * Add JDK11 UnitTest * Add Unittest using Docker. * Add full test * Change JDK11 * Ignore PowerMock used for testing is not compatible with Java 11. * Change JDK11 for travis.yml * Update python * Update library requests, pylint * Revert "Update library requests, pylint" This reverts commit 7706d34. * Add ignore * Refactoring ReflectionUtils Co-authored-by: Ning Wang <wangninggm@gmail.com>
* Support Java 11 * config travis to use oracle jdk 11 * Java 11 support (#3399) * Support Java 11 * config travis to use oracle jdk 11 * Add check jdk version * Fix command arguments. Change insert gc_options Update list Fix gc-logging * Add missing parameter * typo * Add pause time * Add python3 for docker files * Revert "config travis to use oracle jdk 11" This reverts commit edaa84f. * Update unitest * Update unittest * Add JDK11 UnitTest * Add Unittest using Docker. * Add full test * Change JDK11 * Ignore PowerMock used for testing is not compatible with Java 11. * Change JDK11 for travis.yml * Update python * Update library requests, pylint * Revert "Update library requests, pylint" This reverts commit 7706d34. * Add ignore * Refactoring ReflectionUtils Co-authored-by: Ning Wang <wangninggm@gmail.com>
I use it in mesos/aurora, so I think I should go to jdk11 because jdk11 supports CGROUP Container well. jdk8 is not suitable for container.
#3382 #3399