cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sasha1024 (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1346) Internal error processing get_slice
Date Mon, 02 Aug 2010 09:31:16 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sasha1024 updated CASSANDRA-1346:
---------------------------------

    Attachment:     (was: system.log-0.6.4)

> Internal error processing get_slice
> -----------------------------------
>
>                 Key: CASSANDRA-1346
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1346
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.3
>         Environment: Linux
> cat /etc/issue: Debian GNU/Linux 5.0
> uname -a: Linux server.hp 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 GNU/Linux
>            Reporter: Sasha1024
>         Attachments: system-0.6.3.log, system-0.6.4.log
>
>
> I get the "Internal error processing get_slice" error.
> Here are parameters of get_slice call:
> {code}
> string(8) "Torrents"
> string(40) "e6c797bdcea982877f74cd41f257427bbe31b189"
> object(cassandra_ColumnParent)#1709 (2) {
>   ["column_family"]=>
>   string(7) "Scrapes"
>   ["super_column"]=>
>   NULL
> }
> object(cassandra_SlicePredicate)#1710 (2) {
>   ["column_names"]=>
>   NULL
>   ["slice_range"]=>
>   object(cassandra_SliceRange)#1711 (4) {
>     ["start"]=>
>     string(0) ""
>     ["finish"]=>
>     string(0) ""
>     ["reversed"]=>
>     bool(false)
>     ["count"]=>
>     int(100000)
>   }
> }
> int(1)
> {code}
> Here is excerpt from storage-conf.xml:
> {code}
>     <Keyspace Name="Torrents">
>       <!--...-->
>       <ColumnFamily Name="Scrapes"  ColumnType="Super" CompareWith="BytesType" CompareSubcolumnsWith="BytesType"
/>
>       <!--...-->
>       <ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
>       <ReplicationFactor>1</ReplicationFactor>
>       <EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
>     </Keyspace>
> {code}
> Here is var_dump of exception:
> {code}
> TApplicationException Object
> (
>     [message:protected] => Internal error processing get_slice
>     [string:Exception:private] => 
>     [code:protected] => 6
>     [file:protected] => /home/team/TORRENTS_SE/include/Tools/phpcassa/thrift/packages/cassandra/Cassandra.php
>     [line:protected] => 206
>     [trace:Exception:private] => Array
>         (
>             [0] => Array
>                 (
>                     [file] => /home/team/TORRENTS_SE/include/Tools/phpcassa/thrift/packages/cassandra/Cassandra.php
>                     [line] => 169
>                     [function] => recv_get_slice
>                     [class] => CassandraClient
>                     [type] => ->
>                     [args] => Array
>                         (
>                         )
>                 )
>             [1] => Array
>                 (
>                     [file] => /home/team/TORRENTS_SE/include/Tools/CassandraTools.php
>                     [line] => 99
>                     [function] => get_slice
>                     [class] => CassandraClient
>                     [type] => ->
>                     [args] => Array
>                         (
>                             [0] => Torrents
>                             [1] => e6c797bdcea982877f74cd41f257427bbe31b189
>                             [2] => cassandra_ColumnParent Object
>                                 (
>                                     [column_family] => Scrapes
>                                     [super_column] => 
>                                 )
>                             [3] => cassandra_SlicePredicate Object
>                                 (
>                                     [column_names] => 
>                                     [slice_range] => cassandra_SliceRange Object
>                                         (
>                                             [start] => 
>                                             [finish] => 
>                                             [reversed] => 
>                                             [count] => 100000
>                                         )
>                                 )
>                             [4] => 1
>                         )
>                 )
>             [2] => Array
>                 (
>                     [file] => /home/team/TORRENTS_SE/data/bin/cassandra-to-sphinx.php
>                     [line] => 10
>                     [function] => GetColumns
>                     [class] => CassandraTools
>                     [type] => ::
>                     [args] => Array
>                         (
>                             [0] => Array
>                                 (
>                                     [ColumnFamily] => Scrapes
>                                     [RowKey] => e6c797bdcea982877f74cd41f257427bbe31b189
>                                 )
>                             [1] => Array
>                                 (
>                                     [count] => 100000
>                                 )
>                         )
>                 )
>         )
>     [previous:Exception:private] => 
> )
> {code}
> Excerpt from /var/log/cassandra/system.log:
> {code}
> ERROR [pool-1-thread-28] 2010-08-02 11:01:25,402 Cassandra.java (line 1242) Internal
error processing get_slice
> java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException:
java.io.EOFException
>         at org.apache.cassandra.service.StorageProxy.weakReadLocal(StorageProxy.java:543)
>         at org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:407)
>         at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:97)
>         at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:180)
>         at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:259)
>         at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:220)
>         at org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(Cassandra.java:1234)
>         at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1128)
>         at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
>         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:619)
> Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.EOFException
>         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>         at org.apache.cassandra.service.StorageProxy.weakReadLocal(StorageProxy.java:539)
>         ... 11 more
> Caused by: java.lang.RuntimeException: java.io.EOFException
>         at org.apache.cassandra.db.filter.SSTableSliceIterator$ColumnGroupReader.pollColumn(SSTableSliceIterator.java:159)
>         at org.apache.cassandra.db.filter.SSTableSliceIterator.computeNext(SSTableSliceIterator.java:92)
>         at org.apache.cassandra.db.filter.SSTableSliceIterator.computeNext(SSTableSliceIterator.java:39)
>         at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
>         at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
>         at org.apache.commons.collections.iterators.CollatingIterator.anyHasNext(CollatingIterator.java:364)
>         at org.apache.commons.collections.iterators.CollatingIterator.hasNext(CollatingIterator.java:217)
>         at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:55)
>         at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
>         at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
>         at org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:109)
>         at org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:112)
>         at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:869)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:770)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:739)
>         at org.apache.cassandra.db.Table.getRow(Table.java:381)
>         at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:59)
>         at org.apache.cassandra.service.StorageProxy$weakReadLocalCallable.call(StorageProxy.java:758)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         ... 3 more
> Caused by: java.io.EOFException
>         at org.apache.cassandra.io.util.MappedFileDataInput.readFully(MappedFileDataInput.java:261)
>         at org.apache.cassandra.io.util.MappedFileDataInput.readFully(MappedFileDataInput.java:223)
>         at org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:87)
>         at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:335)
>         at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:284)
>         at org.apache.cassandra.db.filter.SSTableSliceIterator$ColumnGroupReader.getNextBlock(SSTableSliceIterator.java:194)
>         at org.apache.cassandra.db.filter.SSTableSliceIterator$ColumnGroupReader.pollColumn(SSTableSliceIterator.java:154)
>         ... 22 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message