cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brice Argenson <bargen...@gmail.com>
Subject Re: java.io.IOException: Failed during snapshot creation
Date Mon, 25 May 2015 20:50:39 GMT
I also have the same kind of exceptions once. It was caused by a bad
configuration of the Cassandra data folder permissions (process running as
user Cassandra with root as owner of the folder). It was then preventing
any snapshot creations during a repair.

On Mon, May 25, 2015 at 3:43 PM Yuki Morishita <mor.yuki@gmail.com> wrote:

> Hi, it can be timimg out waiting for snapshot to complete.
> See https://issues.apache.org/jira/browse/CASSANDRA-8696 for workaround.
>
> On Mon, May 25, 2015 at 10:44 AM, Mark Reddy <mark.l.reddy@gmail.com>
> wrote:
> > Can you check your logs for any other other error message around the
> time of
> > the repair? Something to look for would be "Error occurred during
> snapshot
> > phase".
> >
> >
> > Regards,
> > Mark
> >
> > On 25 May 2015 at 14:56, Sachin PK <sachinpray4me@gmail.com> wrote:
> >>
> >> Hey I'm new to Cassandra ,I have 4 node cluster with each node 16GB VPS,
> >> initially I had one seed node, I added one of the existing nodes as seed
> >> nodes , restarted nodes one by one after that one of my node went down
> . I
> >> ran nodetool repair on it when I checked the log i could find some
> errors
> >>
> >>
> >> ERROR [AntiEntropySessions:3] 2015-05-25 09:26:12,905
> >> RepairSession.java:303 - [repair #968bce30-02e1-11e5-9310-45191f4c93ae]
> >> session completed with the following error
> >> java.io.IOException: Failed during snapshot creation.
> >> at
> >>
> org.apache.cassandra.repair.RepairSession.failedSnapshot(RepairSession.java:344)
> >> ~[apache-cassandra-2.1.5.jar:2.1.5]
> >> at org.apache.cassandra.repair.RepairJob$2.onFailure(RepairJob.java:146)
> >> ~[apache-cassandra-2.1.5.jar:2.1.5]
> >> at com.google.common.util.concurrent.Futures$4.run(Futures.java:1172)
> >> ~[guava-16.0.jar:na]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >> [na:1.7.0_80]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >> [na:1.7.0_80]
> >> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
> >> ERROR [AntiEntropySessions:3] 2015-05-25 09:26:12,907
> >> CassandraDaemon.java:223 - Exception in thread
> >> Thread[AntiEntropySessions:3,5,RMI Runtime]
> >> java.lang.RuntimeException: java.io.IOException: Failed during snapshot
> >> creation.
> >> at com.google.common.base.Throwables.propagate(Throwables.java:160)
> >> ~[guava-16.0.jar:na]
> >> at
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
> >> ~[apache-cassandra-2.1.5.jar:2.1.5]
> >> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >> ~[na:1.7.0_80]
> >> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> ~[na:1.7.0_80]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >> ~[na:1.7.0_80]
> >> at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >> [na:1.7.0_80]
> >> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
> >> Caused by: java.io.IOException: Failed during snapshot creation.
> >> at
> >>
> org.apache.cassandra.repair.RepairSession.failedSnapshot(RepairSession.java:344)
> >> ~[apache-cassandra-2.1.5.jar:2.1.5]
> >> at org.apache.cassandra.repair.RepairJob$2.onFailure(RepairJob.java:146)
> >> ~[apache-cassandra-2.1.5.jar:2.1.5]
> >> at com.google.common.util.concurrent.Futures$4.run(Futures.java:1172)
> >> ~[guava-16.0.jar:na]
> >> ... 3 common frames omitted
> >>
> >>
> >
>
>
>
> --
> Yuki Morishita
>  t:yukim (http://twitter.com/yukim)
>

Mime
View raw message