You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/09/14 17:08:01 UTC

[jira] [Updated] (HDDS-443) Create reusable ProgressBar utility for freon tests

     [ https://issues.apache.org/jira/browse/HDDS-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elek, Marton updated HDDS-443:
------------------------------
    Attachment: HDDS-443-ozone-0.2.001.patch

> Create reusable ProgressBar utility for freon tests
> ---------------------------------------------------
>
>                 Key: HDDS-443
>                 URL: https://issues.apache.org/jira/browse/HDDS-443
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: test
>            Reporter: Elek, Marton
>            Priority: Major
>              Labels: newbie
>         Attachments: HDDS-443-ozone-0.2.001.patch
>
>
> Since HDDS-398 we can support multiple type of freon tests. But to add more test we need common utilities for generic task.
> One of the most important is to provide a reusable Progressbar utility.
> Currently the ProgressBar class is part the RandomKeyGenerator. It should be moved out from the class and all the thread start/stop logic should be moved to the ProgressBar.
> {{ProgressBar bar = new ProgressBar(System.out, () ->  ... , 200);}}
> {{bar.start(); // thred should be started here}}{{bar.stop(); // thread should be stopped.}}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org