You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Muga Nishizawa (JIRA)" <ji...@apache.org> on 2011/05/24 10:29:47 UTC

[jira] [Created] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

"insufficient space to compact even the two smallest files, aborting"
---------------------------------------------------------------------

                 Key: CASSANDRA-2697
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.0 beta 2
         Environment: CentOS
            Reporter: Muga Nishizawa
             Fix For: 0.8.0


When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

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

Wojciech Meler commented on CASSANDRA-2697:
-------------------------------------------

cassandra 0.8.0 has problems with manual compaction - in my case I get "insufficient space..." message running 

  nodetool -h localhost -p 8080 compact mykeyspace fdb

while there is 66 fdb-*Data.db files, 6 fdb-*Compacted (a lot of files to compact) and only 7% of storage is used.

> "insufficient space to compact even the two smallest files, aborting"
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-2697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>         Environment: CentOS
>            Reporter: Muga Nishizawa
>            Priority: Trivial
>             Fix For: 0.8.1
>
>
> When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

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

Hudson commented on CASSANDRA-2697:
-----------------------------------

Integrated in Cassandra-0.8 #133 (See [https://builds.apache.org/hudson/job/Cassandra-0.8/133/])
    

> "insufficient space to compact even the two smallest files, aborting"
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-2697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>         Environment: CentOS
>            Reporter: Muga Nishizawa
>            Priority: Trivial
>             Fix For: 0.8.1
>
>
> When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

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

Wojciech Meler updated CASSANDRA-2697:
--------------------------------------

    Attachment: fdb-ls.txt

listing of files I wish to compact, there is a lot of free space on filesystem:
/dev/sdb1             279G  529M  278G   1% /var/lib/cassandra/commitlog
/dev/sdc1             3.3T  212G  3.1T   7% /var/lib/cassandra/data


> "insufficient space to compact even the two smallest files, aborting"
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-2697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>         Environment: CentOS
>            Reporter: Muga Nishizawa
>            Priority: Trivial
>             Fix For: 0.8.1
>
>         Attachments: fdb-ls.txt
>
>
> When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

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

Jonathan Ellis resolved CASSANDRA-2697.
---------------------------------------

    Resolution: Fixed

added special case message for attempted compaction of < 2 sstables in r1127034

> "insufficient space to compact even the two smallest files, aborting"
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-2697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>         Environment: CentOS
>            Reporter: Muga Nishizawa
>            Priority: Trivial
>             Fix For: 0.8.1
>
>
> When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2697) "insufficient space to compact even the two smallest files, aborting"

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

Jonathan Ellis updated CASSANDRA-2697:
--------------------------------------

         Priority: Trivial  (was: Major)
    Fix Version/s:     (was: 0.8.0)
                   0.8.1
       Issue Type: Improvement  (was: Bug)

> "insufficient space to compact even the two smallest files, aborting"
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-2697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>         Environment: CentOS
>            Reporter: Muga Nishizawa
>            Priority: Trivial
>             Fix For: 0.8.1
>
>
> When I explicitly send compaction command "compact" with nodetool, Cassandra outputs error message above.  This message is shown even when there is only one file and no need for compaction.  I believe this is confusing for users, and recommend that some alternative message should be shown for such case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira