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

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

bq. We can create a static configuration field in all the benchmarks and update 
it?

Or do from the other side: create a static configuration field on Genesis. Yes, 
I have no better idea, but I don't like it. Static field is usually dangerous. 
(BTW. Are you sure that jmh uses the same jvm. It could be a forked jvm where 
we can't use static.) These are the reasons why I have no problems to leave it 
as is. 

> Use picocli with Ozone genesis tool
> -----------------------------------
>
>                 Key: HDDS-1104
>                 URL: https://issues.apache.org/jira/browse/HDDS-1104
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Elek, Marton
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: newbie
>             Fix For: 0.4.0
>
>         Attachments: HDDS-1104.001.patch
>
>
> Ozone genesis is a command line microbenchmark tool for ozone.
> With other ozone tools (eg with freon) we already switched to use picocli for 
> command line argument parsing.
> It would be great to use picocli from org.apache.hadoop.ozone.genesis.Genesis 
> as well.
> We need at least a "–filter" option to run only the filtered tests (this is a 
> generic use case and the users usually comment out the unnecessary tests and 
> the commented lines can be accidentally committed)
> Freon can be used as an example, but here we don't need any subcommands.



--
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