[ https://issues.apache.org/jira/browse/HADOOP-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7175: -------------------------------- Attachment: HADOOP-7175.patch Adds isEnabled() method and corresponding tests. > Add isEnabled() to Trash > ------------------------ > > Key: HADOOP-7175 > URL: https://issues.apache.org/jira/browse/HADOOP-7175 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.22.0 > Reporter: Daryn Sharp > Fix For: 0.22.0 > > Attachments: HADOOP-7175.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > The moveToTrash method returns false in a number of cases. It's not possible > to discern if false means an error occurred. In particular, it's not possible > to know if the trash is disabled vs. an error occurred. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira