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

Sergey B commented on CASSANDRA-4000:
-------------------------------------

ERROR [Thrift:104] 2012-03-01 20:19:57,332 Cassandra.java (line 3041) Internal 
error processing get_slice
java.lang.ArithmeticException: / by zero
        at 
org.apache.cassandra.db.SliceFromReadCommand.maybeGenerateRetryCommand(SliceFromReadCommand.java:87)
        at 
org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:724)
        at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:564)
        at 
org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:128)
        at 
org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:283)
        at 
org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:365)
        at 
org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:326)
        at 
org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(Cassandra.java:3033)
        at 
org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
        at 
org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
                
> Division by zero on get_slice
> -----------------------------
>
>                 Key: CASSANDRA-4000
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4000
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.8
>         Environment: We start getting this exception after upgrading from 
> 1.0.1 -> 1.0.8.
> 4 nodes cluster on Cassandra v1.0.8. RF = 3. 
> Hector v0.8.0-3.
>            Reporter: Sergey B
>
> We have a column family with String row keys and Long column keys.
> Our WideEntityService is trying to get the first column in the range from 0 
> to Long.MAX. It's a batch operation performed for every row in the CF (rows 
> count is approximately tens of thousands and each row contains from 0 to 1000 
> columns). 
> After processing each row we are removing some of the columns we have 
> queried. Also, at the same time we are writing in this CF in another threads 
> but somewhat less intensive.
> An error rises approximately for a one of 100 rows.
> Exception itself:
> [05-Mar-2012 18:47:25,247] ERROR [http-8095-1 WideEntityServiceImpl.java:142] 
> - get: key1 - {type=RANGE, start=0, end=9223372036854775807, orderDesc=false, 
> limit=1}
> me.prettyprint.hector.api.exceptions.HCassandraInternalException: Cassandra 
> encountered an internal error processing this request: TApplicationError 
> type: 6 message:Internal error processing get_slice
>         at 
> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:31)
>         at 
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:285)
>         at 
> me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:268)
>         at 
> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:101)
>         at 
> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:233)
>         at 
> me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:131)
>         at 
> me.prettyprint.cassandra.service.KeyspaceServiceImpl.getSlice(KeyspaceServiceImpl.java:289)
>         at 
> me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:53)
>         at 
> me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:49)
>         at 
> me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)
>         at 
> me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeyspace.java:85)
>         at 
> me.prettyprint.cassandra.model.thrift.ThriftSliceQuery.execute(ThriftSliceQuery.java:48)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to