Browse Source

HADOOP-1363. Fix a locking bug in JobClient#waitForCompletion(). Contributed by Owen.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@539090 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 years ago
parent
commit
5ed6036fdb
2 changed files with 4 additions and 1 deletions
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/mapred/JobClient.java

+ 3 - 0
CHANGES.txt

@@ -419,6 +419,9 @@ Branch 0.13 (unreleased changes)
 
 
 117. HADOOP-1356.  Fix a bug in ValueHistogram.  (Runping Qi via cutting)
 117. HADOOP-1356.  Fix a bug in ValueHistogram.  (Runping Qi via cutting)
 
 
+118. HADOOP-1363.  Fix locking bug in JobClient#waitForCompletion().
+     (omalley via cutting)
+
 
 
 Release 0.12.3 - 2007-04-06
 Release 0.12.3 - 2007-04-06
 
 

+ 1 - 1
src/java/org/apache/hadoop/mapred/JobClient.java

@@ -144,7 +144,7 @@ public class JobClient extends ToolBase implements MRConstants  {
     /**
     /**
      * Blocks until the job is finished
      * Blocks until the job is finished
      */
      */
-    public synchronized void waitForCompletion() throws IOException {
+    public void waitForCompletion() throws IOException {
       while (!isComplete()) {
       while (!isComplete()) {
         try {
         try {
           Thread.sleep(5000);
           Thread.sleep(5000);