git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@499140 13f79535-47bb-0310-9956-ffa450edef68
@@ -57,6 +57,9 @@ Trunk (unreleased changes)
17. HADOOP-901. Add support for recursive renaming to the S3 filesystem.
(Tom White via cutting)
+18. HADOOP-912. Fix a bug in TaskTracker.isIdle() that was
+ sporadically causing unit test failures. (Arun C Murthy via cutting)
+
Release 0.10.1 - 2007-01-10
@@ -1475,7 +1475,7 @@ public class TaskTracker
* @return has this task tracker finished and cleaned up all of its tasks?
*/
public synchronized boolean isIdle() {
- return tasks.isEmpty();
+ return tasks.isEmpty() && tasksToCleanup.isEmpty();
}
/**