[ 
https://issues.apache.org/jira/browse/HDDS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784329#comment-16784329
 ] 

Elek, Marton commented on HDDS-453:
-----------------------------------

bq. An other alternative is to copy out the specific parsing logic for only 
those options that make sense for OM/SCM from GenericOptionsParser, and then 
using picocli to handle them. 

I would prefer to do this one, sooner or later. I think the error handling of 
GenericOptionsParser problematic and picocli provides better user experience. 
S3Gatway implemented to use picocli/GenericCli, so we need to add the missing 
arguments anyway (but only a subset of them as we don't need all the mapreduce 
specific flags...)

HDDS-1192 has already opened to support the "-conf" flag.

> OM and SCM should use picocli to parse arguments
> ------------------------------------------------
>
>                 Key: HDDS-453
>                 URL: https://issues.apache.org/jira/browse/HDDS-453
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Manager, SCM
>            Reporter: Arpit Agarwal
>            Assignee: Aravindan Vijayan
>            Priority: Major
>              Labels: alpha2, newbie
>
> SCM and OM can use the picocli to parse command-line arguments.
> Suggested in HDDS-415 by [~anu].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to