[ https://issues.apache.org/jira/browse/HDFS-15539?focusedWorklogId=481871&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-481871 ]
ASF GitHub Bot logged work on HDFS-15539: ----------------------------------------- Author: ASF GitHub Bot Created on: 11/Sep/20 03:12 Start Date: 11/Sep/20 03:12 Worklog Time Spent: 10m Work Description: smengcl commented on pull request #2258: URL: https://github.com/apache/hadoop/pull/2258#issuecomment-690847462 > Thanks @smengcl for working on this,. The test failures like TestDistributedFileSystem#testGetTrashRoots look related. Can you plz verify? I'm checking. Probably need to add a line or two to clean up the old tests. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 481871) Time Spent: 1h 10m (was: 1h) > When disallowing snapshot on a dir, throw exception if its trash root is not > empty > ---------------------------------------------------------------------------------- > > Key: HDFS-15539 > URL: https://issues.apache.org/jira/browse/HDFS-15539 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs > Reporter: Siyao Meng > Assignee: Siyao Meng > Priority: Major > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > When snapshot is disallowed on a dir, {{getTrashRoots()}} won't return the > trash root in that dir anymore (if any). The risk is the trash root will be > left there forever. > We need to throw an exception there and prompt the user to clean up or rename > the trash root if it is not empty. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org