hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2008) sleeping with lock held in JobEndNotifier
Date Mon, 08 Oct 2007 18:26:50 GMT
sleeping with lock held in JobEndNotifier
-----------------------------------------

                 Key: HADOOP-2008
                 URL: https://issues.apache.org/jira/browse/HADOOP-2008
             Project: Hadoop
          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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message