[ 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org