incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s p <nosqlcloud...@gmail.com>
Subject Clearsnapshot Problem
Date Mon, 21 Mar 2011 19:11:52 GMT
I'm running 3-way CA cluster (0.62 ) on a windows 2008 (jre 1.6.24) 64-bit.
Things are running fine except when trying to remove old snaphsot files.
When running clearsnapshot I get an error msg like below.  I can't remove
any daily snapshot files. When trying to delete the actual snapshot file os
cmd file I get "access denied. File used by another process". Seems CA or
JRE is sitting on file?

Feedback much appreciated.


C:\Cassandra\
Exception in thread "main" java.io.IOException: Failed to delete
c:\cassandra\da
ta\data\ks_SnapshotTest\snapshots\1300731301822-ks_SnapshotTest\cf_SnapshotTest-135-Data.db
        at
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.ja
va:47)
        at
org.apache.cassandra.io.util.FileUtils.deleteDir(FileUtils.java:189)
        at
org.apache.cassandra.io.util.FileUtils.deleteDir(FileUtils.java:184)
        at
org.apache.cassandra.io.util.FileUtils.deleteDir(FileUtils.java:184)
        at org.apache.cassandra.db.Table.clearSnapshot(Table.java:274)
        at
org.apache.cassandra.service.StorageService.clearSnapshot(StorageServ
ice.java:1023)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown So
urce)
        at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown So
urce)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
Source)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown
Sou
rce)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown
Sour
ce)
        at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(Unknown Source)
        at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(U
nknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown
Source)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
Sou
rce)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Sour
ce)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)

C:\Cassandra\bin>

Mime
View raw message