Re: moving data from single node cassandra

2011-03-22 Thread Robert Coli
On Sun, Mar 20, 2011 at 4:42 PM, aaron morton wrote: > When compacting it will use the path with the greatest free space. When > compaction completes successfully the files will lose their temporary status > and that will be their new home. > > On 18 Mar 2011, at 14:10, John Lewis wrote: > >> |

Re: moving data from single node cassandra

2011-03-20 Thread aaron morton
When compacting it will use the path with the greatest free space. When compaction completes successfully the files will lose their temporary status and that will be their new home. Aaron On 18 Mar 2011, at 14:10, John Lewis wrote: > | data_file_directories makes it seem as though cassandra ca

Re: moving data from single node cassandra

2011-03-17 Thread Komal Goyal
Thanks Maki :) I copied the existing var folder to the new hardisk and changes the path to the data directories in the storage-config.xml I was successfully able to connect with cassandra and read the data that was shifted to the new location. On Fri, Mar 18, 2011 at 6:33 AM, Maki Watanabe

Re: moving data from single node cassandra

2011-03-17 Thread John Lewis
| data_file_directories makes it seem as though cassandra can use more than one location for sstable storage. Does anyone know how it splits up the data between partitions? I am trying to plan for just about every worst case scenario I can right now, and I want to know if I can change the config

Re: moving data from single node cassandra

2011-03-17 Thread Maki Watanabe
Refer to: http://wiki.apache.org/cassandra/StorageConfiguration You can specify the data directories with following parameter in storage-config.xml (or cassandra.yaml in 0.7+). commit_log_directory : where commitlog will be written data_file_directories : data files saved_cache_directory : saved