[
https://issues.apache.org/jira/browse/RATIS-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaijie Chen updated RATIS-1813:
-------------------------------
Description:
This is mainly for supporting Java 17, but any other Java 8+ version should be
allowed.
Before
{code:java}
$ bin/ratis sh
Error: ratis-shell requires Java 8 or Java 11, currently Java 17.0.6 found.
{code}
After
{code:java}
bin/ratis sh
[main] INFO org.reflections.Reflections - Reflections took 32 ms to scan 1
urls, producing 5 keys and 18 values
Usage: ratis sh [generic options]
[election [transfer] [stepDown] [pause] [resume]]
[group [info] [list]]
[peer [add] [remove] [setPriority]]
[snapshot [create]] {code}
> Allow ratis-shell to run in JDK 8+
> ----------------------------------
>
> Key: RATIS-1813
> URL: https://issues.apache.org/jira/browse/RATIS-1813
> Project: Ratis
> Issue Type: Improvement
> Reporter: Kaijie Chen
> Assignee: Kaijie Chen
> Priority: Minor
>
> This is mainly for supporting Java 17, but any other Java 8+ version should
> be allowed.
> Before
> {code:java}
> $ bin/ratis sh
> Error: ratis-shell requires Java 8 or Java 11, currently Java 17.0.6 found.
> {code}
> After
> {code:java}
> bin/ratis sh
> [main] INFO org.reflections.Reflections - Reflections took 32 ms to scan 1
> urls, producing 5 keys and 18 values
> Usage: ratis sh [generic options]
> [election [transfer] [stepDown] [pause] [resume]]
> [group [info] [list]]
> [peer [add] [remove] [setPriority]]
> [snapshot [create]] {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)