Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
Incompatible change
Description
There are two FileUtils#chmod methods:
public static int chmod(String filename, String perm ) throws IOException, InterruptedException; public static int chmod(String filename, String perm, boolean recursive) throws IOException;
The first one just calls the second one with recursive = false, but despite that it is declared as throwing InterruptedException, something the second one doesn't declare.
The new Java7 chmod API, which we will transition to once JDK6 support is dropped, does not throw InterruptedException
So we should make these consistent by removing the InterruptedException
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-9647 Hadoop streaming needs minor update for exception signature change
- Resolved