hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2921) MockRM#waitForState methods can be too slow and flaky
Date Thu, 04 Dec 2014 00:33:14 GMT

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

Tsuyoshi OZAWA updated YARN-2921:
---------------------------------
    Attachment: YARN-2921.001.patch

Attaching a first patch.

1. Making polling interval smaller(100msec).
2. Adding waitStateExecutor for polling the state. 
3. Using CountDownLatch.

> MockRM#waitForState methods can be too slow and flaky
> -----------------------------------------------------
>
>                 Key: YARN-2921
>                 URL: https://issues.apache.org/jira/browse/YARN-2921
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: Karthik Kambatla
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-2921.001.patch
>
>
> MockRM#waitForState methods currently sleep for too long (2 seconds and 1 second). This
leads to slow tests and sometimes failures if the App/AppAttempt moves to another state. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message