cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1509) CassandraServiceDataCleaner doesn't remove subdirectories properly
Date Sat, 18 Sep 2010 12:49:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911009#action_12911009
] 

Hudson commented on CASSANDRA-1509:
-----------------------------------

Integrated in Cassandra #539 (See [https://hudson.apache.org/hudson/job/Cassandra/539/])
    make contrib CassandraServiceDataCleaner recursive.  patch by B. Todd Burruss; reviewed
by jbellis for CASSANDRA-1509


> CassandraServiceDataCleaner doesn't remove subdirectories properly
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-1509
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1509
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 0.6
>            Reporter: B. Todd Burruss
>            Assignee: B. Todd Burruss
>            Priority: Trivial
>             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.


Mime
View raw message