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] [Commented] (YARN-2096) Race in TestRMRestart#testQueueMetricsOnRMRestart
Date Fri, 23 May 2014 17:01:05 GMT

    [ https://issues.apache.org/jira/browse/YARN-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007363#comment-14007363

Tsuyoshi OZAWA commented on YARN-2096:

The change looks good to me too(non-binding).

> Race in TestRMRestart#testQueueMetricsOnRMRestart
> -------------------------------------------------
>                 Key: YARN-2096
>                 URL: https://issues.apache.org/jira/browse/YARN-2096
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-2096.patch
> org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart
fails randomly because of a race condition.
> The test validates that metrics are incremented, but does not wait for all transitions
to finish before checking for the values.
> It also resets metrics after kicking off recovery of second RM. The metrics that need
to be incremented race with this reset causing test to fail randomly.
> We need to wait for the right transitions.

This message was sent by Atlassian JIRA

View raw message