cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-1594) Client threads are all locked up waiting on read
Date Fri, 21 Jan 2011 17:17:43 GMT

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

Jonathan Ellis resolved CASSANDRA-1594.
---------------------------------------

    Resolution: Cannot Reproduce

Let us know if you can reproduce on the latest Thrift version.

We do recommend using a client like Hector rather than rolling your own.

> Client threads are all locked up waiting on read
> ------------------------------------------------
>
>                 Key: CASSANDRA-1594
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1594
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.4
>         Environment: CentOS 5.4; Cassandra 0.6.4; Thrift 917130; Hector 0.6.0-11
>            Reporter: Alex Portnov
>         Attachments: threaddump-1286484121714.tdump
>
>
> Following is a thread dump of the few RUNNABLE threads:
> "http-8080-50" - Thread t@84
>    java.lang.Thread.State: RUNNABLE
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:146)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
>         - locked <4379e06d> (a java.io.BufferedInputStream)
>         at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:126)
>         at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>         at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:314)
>         at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:262)
>         at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:192)
>         at org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:337)
>         at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:319)
>         at me.prettyprint.cassandra.service.KeyspaceImpl$14.execute(KeyspaceImpl.java:482)
>         at me.prettyprint.cassandra.service.KeyspaceImpl$14.execute(KeyspaceImpl.java:476)
> --
> "http-8080-49" - Thread t@83
>    java.lang.Thread.State: RUNNABLE
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:146)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
>         - locked <16932380> (a java.io.BufferedInputStream)
>         at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:126)
>         at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>         at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:314)
>         at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:262)
>         at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:192)
>         at org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:337)
>         at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:319)
>         at me.prettyprint.cassandra.service.KeyspaceImpl$14.execute(KeyspaceImpl.java:482)
>         at me.prettyprint.cassandra.service.KeyspaceImpl$14.execute(KeyspaceImpl.java:476)
> --
> All 50 connections in the client pool are blocked in the same way.

-- 
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