You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/09/07 09:34:00 UTC

[jira] [Commented] (HADOOP-13648) s3a home directory to be "/"

    [ https://issues.apache.org/jira/browse/HADOOP-13648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156739#comment-16156739 ] 

Steve Loughran commented on HADOOP-13648:
-----------------------------------------

there's a risk this break things unless its configurable, though I'd like to change the default so that this doesn't throw an FNFE

{code}
hadoop fs -ls s3a:/bucket
{code}

...without a trailing / it qualifies to to the home dir, if that's not there, exception

> s3a home directory to be "/"
> ----------------------------
>
>                 Key: HADOOP-13648
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13648
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org