kaijchen opened a new pull request, #851:
URL: https://github.com/apache/ratis/pull/851

   ## What changes were proposed in this pull request?
   
   This is mainly for supporting Java 17, but any other Java 8+ version should 
be allowed.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1813
   
   ## How was this patch tested?
   
    Before
   
   ```console
   $ bin/ratis sh
   Error: ratis-shell requires Java 8 or Java 11, currently Java 17.0.6 found. 
   ```
   
   After
   
   ```console
   $ 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]]                                       
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to