Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
-
Reviewed
Description
RawLocalFs#getFileLinkStatus does not actually get the owner and mode of the symlink, but instead uses the owner and mode of the symlink target. If the target can't be found, it fills in bogus values (the empty string and FsPermission.getDefault) for these.
Symlinks have an owner distinct from the owner of the target they point to, and getFileLinkStatus ought to expose this.
In some operating systems, symlinks can have a permission other than 0777. We ought to expose this in RawLocalFilesystem and other places, although we don't necessarily have to support this behavior in HDFS.
Attachments
Attachments
Issue Links
- breaks
-
MAPREDUCE-5584 ShuffleHandler becomes unresponsive during gridmix runs and can leak file descriptors
- Resolved
-
HADOOP-9782 Datanode daemon cannot be started on OS X
- Resolved
-
HADOOP-9981 globStatus should minimize its listStatus and getFileStatus calls
- Closed
- incorporates
-
HADOOP-9693 Shell should add a probe for OSX
- Closed
- is cloned by
-
HADOOP-10276 RawLocalFs#getFileLinkStatus does not fill in the link owner and mode by default
- Open
- is duplicated by
-
HADOOP-9783 Fix OS detection for RawLocalFileSystem#getFileLinkStatus fallback path
- Resolved
-
HADOOP-9788 Add sticky bit support to org.apache.hadoop.fs.Stat
- Resolved
-
MAPREDUCE-5430 TestMRApps#testSetClasspathWithArchives is failing
- Resolved
- is related to
-
HADOOP-9371 Define Semantics of FileSystem more rigorously
- Closed
-
HADOOP-9788 Add sticky bit support to org.apache.hadoop.fs.Stat
- Resolved
-
HADOOP-9769 Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped
- Patch Available
- relates to
-
HADOOP-9783 Fix OS detection for RawLocalFileSystem#getFileLinkStatus fallback path
- Resolved
-
HADOOP-8040 Add symlink support to FileSystem
- Closed