hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r510254 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/ipc/Server.java
Date Wed, 21 Feb 2007 21:56:03 GMT
Author: cutting
Date: Wed Feb 21 13:56:02 2007
New Revision: 510254

URL: http://svn.apache.org/viewvc?view=rev&rev=510254
Log:
HADOOP-1025.  Remove some obsolete code in ipc.Server.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=510254&r1=510253&r2=510254
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Feb 21 13:56:02 2007
@@ -93,6 +93,8 @@
     The EC2 scripts now support launch of public AMIs.
     (tomwhite)
     
+28. HADOOP-1025. Remove some obsolete code in ipc.Server.  (cutting)
+
 
 Release 0.11.2 - 2007-02-16
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java?view=diff&rev=510254&r1=510253&r2=510254
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/ipc/Server.java Wed Feb 21 13:56:02 2007
@@ -111,7 +111,6 @@
 
   private boolean running = true;                 // true while server runs
   private LinkedList callQueue = new LinkedList(); // queued calls
-  private Object callDequeued = new Object();     // used by wait/notify
 
   private List connectionList = 
        Collections.synchronizedList(new LinkedList()); //maintain a list
@@ -511,10 +510,6 @@
             }
             if (!running) break;
             call = (Call)callQueue.removeFirst(); // pop the queue
-          }
-
-          synchronized (callDequeued) {           // tell others we've dequeued
-            callDequeued.notify();
           }
 
           // throw the message away if it is too old



Mime
View raw message