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

Aravindan Vijayan commented on HDDS-453:
----------------------------------------

Both OM and SCM use HDFS GenericOptionsParser library to parse arguments and do 
the appropriate action (Add jars to classpath, add conf file, specify token 
file etc). Adding picocli support to these daemons and using the 
GenericOptionsParser as well means that we will be using picocli only as an 
argument wrapper. I believe that will not give us any value. Also, OM and SCM 
currently have only 2 possible extra arguments in addition to the ones that can 
be handled by GenericOptionsParser. 

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. 

[~arpitagarwal] Any suggestions on what we can do?


> 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