hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7292) Metrics 2 TestSinkQueue is racy
Date Tue, 17 May 2011 00:50:47 GMT

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

Todd Lipcon commented on HADOOP-7292:
-------------------------------------

aha, I guess I learn something new every day :)

Nonetheless since it's only used in that local scope for now, why not minimize it? Makes it
easier to understand that it's only triggered from that thread and awaited from the other.

> Metrics 2 TestSinkQueue is racy
> -------------------------------
>
>                 Key: HADOOP-7292
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7292
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.23.0
>            Reporter: Luke Lu
>            Assignee: Luke Lu
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: hadoop-7292-test-race-v1.patch
>
>
> The TestSinkQueue is racy (Thread.yield is not enough to guarantee other intended thread
getting run), though it's the first time (from HADOOP-7289) I saw it manifested here.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message