[ https://issues.apache.org/jira/browse/HDFS-9799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150698#comment-15150698 ]
Xiaoyu Yao commented on HDFS-9799: ---------------------------------- Thanks [~zhz] for the explanation. Agree with your changes on getTrashRoot()/getTrashRoots level. For the change in getTrashRoots, can we add some indication for partial results being returned at API level in addition to the log. > Reimplement getCurrentTrashDir to remove incompatibility > -------------------------------------------------------- > > Key: HDFS-9799 > URL: https://issues.apache.org/jira/browse/HDFS-9799 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.8.0 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > Priority: Blocker > Attachments: HDFS-9799.00.patch, HDFS-9799.01.patch, > HDFS-9799.02.patch, HDFS-9799.03.patch, HDFS-9799.04.patch > > > HDFS-8831 changed the signature of {{TrashPolicy#getCurrentTrashDir}} by > adding an IOException. This breaks other applications using this public API. > This JIRA aims to reimplement the logic to safely handle the IOException > within HDFS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)