cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Robson (JIRA)" <>
Subject [jira] Created: (CASSANDRA-156) error reading key until first use of the HTTP interface
Date Fri, 08 May 2009 12:55:45 GMT
error reading key until first use of the HTTP interface

                 Key: CASSANDRA-156
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: trunk
         Environment: java version "1.6.0_13" Linux tst04o 2.6.18-128.1.6.el5 #1 SMP Wed Apr
1 09:10:25 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

            Reporter: Mark Robson
            Priority: Minor

After startup, but before the first access to the HTTP interface, thrift command get_slice
returns the following error:

./Cassandra-remote -h tst04o:9160 get_slice Messages 305 base 0 1
Traceback (most recent call last):
  File "./Cassandra-remote", line 96, in ?
  File "/opt/mailcontrol/gen-py/org/apache/cassandra/", line 213, in get_slice
    return self.recv_get_slice()
  File "/opt/mailcontrol/gen-py/org/apache/cassandra/", line 233, in recv_get_slice
    raise x
thrift.Thrift.TApplicationException: Internal error processing get_slice

Error message on the log file:

ERROR [pool-1-thread-1] 2009-05-08 14:49:36,977 (line 823) Internal error processing
java.lang.RuntimeException: error reading key 305
        at org.apache.cassandra.service.StorageProxy.weakReadRemote(
        at org.apache.cassandra.service.StorageProxy.readProtocol(
        at org.apache.cassandra.service.CassandraServer.readColumnFamily(
        at org.apache.cassandra.service.CassandraServer.get_slice(
        at org.apache.cassandra.service.Cassandra$Processor$get_slice.process(
        at org.apache.cassandra.service.Cassandra$Processor.process(
        at org.apache.thrift.server.TThreadPoolServer$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.util.concurrent.TimeoutException: Operation timed out.
        at org.apache.cassandra.service.StorageProxy.weakReadRemote(
        ... 9 more

After first access to the HTTP interface, the get_slice method now succeeds.

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

View raw message