hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077805 - /hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java
Date Fri, 04 Mar 2011 05:24:08 GMT
Author: omalley
Date: Fri Mar  4 05:24:07 2011
New Revision: 1077805

URL: http://svn.apache.org/viewvc?rev=1077805&view=rev
Log:
commit af18457e5ebe3b6b9ed2e96ddbed90d00d313fc6
Author: Krishna Ramachandran <ramach@yahoo-inc.com>
Date:   Fri Feb 18 10:41:10 2011 -0800

    Fix Ticket 4337918 - [STRIPING] default name node is viewfs:///
    and if we pass hdfs://path giving error
    
    +++ b/YAHOO-CHANGES.txt
    +    Bug:4337918  Fix [STRIPING] default name node is viewfs:/// if we pass
    +    hdfs://path giving error - fix in DistributedCache
    +

Modified:
    hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java

Modified: hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java?rev=1077805&r1=1077804&r2=1077805&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java
(original)
+++ hadoop/common/branches/branch-0.20-security-203/src/mapred/org/apache/hadoop/filecache/DistributedCache.java
Fri Mar  4 05:24:07 2011
@@ -435,7 +435,7 @@ public class DistributedCache {
   @Deprecated
   public static void addFileToClassPath(Path file, Configuration conf)
         throws IOException {
-    addFileToClassPath(file, conf, FileSystem.get(conf));
+    addFileToClassPath(file, conf, file.getFileSystem(conf));
   }
 
   /**
@@ -495,7 +495,7 @@ public class DistributedCache {
   public static void addArchiveToClassPath
          (Path archive, Configuration conf)
       throws IOException {
-    addArchiveToClassPath(archive, conf, FileSystem.get(conf));
+    addArchiveToClassPath(archive, conf, archive.getFileSystem(conf));
   }
 
   /**



Mime
View raw message