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

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

This has been somewhat covered in  HADOOP-16026, which uses UGI, but it uses 
the user of the caller, when it should be the cached UGI.currentUser at time of 
FS.initialize -the way we do for DTs and other auth bits

> 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