incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Multiple Data Directories
Date Thu, 25 Feb 2010 19:43:22 GMT
Compaction is why http://wiki.apache.org/cassandra/CassandraHardware
recommends raid0-ing if you are concerned about free disk space
limits.

On Thu, Feb 25, 2010 at 1:36 PM, Gary Dusbabek <gdusbabek@gmail.com> wrote:
> Cassandra always compacts to the directory with the most free space.
> There is not a way to influence this.
>
> Gary
>
> On Thu, Feb 25, 2010 at 13:23, Anthony Molinaro
> <anthonym@alumni.caltech.edu> wrote:
>> Hi,
>>
>>  So is there anyway to force distribution among DataFileDirectory entries
>> when you add a new one?  Looking at the nodeprobe operations it seems like
>> repair which causes a major compaction might do it?  I've tried shutting a
>> node down moving files around by hand and starting up, but the next
>> compaction seems to move everything back to a single directory?
>>
>>  I do see files show up in other directories as they are flushed, but
>> then they all seem to make their way back to the first directory in the
>> list.
>>
>> Thanks,
>>
>> -Anthony
>>
>> --
>> ------------------------------------------------------------------------
>> Anthony Molinaro                           <anthonym@alumni.caltech.edu>
>>
>

Mime
View raw message