commit | 1ff4438858df888141a31e4049ba8ad845c9cc10 | [log] [tgz] |
---|---|---|
author | Enrico Olivelli <eolivelli@gmail.com> | Mon Jul 29 13:49:00 2019 +0200 |
committer | Sijie Guo <guosijie@gmail.com> | Mon Jul 29 19:49:00 2019 +0800 |
tree | 2c822b9d3cc8fb545fa7e13eec4fd2d3a29f178e | |
parent | 60ff4ec791f94362eee9aecc67670cbdbf2b2ee6 [diff] |
Make default Bookie scripts work on JDK11+ - detect new Java versions in bin/common.sh - use different defaults on JDK8 vs JDK11+ Descriptions of the changes in this PR: Change distribution scripts in order to detect a JDK newer then JDK8 and set default JVM options accordingly. ### Motivation Because I want that BookKeeper tools run out of the box with JDK11 ### Changes 1) detect a JDK newer then JDK8, but checking if exists $JAVA_HOME/bin/jshell (this is quite robust, better then parsing some Java version string) 2) use new defaults for JDK11, in particular do not enable experimental and deprecated options, use the new [Java Unified Logging](https://openjdk.java.net/jeps/158) log system for GC Please note the output of "Java Unified Logging" is very different from the old pre-Java9 one and options are different, there is no simple port. Master Issue: #1912 Reviewers: Sijie Guo <None> This closes #2132 from eolivelli/fix/run-jdk11
Apache BookKeeper is a scalable, fault tolerant and low latency storage service optimized for append-only workloads.
It is suitable for being used in following scenarios:
You can also read Turning Ledgers into Logs to learn how to turn ledgers into continuous log streams. If you are looking for a high level log stream API, you can checkout DistributedLog.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a Github issue or opening an Apache jira.
Subscribe or mail the user@bookkeeper.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@bookkeeper.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Join us on Slack - This is the most immediate way to connect with Apache BookKeeper committers and contributors.
We feel that a welcoming open community is important and welcome contributions.
See Developer Setup to get your local environment setup.
Take a look at our open issues: JIRA Issues Github Issues.
Review our coding style and follow our pull requests to learn about our conventions.
Make your changes according to our contribution guide.