druid/distribution/bin
Gian Merlino ef6811ef88
Improved Java 17 support and Java runtime docs. (#12839)
* Improved Java 17 support and Java runtime docs.

1) Add a "Java runtime" doc page with information about supported
   Java versions, garbage collection, and strong encapsulation..

2) Update asm and equalsverifier to versions that support Java 17.

3) Add additional "--add-opens" lines to surefire configuration, so
   tests can pass successfully under Java 17.

4) Switch openjdk15 tests to openjdk17.

5) Update FrameFile to specifically mention Java runtime incompatibility
   as the cause of not being able to use Memory.map.

6) Update SegmentLoadDropHandler to log an error for Errors too, not
   just Exceptions. This is important because an IllegalAccessError is
   encountered when the correct "--add-opens" line is not provided,
   which would otherwise be silently ignored.

7) Update example configs to use druid.indexer.runner.javaOptsArray
   instead of druid.indexer.runner.javaOpts. (The latter is deprecated.)

* Adjustments.

* Use run-java in more places.

* Add run-java.

* Update .gitignore.

* Exclude hadoop-client-api.

Brought in when building on Java 17.

* Swap one more usage of java.

* Fix the run-java script.

* Fix flag.

* Include link to Temurin.

* Spelling.

* Update examples/bin/run-java

Co-authored-by: Xavier Léauté <xl+github@xvrl.net>

Co-authored-by: Xavier Léauté <xl+github@xvrl.net>
2022-08-03 23:16:05 -07:00
..
build-textfile-readme.sh autogenerate NOTICE.BINARY from NOTICE and licenses.yaml (#8306) 2019-08-21 12:46:27 -07:00
check-licenses.py Improved Java 17 support and Java runtime docs. (#12839) 2022-08-03 23:16:05 -07:00
find-missing-backports.py Graduation update for ASF release process guide and download links (#9126) 2020-01-06 15:00:33 -06:00
generate-binary-license.py Fix the other 2 python scripts that generates license. (#12340) 2022-04-08 16:43:17 +05:30
generate-binary-notice.py Fix the other 2 python scripts that generates license. (#12340) 2022-04-08 16:43:17 +05:30
generate-license-dependency-reports.py Debugs Flaky License dependency Reports generation (#12744) 2022-07-11 14:35:34 +05:30
get-milestone-contributors.py De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
get-milestone-prs.py Graduation update for ASF release process guide and download links (#9126) 2020-01-06 15:00:33 -06:00
jar-notice-lister.py Fix alerts from LGTM about python files (#8383) 2019-09-06 14:41:15 -07:00
make-linkable-release-notes.py add utility to aid in formatting release notes to be linkable (#11728) 2021-10-05 18:26:41 -07:00
tag-missing-milestones.py De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
web-console-dep-lister.py autogenerate NOTICE.BINARY from NOTICE and licenses.yaml (#8306) 2019-08-21 12:46:27 -07:00