hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10344) DistributedFileSystem#getTrashRoots should skip encryption zone that does not have .Trash
Date Tue, 03 May 2016 01:15:13 GMT

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

Andrew Wang commented on HDFS-10344:
------------------------------------

Thanks Xiaoyu for the find and fix, patch LGTM +1.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message