Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
So far, we've seen many unittest and product bugs in Hadoop on Windows because Java's APIs that manipulate with permissions do not work as expected. We've addressed many of these problems on one-by-one basis (by either changing code a bit or disabling the test). While debugging the remaining unittest failures we continue to run into the same patterns of problems, and instead of addressing them one-by-one, I propose that we expose a set of equivalent wrapper APIs that will work well for all platforms.
Scanning thru the codebase, this will actually be a simple change as there are very few places that use File#setReadable/Writable/Executable and File#canRead/Write/Execute (5 files in Common, 9 files in HDFS).
HADOOP-8973 contains additional context on the problem.
Attachments
Attachments
Issue Links
- is depended upon by
-
HDFS-4610 Move to using common utils FileUtil#setReadable/Writable/Executable and FileUtil#canRead/Write/Execute
- Closed
-
MAPREDUCE-5177 Move to common utils FileUtil#setReadable/Writable/Executable and FileUtil#canRead/Write/Execute
- Closed
-
YARN-506 Move to common utils FileUtil#setReadable/Writable/Executable and FileUtil#canRead/Write/Execute
- Closed
- is related to
-
HADOOP-8562 Enhancements to support Hadoop on Windows Server and Windows Azure environments
- Closed
- relates to
-
HADOOP-9551 Backport common utils introduced with HADOOP-9413 to branch-1-win
- Resolved
-
HADOOP-8973 DiskChecker cannot reliably detect an inaccessible disk on Windows with NTFS ACLs
- Closed
-
HADOOP-9590 Move to JDK7 improved APIs for file operations when available
- Open