You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2016/04/28 23:38:12 UTC

[jira] [Updated] (HDFS-10344) DistributedFileSystem#getTrashRoots should skip encryption zone that does not have .Trash

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