exception when trying to drop keyspace which has column index

237 views
Skip to first unread message

sumit thakur

unread,
Feb 13, 2012, 12:47:59 AM2/13/12
to hector-users
hello all,
I got exception when trying to drop keyspace(DynKeyspace4) using
cassandra-cli.

structure of keyspace:
---------------------------
Keyspace: DynKeyspace4:
Replication Strategy: org.apache.cassandra.locator.SimpleStrategy
Durable Writes: true
Options: [replication_factor:1]
Column Families:
ColumnFamily: DynamicCF
Key Validation Class: org.apache.cassandra.db.marshal.BytesType
Default column value validator:
org.apache.cassandra.db.marshal.BytesType
Columns sorted by: org.apache.cassandra.db.marshal.BytesType
Row cache size / save period in seconds / keys to save : 0.0/0/
all
Row Cache Provider:
org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider
Key cache size / save period in seconds: 0.0/0
GC grace seconds: 0
Compaction min/max thresholds: 4/32
Read repair chance: 0.0
Replicate on write: false
Bloom Filter FP chance: default
Built indexes: [DynamicCF.firstName_x]
Column Metadata:
Column Name: firstName (66697273744e616d65)
Validation Class: org.apache.cassandra.db.marshal.UTF8Type
Index Name: firstName_x
Index Type: KEYS
Compaction Strategy:
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
Keyspace: saas123:
-----------------------------------------------------------------------------
on cassandra cli:
-------------------
[default@unknown] drop keyspace DynKeyspace4;
Internal error processing system_drop_keyspace
org.apache.thrift.TApplicationException: Internal error processing
system_drop_keyspace
at
org.apache.thrift.TApplicationException.read(TApplicationException.java:
108)
at org.apache.cassandra.thrift.Cassandra
$Client.recv_system_drop_keyspace(Cassandra.java:1573)
at org.apache.cassandra.thrift.Cassandra
$Client.system_drop_keyspace(Cassandra.java:1556)
at
org.apache.cassandra.cli.CliClient.executeDelKeySpace(CliClient.java:
1296)
at
org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:
241)
at
org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:
220)
at org.apache.cassandra.cli.CliMain.main(CliMain.java:348)
--------------------------------------------------------------------------------------
on cassandra server:
------------------------
ERROR 11:08:57,148 Unable to create hard link
java.io.IOException: Exception while executing the command: fsutil
hardlink create C:\var\lib\cassandra\data\DynK
eyspace4\snapshots\1329111537085-DynKeyspace4\DynamicCF.firstName_x-
hc-2-Data.db C:\var\lib\cassandra\data\DynKey
space4\DynamicCF.firstName_x-hc-2-Data.db, command error Code: 1,
command output: The FSUTIL utility requires tha
t you have administrative privileges.

Nate McCall

unread,
Feb 13, 2012, 9:28:24 AM2/13/12
to hector...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages