hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r497583 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/JobClient.java
Date Thu, 18 Jan 2007 21:29:22 GMT
Author: cutting
Date: Thu Jan 18 13:29:21 2007
New Revision: 497583

URL: http://svn.apache.org/viewvc?view=rev&rev=497583
Log:
HADOOP-905.  Remove some dead code from JobClient.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=497583&r1=497582&r2=497583
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu Jan 18 13:29:21 2007
@@ -39,6 +39,8 @@
 11. HADOOP-899.  Update libhdfs for changes in HADOOP-871.
     (Sameer Paranjpye via cutting)
 
+12. HADOOP-905.  Remove some dead code from JobClient.  (cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?view=diff&rev=497583&r1=497582&r2=497583
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java Thu Jan 18 13:29:21
2007
@@ -311,17 +311,7 @@
           job.setWorkingDirectory(fs.getWorkingDirectory());          
         }
 
-        FileSystem userFileSys = FileSystem.get(job);
-        Path[] inputDirs = job.getInputPaths();
- 
-        // make sure directories are fully qualified before checking them
-        for(int i=0; i < inputDirs.length; ++i) {
-          if (inputDirs[i].toUri().getScheme() == null) {
-            inputDirs[i] = userFileSys.makeQualified(inputDirs[i]);
-          }
-        }
-
-        // input paths should exist. 
+        // Check the input specification 
         job.getInputFormat().validateInput(job);
 
         // Check the output specification



Mime
View raw message