Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.2
-
None
-
Reviewed
Description
S3a users System.getProperty("user.name") to get the username for the homedir. This is wrong, as it doesn't work on a YARN app where the identity is set by HADOOP_USER_NAME, or in a doAs clause.
Obviously, UGI.getCurrentUser.getShortname() provides that name, everywhere.
This is a simple change in the source, though testing is harder ... probably best to try in a doAs
Attachments
Issue Links
- incorporates
-
HADOOP-13310 S3A reporting of file group as empty is harmful to compatibility for the shell.
-
- Resolved
-
- is related to
-
HADOOP-13310 S3A reporting of file group as empty is harmful to compatibility for the shell.
-
- Resolved
-
- is required by
-
HADOOP-13309 Document S3A known limitations in file ownership and permission model.
-
- Resolved
-
- links to