[ 
https://issues.apache.org/jira/browse/HDFS-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoyu Yao updated HDFS-10344:
------------------------------
    Attachment: HDFS-10344.00.patch

Attach a patch with unit tests. 

> DistributedFileSystem#getTrashRoots should skip encryption zone that does not 
> have .Trash
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-10344
>                 URL: https://issues.apache.org/jira/browse/HDFS-10344
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>         Attachments: HDFS-10344.00.patch
>
>
> HDFS-8831 added trash support for encryption zones. For encryption zone that 
> does not have .Trash created yet, DistributedFileSystem#getTrashRoots should 
> skip rather than call listStatus() and break by FileNotFoundException. I will 
> post a patch for the fix shortly. 



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

Reply via email to