You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2019/04/10 19:14:00 UTC

[jira] [Created] (RATIS-524) JCommander args should have `required=true` when appropriate

Josh Elser created RATIS-524:
--------------------------------

             Summary: JCommander args should have `required=true` when appropriate
                 Key: RATIS-524
                 URL: https://issues.apache.org/jira/browse/RATIS-524
             Project: Ratis
          Issue Type: Bug
          Components: LogService
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 0.4.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)