You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2011/08/11 20:56:27 UTC

[jira] [Moved] (MAPREDUCE-2832) sleeping with lock held in JobEndNotifier

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

Eli Collins moved HADOOP-2008 to MAPREDUCE-2832:
------------------------------------------------

        Key: MAPREDUCE-2832  (was: HADOOP-2008)
    Project: Hadoop Map/Reduce  (was: Hadoop Common)

> sleeping with lock held in JobEndNotifier
> -----------------------------------------
>
>                 Key: MAPREDUCE-2832
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2832
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> FindBugs points out a problem in JobEndNotifier from HADOOP-1111.
> {code}
>           synchronized (Thread.currentThread()) {
>             Thread.currentThread().sleep(notification.getRetryInterval());
>           }
> {code}
> I haven't tracked through the code, but I suspect it should be a wait instead of a sleep.

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