[ https://issues.apache.org/jira/browse/HADOOP-7284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034632#comment-13034632 ]
Sanjay Radia commented on HADOOP-7284: -------------------------------------- trash.isEnabled() was redundant - #moveToTrash() checks that first. #moveToApropriateTrash() calls #moveToTrash(). The unit test ended being small code but harder than it looked (partly because of home dir being /Users and /user in different systems - we want to the test to work on linux and mac.) Did some further cleanup of tests and resolved a bug in chRootedFs(). The FileSystem cache causes some weird problems -- one thinks one gets independent FileSystems but not true because of wd. > Trash and shell's rm does not work for viewfs > --------------------------------------------- > > Key: HADOOP-7284 > URL: https://issues.apache.org/jira/browse/HADOOP-7284 > Project: Hadoop Common > Issue Type: Bug > Reporter: Sanjay Radia > Assignee: Sanjay Radia > Fix For: 0.23.0 > > Attachments: trash1.patch, trash2.patch > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira