Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1813

Allow ratis-shell to run in any JDK 8+ version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0, 2.5.0
    • shell
    • None

    Description

      This is mainly for supporting Java 17, but any other Java 8+ version should be allowed.

      Before

      $ bin/ratis sh
      Error: ratis-shell requires Java 8 or Java 11, currently Java 17.0.6 found. 

      After

      $ 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]]                                       

      Attachments

        Issue Links

          Activity

            People

              ckj Kaijie Chen
              ckj Kaijie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m