hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13648) s3a home directory to be "/"
Date Thu, 07 Sep 2017 09:34:00 GMT

    [ 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

hadoop fs -ls s3a:/bucket

...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

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

View raw message