[
https://issues.apache.org/jira/browse/RATIS-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1813.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now fixed. Thanks, [~ckj]!
> Allow ratis-shell to run in any JDK 8+ version
> ----------------------------------------------
>
> Key: RATIS-1813
> URL: https://issues.apache.org/jira/browse/RATIS-1813
> Project: Ratis
> Issue Type: Improvement
> Components: shell
> Reporter: Kaijie Chen
> Assignee: Kaijie Chen
> Priority: Minor
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)