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

Steve Loughran commented on HADOOP-16538:
-----------------------------------------

FWIW, I think we should do it in FileSystem

> S3AFilesystem trash handling should respect the current UGI
> -----------------------------------------------------------
>
>                 Key: HADOOP-16538
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16538
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Siddharth Seth
>            Priority: Major
>
> S3 move to trash currently relies upon System.getProperty(user.name). 
> Instead, it should be relying on the current UGI to figure out the username.
> getHomeDirectory needs to be overridden to use UGI instead of 
> System.getProperty



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to