You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2016/06/21 22:28:58 UTC

[jira] [Commented] (CASSANDRA-12045) Cassandra failure during write query at consistency LOCAL_QUORUM

    [ https://issues.apache.org/jira/browse/CASSANDRA-12045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342910#comment-15342910 ] 

Tyler Hobbs commented on CASSANDRA-12045:
-----------------------------------------

There should be a corresponding exception in the logs of the replica nodes.  Can you check for that and paste it here?

>  Cassandra failure during write query at consistency LOCAL_QUORUM 
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-12045
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12045
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL, Local Write-Read Paths
>         Environment: Eclipse java environment
>            Reporter: Raghavendra Pinninti
>             Fix For: 3.x
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> While I am writing large column into Cassandra table I am facing following exception.Even All nodes are up.
> com.datastax.driver.core.exceptions.WriteFailureException: Cassandra failure during write query at consistency LOCAL_QUORUM (2 responses were required but only 0 replica responded, 1 failed)
> 	at com.datastax.driver.core.exceptions.WriteFailureException.copy(WriteFailureException.java:80)
> 	at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
> 	at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
> 	at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:55)
> 	at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:39)
> 	at DBConnection.oracle2Cassandra(DBConnection.java:267)
> 	at DBConnection.main(DBConnection.java:292)
> Caused by: com.datastax.driver.core.exceptions.WriteFailureException: Cassandra failure during write query at consistency LOCAL_QUORUM (2 responses were required but only 0 replica responded, 1 failed)
> 	at com.datastax.driver.core.exceptions.WriteFailureException.copy(WriteFailureException.java:91)
> 	at com.datastax.driver.core.Responses$Error.asException(Responses.java:119)
> 	at com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:180)
> 	at com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:186)
> 	at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1008)
> 	at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:931)
> 	at com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
> 	at com.datastax.shaded.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254)
> 	at com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
> 	at com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
> 	at com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
> 	at com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
> 	at com.datastax.shaded.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
> 	at com.datastax.shaded.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)
> 	at com.datastax.shaded.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
> at java.lang.Thread.run(Unknown Source)
> Caused by: com.datastax.driver.core.exceptions.WriteFailureException: Cassandra failure during write query at consistency LOCAL_QUORUM (2 responses were required but only 0 replica responded, 1 failed)
> 	at com.datastax.driver.core.Responses$Error$1.decode(Responses.java:76)
> 	at com.datastax.driver.core.Responses$Error$1.decode(Responses.java:40)c
> 	at com.datastax.driver.core.Message$ProtocolDecoder.decode(Message.java:243)
> 	at com.datastax.driver.core.Message$ProtocolDecoder.decode(Message.java:225)
> 	at com.datastax.shaded.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
> 	... 13 more
> Would someone please help me out from this situation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)