Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.8.0
-
None
-
None
Description
The home directory of an s3a instances is /user/" + System.getProperty("user.name")). As HADOOP-12774 notes, it gets the user wrong: if it were to be correct it should use the shortname of the current principal.
I don't think the username is valid here at all. s3a buckets are not filesystems with users and permissions; all this per-user home dir appears to do is cause confusion, and end up putting the output of an hadoop fs -rm operation into a directory under it.
If we made it "/" then it'd be the same for all users, and "/.Trash" would be where deleted files get copied to