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

Xiaoyu Yao commented on HDFS-9881:
----------------------------------

Thanks [~andrew.wang]. Patch LGTM, +1.  

> DistributedFileSystem#getTrashRoot returns incorrect path for encryption zones
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-9881
>                 URL: https://issues.apache.org/jira/browse/HDFS-9881
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Critical
>         Attachments: HDFS-9881.001.patch, HDFS-9881.002.patch
>
>
> getTrashRoots is missing a "/" in the path concatenation, so ends up putting 
> files into a directory named "/ez/.Trashandrew" rather than 
> "/ez/.Trash/andrew"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to