瀏覽代碼

revert HADOOP-9646 to fix hadoop-streaming compile issue


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1493251 13f79535-47bb-0310-9956-ffa450edef68
Colin McCabe 12 年之前
父節點
當前提交
efd12d9d3b

+ 0 - 3
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -44,9 +44,6 @@ Release 2.1.0-beta - UNRELEASED
 
     HADOOP-9630. [RPC v9] Remove IpcSerializationType. (Junping Du via llu)
 
-    HADOOP-9646.  Inconsistent exception specifications in FileUtils#chmod
-    (Colin Patrick McCabe)
-
   NEW FEATURES
 
     HADOOP-9283. Add support for running the Hadoop client on AIX. (atm)

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java

@@ -728,7 +728,7 @@ public class FileUtil {
    * @throws InterruptedException
    */
   public static int chmod(String filename, String perm
-                          ) throws IOException {
+                          ) throws IOException, InterruptedException {
     return chmod(filename, perm, false);
   }