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.