hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r524268 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/JobHistory.java
Date Fri, 30 Mar 2007 20:55:04 GMT
Author: cutting
Date: Fri Mar 30 13:55:03 2007
New Revision: 524268

URL: http://svn.apache.org/viewvc?view=rev&rev=524268
Log:
HADOOP-1011.  Fix a ConcurrentModificationException when viewing job history.  Contributed
by Tahir.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobHistory.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=524268&r1=524267&r2=524268
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Mar 30 13:55:03 2007
@@ -73,6 +73,9 @@
 22. HADOOP-1178.  Fix a NullPointerException during namenode startup.
     (Dhruba Borthakur via cutting)
 
+23. HADOOP-1011.  Fix a ConcurrentModificationException when viewing
+    job history.  (Tahir Hashmi via cutting)
+
 
 Release 0.12.3 (not yet released)
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobHistory.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobHistory.java?view=diff&rev=524268&r1=524267&r2=524268
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobHistory.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobHistory.java Fri Mar 30 13:55:03
2007
@@ -266,7 +266,7 @@
      * Reads values back from the history, input is same Map as passed to Listener by parseHistory().
 
      * @param values
      */
-    public void handle(Map<Keys, String> values){
+    public synchronized void handle(Map<Keys, String> values){
       set(values); 
     }
     /**



Mime
View raw message