Thank you guys, this solved the issue indeed.

George

-----Original Message-----
From: Jonathan Ellis [mailto:jbel...@gmail.com] 
Sent: 28 February 2011 19:00
To: user@cassandra.apache.org
Cc: George Ciubotaru
Subject: Re: Column family cannot be removed

drop and truncate both snapshot first, which requires forking to run ln if you 
don't have JNA installed.

best solution: install JNA so it can do in-process link calls.

On Mon, Feb 28, 2011 at 6:05 AM, George Ciubotaru 
<george.ciubot...@skillpages.com> wrote:
> Hello guys,
>
>
>
> I'm trying to remove a column family but without success.
>
>
>
> I have a simple 3 nodes Cassandra 0.7 cluster, a keyspaces with 
> replication factor 2 and a super column within this keyspace with around 
> 200,000 rows.
> I'm using cassandra-cli:
>
> -          drop column family CFName; throws the following exception:
> "java.io.IOException: Cannot run program "ln": java.io.IOException:
> error=12, Cannot allocate memory"
>
> -          truncate CFName; immediately responds with "null"
>
> -          drop keyspace KSName; also throws the above exception
>
>
>
> I can remove without any problem a newly created column family.
>
>
>
> Any idea of what might be wrong?
>
>
>
> Thank you in advance,
>
> George



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support 
http://www.datastax.com

Reply via email to