Procházet zdrojové kódy

HADOOP-3128. Merge -r 642478:642480 to branch-0.16 for 0.16.2 release

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16@642481 13f79535-47bb-0310-9956-ffa450edef68
Nigel Daley před 17 roky
rodič
revize
0628fb1d31

+ 3 - 0
CHANGES.txt

@@ -67,6 +67,9 @@ Release 0.16.2 - 2008-04-02
     HADOOP-2833. Do not use "Dr. Who" as the default user in JobClient.
     A valid user name is required. (Tsz Wo (Nicholas), SZE via rangadi)
 
+    HADOOP-3128. Throw RemoteException in setPermissions and setOwner of 
+    DistributedFileSystem.  (shv via nigel)
+
 Release 0.16.1 - 2008-03-13
 
   INCOMPATIBLE CHANGES

+ 2 - 0
src/java/org/apache/hadoop/dfs/DistributedFileSystem.java

@@ -363,6 +363,7 @@ public class DistributedFileSystem extends FileSystem {
       if(FileNotFoundException.class.getName().equals(re.getClassName())) {
         throw new FileNotFoundException("File does not exist: " + p);
       }
+      throw re;
     }
   }
 
@@ -378,6 +379,7 @@ public class DistributedFileSystem extends FileSystem {
       if(FileNotFoundException.class.getName().equals(re.getClassName())) {
         throw new FileNotFoundException("File does not exist: " + p);
       }
+      throw re;
     }
   }
 }