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

JCommander args should have `required=true` when appropriate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • LogService
    • None

    Description

      VerificationTool and the LogServiceShell both use JCommander to implement a required argument provided by the user (the metadata quorum string), but don't mark the option as required. This lets the user omit providing it which results in a NPE.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: