[ https://issues.apache.org/jira/browse/CASSANDRA-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1509: -------------------------------------- Fix Version/s: 0.7 beta 2 Reviewer: gdusbabek > CassandraServiceDataCleaner doesn't remove subdirectories properly > ------------------------------------------------------------------ > > Key: CASSANDRA-1509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1509 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7 beta 1 > Reporter: B. Todd Burruss > Fix For: 0.7 beta 2 > > Attachments: patch-delete-recursive.txt > > > CassandraServiceDataCleaner.cleanDir assumes all files in the directory are > normal files, not directories. Suggested fix is to change > FileUtils.delete(dirFile.listFiles()) to FileUtils.deleteRecursive(f) to > remove recursively which will delete all data files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.