Author: cutting
Date: Mon Aug 22 10:05:55 2005
New Revision: 235754

URL: http://svn.apache.org/viewcvs?rev=235754&view=rev
Log:
Always destroy the sub-process.  Otherwise it consumes file handles.

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DF.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DF.java
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DF.java?rev=235754&r1=235753&r2=235754&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DF.java 
(original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DF.java Mon Aug 
22 10:05:55 2005
@@ -61,6 +61,8 @@
       }
     } catch (InterruptedException e) {
       throw new IOException(e.toString());
+    } finally {
+      process.destroy();
     }
   }
 


Reply via email to