incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hiroshi.kise...@hitachi.com>
Subject Re[2]: The action of the file system at drop column family execution
Date Wed, 15 May 2013 07:41:09 GMT

Dear Aaron Morton

I'm Hiroshi. Thank you for the reply.
$KS/$CF/snapshots directory namely :
 Under C:\var\lib\cassandra\data\MyKeyspace\testcf1

 dir command execution:
 2013/05/09  14:04    <DIR>          .
 2013/05/09  14:04    <DIR>          ..
                0 File(s)                  0  bytes
                2 Dir(s)   139,587,530,752 bytes free

snapshot was not generated. 
It is a repeated question (I am sorry). 

When "drop column family" is executed irrespective of the existence of 
generation of Snapshot, $KS/$CF/ directory certainly remains. 

 It is a meaning? 
----------
Hiroshi Kise
   






Date: Wed, 15 May 2013 05:32:50 +0900, aaron morton <aaron@thelastpickle.com> wrote;
--------------- Begin of replied message ----------------------

> * Although a directory (column family:testcf1) remains, is it satisfactory on a file
system? 
A snapshot is taken when a truncate or drop command is run. You should see a $KS/$CF/snapshots
directory. 

Cheers

-----------------
Aaron Morton
Freelance Cassandra Consultant
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 15/05/2013, at 12:45 AM, hiroshi.kise.rk@hitachi.com wrote:

> 
> Hi everyone.
> Although it may be a stupid question, please give me instruction.
> 
> [1.Question]
> A column family is deleted (drop column family testcf1;).
> As the upper result (dir command execution),
> <DIR>   testcf1
>            0 File(s)   0 bytes      
>            3 Dir(s)      139,587,596,288 bytes free
> 
> * As Cassandra, it is the right action?
> * Although a directory (column family:testcf1) remains, is it satisfactory on a file
system? 
> 
> ----------
> [2. Pre-processing]
> ( Cassandra-CLI was used. )
> First, a key space is created (create keyspace MyKeyspace;), 
> The key space was chosen (use MyKeyspace;). 
> 
> And the column family created (create column family testcf1;). 
> ----------
> [3.Environment] 
> Cassandra 1.2.4
> OS: Windows 7
> 
> 
> Thank you for your consideration. 
> ----------
> Hiroshi Kise


---------------- End of replied message -----------------------

Mime
  • Unnamed multipart/mixed (inline, 7-Bit, 0 bytes)
View raw message