You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Radim Kolar (Created) (JIRA)" <ji...@apache.org> on 2011/10/04 16:38:34 UTC

[jira] [Created] (CASSANDRA-3305) LeveledCompactionStrategy fails to remove compacted files on Windows

LeveledCompactionStrategy fails to remove compacted files on Windows
--------------------------------------------------------------------

                 Key: CASSANDRA-3305
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3305
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0
            Reporter: Radim Kolar


very common message on windows server:

ERROR [NonPeriodicTasks:1] 2011-10-04 15:47:40,508 SSTableDeletingTask.java (lin
e 76) Unable to delete \var\lib\cassandra\data\test\sipdb-h-302-Data.db (it will
 be removed on server restart; we'll also retry after GC)

As far i can see they are not removed even 1 hour later, successfully wasting disk space. If i force GC via jconsole, they are deleted. Old compaction strategy does not have this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3305) LeveledCompactionStrategy fails to remove compacted files on Windows

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3305.
---------------------------------------

    Resolution: Cannot Reproduce
    
> LeveledCompactionStrategy fails to remove compacted files on Windows
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-3305
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3305
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>
> very common message on windows server:
> ERROR [NonPeriodicTasks:1] 2011-10-04 15:47:40,508 SSTableDeletingTask.java (lin
> e 76) Unable to delete \var\lib\cassandra\data\test\sipdb-h-302-Data.db (it will
>  be removed on server restart; we'll also retry after GC)
> As far i can see they are not removed even 1 hour later, successfully wasting disk space. If i force GC via jconsole, they are deleted. Old compaction strategy does not have this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3305) LeveledCompactionStrategy fails to remove compacted files on Windows

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121535#comment-13121535 ] 

Jonathan Ellis commented on CASSANDRA-3305:
-------------------------------------------

I haven't been able to reproduce this.

I inserted 11M rows on Windows 7 (built from current trunk), resulting in 1205 compactions.  (Added stress.bat to make this easier in r1179415.)  I didn't see any instances of this error, nor do I see anything along the lines of CASSANDRA-3318 that would apply to leveled compaction but not size-tiered.
                
> LeveledCompactionStrategy fails to remove compacted files on Windows
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-3305
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3305
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>
> very common message on windows server:
> ERROR [NonPeriodicTasks:1] 2011-10-04 15:47:40,508 SSTableDeletingTask.java (lin
> e 76) Unable to delete \var\lib\cassandra\data\test\sipdb-h-302-Data.db (it will
>  be removed on server restart; we'll also retry after GC)
> As far i can see they are not removed even 1 hour later, successfully wasting disk space. If i force GC via jconsole, they are deleted. Old compaction strategy does not have this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3305) LeveledCompactionStrategy fails to remove compacted files on Windows

Posted by "Radim Kolar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121744#comment-13121744 ] 

Radim Kolar commented on CASSANDRA-3305:
----------------------------------------

i can reproduce it easily with rc2. Maybe its timing dependent and it will not show on faster computers? i have old Pentium D, 100% CPU used during stress testing.
                
> LeveledCompactionStrategy fails to remove compacted files on Windows
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-3305
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3305
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>
> very common message on windows server:
> ERROR [NonPeriodicTasks:1] 2011-10-04 15:47:40,508 SSTableDeletingTask.java (lin
> e 76) Unable to delete \var\lib\cassandra\data\test\sipdb-h-302-Data.db (it will
>  be removed on server restart; we'll also retry after GC)
> As far i can see they are not removed even 1 hour later, successfully wasting disk space. If i force GC via jconsole, they are deleted. Old compaction strategy does not have this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira