hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xudong Cao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1703) Freon uses wait/notify instead of polling to eliminate the test result errors.
Date Tue, 18 Jun 2019 07:14:00 GMT

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

Xudong Cao updated HDDS-1703:
-----------------------------
    Summary: Freon uses wait/notify instead of polling to eliminate the test result errors.
 (was: Freon uses wait/notify instead of polling to eliminate the test result error.)

> Freon uses wait/notify instead of polling to eliminate the test result errors.
> ------------------------------------------------------------------------------
>
>                 Key: HDDS-1703
>                 URL: https://issues.apache.org/jira/browse/HDDS-1703
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.4.0
>            Reporter: Xudong Cao
>            Assignee: Xudong Cao
>            Priority: Minor
>
> After HDDS-1532, Freon has an efficient concurrent testing framework. In the new framework,
the main thread checks every 5s to verify whether the test is completed (or an exception occurred),
which will eventually introduce a maximum error of 5s.
> In most cases, Freon's test results are at minutes or tens of minutes level, thus a
5s error is not significant, but in some particularly small tests, a 5s error may have a
significant impact.
> Therefore, we can use the combination of Object.wait() + Object.notify()  instead of
polling to completely eliminate this error.



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


Mime
View raw message