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/05/03 18:08:00 UTC
[jira] [Resolved] (RATIS-524) JCommander args should have
`required=true` when appropriate
[ https://issues.apache.org/jira/browse/RATIS-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved RATIS-524.
------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)