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

Vince.Feng commented on HDFS-15341:
-----------------------------------

@[acmurthy|https://github.com/acmurthy] @[aajisaka|https://github.com/aajisaka] 
 @[xiaoyuyao|https://github.com/xiaoyuyao] @[arp7|https://github.com/arp7] @[ 
acmurthy|https://github.com/acmurthy]

> HDFS Move viewfs path to trash failed.
> --------------------------------------
>
>                 Key: HDFS-15341
>                 URL: https://issues.apache.org/jira/browse/HDFS-15341
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.10.0, 3.3.1
>            Reporter: Vince.Feng
>            Priority: Minor
>
> When HDFS client with viewfs want to move file/directory to trash by 
> RemoteUser or
> ProxyUser , it will fail. Codes like below:
> {code:java}
> // code placeholder
> Trash.moveToAppropriateTrash(fileSystem, path, conf);
> {code}
>  
>  
> 'fullyResolvedFs' will return a FileSystem with ugi of system user. But the 
> source fileSystem ugi was specified account. So the moving to trash operation 
> will fail. Because of trashRoot mismatch the real baseTrashPath.
>  



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