Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B9D7975F for ; Thu, 24 May 2012 05:52:58 +0000 (UTC) Received: (qmail 4133 invoked by uid 500); 24 May 2012 05:52:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 4070 invoked by uid 500); 24 May 2012 05:52:55 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 4045 invoked by uid 99); 24 May 2012 05:52:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 05:52:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.70.64.45] (HELO n15.mail01.mtsvc.net) (216.70.64.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 05:52:46 +0000 Received: from cl12.gs01.gridserver.com ([64.13.192.21]:35334) by n15.mail01.mtsvc.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SXQyG-0002CC-G2 for user@cassandra.apache.org; Thu, 24 May 2012 01:52:25 -0400 Received: from c-24-7-86-20.hsd1.ca.comcast.net ([24.7.86.20]:10997 helo=[192.168.26.101]) by cl12.gs01.gridserver.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.69) (envelope-from ) id 1SXQyF-0002F1-8b for user@cassandra.apache.org; Wed, 23 May 2012 22:52:23 -0700 Message-ID: <4FBDCC97.2030705@syncopated.net> Date: Wed, 23 May 2012 22:52:23 -0700 From: Deno Vichas User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: unknown exception with hector References: <4FBBCE5F.9040509@syncopated.net> <43D18FFE-E9A8-4AD9-AF3C-AA7B5C1DFF2C@thelastpickle.com> In-Reply-To: <43D18FFE-E9A8-4AD9-AF3C-AA7B5C1DFF2C@thelastpickle.com> Content-Type: multipart/alternative; boundary="------------070902070905010700030402" X-Authenticated-User: 32415 deno@syncopated.net X-MT-ID: d18d1aefa44d3b049b46df41b9e219702ba9cf79 This is a multi-part message in MIME format. --------------070902070905010700030402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit i've notice the my nodes seem to have a large (?, not really sure what acceptable numbers are) read dropped count from tpstats. could they be related? On 5/23/2012 2:55 AM, aaron morton wrote: > No sure but > >> at >> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) > > Looks like the client is not using framed transport. The server > defaults to framed. > > Cheers > > ----------------- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 23/05/2012, at 5:35 AM, Deno Vichas wrote: > >> could somebody clue me in to the cause of this exception? i see >> these randomly. >> >> AnalyzerService-2 2012-05-22 13:28:00,385 :: WARN >> cassandra.connection.HConnectionManager - Exception: >> me.prettyprint.hector.api.exceptions.HectorTransportException: >> org.apache.thrift.transport.TTransportException >> at >> me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:39) >> at >> me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:851) >> at >> me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:840) >> at >> me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:99) >> at >> me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:243) >> at >> me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:131) >> at >> me.prettyprint.cassandra.service.KeyspaceServiceImpl.getColumn(KeyspaceServiceImpl.java:857) >> at >> me.prettyprint.cassandra.model.thrift.ThriftColumnQuery$1.doInKeyspace(ThriftColumnQuery.java:57) >> at >> me.prettyprint.cassandra.model.thrift.ThriftColumnQuery$1.doInKeyspace(ThriftColumnQuery.java:52) >> 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.ThriftColumnQuery.execute(ThriftColumnQuery.java:51) >> at >> com.stocktouch.dao.StockDaoImpl.getHistorical(StockDaoImpl.java:365) >> at >> com.stocktouch.dao.StockDaoImpl.getHistoricalQuote(StockDaoImpl.java:433) >> at >> com.stocktouch.service.StockHistoryServiceImpl.getHistoricalQuote(StockHistoryServiceImpl.java:480) >> at >> com.stocktouch.service.AnalyzerServiceImpl.getClose(AnalyzerServiceImpl.java:180) >> at >> com.stocktouch.service.AnalyzerServiceImpl.calcClosingPrices(AnalyzerServiceImpl.java:90) >> at >> com.stocktouch.service.AnalyzerServiceImpl.nightlyRollup(AnalyzerServiceImpl.java:66) >> at >> com.stocktouch.service.AnalyzerServiceImpl$2.run(AnalyzerServiceImpl.java:55) >> 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) >> Caused by: org.apache.thrift.transport.TTransportException >> at >> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) >> at >> org.apache.thrift.transport.TTransport.readAll(TTransport.java:84) >> at >> org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129) >> at >> org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101) >> at >> org.apache.thrift.transport.TTransport.readAll(TTransport.java:84) >> at >> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378) >> at >> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297) >> at >> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204) >> at >> org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:509) >> at >> org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:492) >> at >> me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:846) >> ... 20 more >> >> >> thanks, >> deno >> >> > --------------070902070905010700030402 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit i've notice the my nodes seem to have a large (?, not really sure what acceptable numbers are) read dropped count from tpstats.  could they be related?

On 5/23/2012 2:55 AM, aaron morton wrote:
No sure but 

       at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)

Looks like the client is not using framed transport. The server defaults to framed.

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton

On 23/05/2012, at 5:35 AM, Deno Vichas wrote:

could somebody clue me in to the cause of this exception?  i see these randomly.

AnalyzerService-2 2012-05-22 13:28:00,385 :: WARN  cassandra.connection.HConnectionManager  - Exception:
me.prettyprint.hector.api.exceptions.HectorTransportException: org.apache.thrift.transport.TTransportException
       at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:39)
       at me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:851)
       at me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:840)
       at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:99)
       at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:243)
       at me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:131)
       at me.prettyprint.cassandra.service.KeyspaceServiceImpl.getColumn(KeyspaceServiceImpl.java:857)
       at me.prettyprint.cassandra.model.thrift.ThriftColumnQuery$1.doInKeyspace(ThriftColumnQuery.java:57)
       at me.prettyprint.cassandra.model.thrift.ThriftColumnQuery$1.doInKeyspace(ThriftColumnQuery.java:52)
       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.ThriftColumnQuery.execute(ThriftColumnQuery.java:51)
       at com.stocktouch.dao.StockDaoImpl.getHistorical(StockDaoImpl.java:365)
       at com.stocktouch.dao.StockDaoImpl.getHistoricalQuote(StockDaoImpl.java:433)
       at com.stocktouch.service.StockHistoryServiceImpl.getHistoricalQuote(StockHistoryServiceImpl.java:480)
       at com.stocktouch.service.AnalyzerServiceImpl.getClose(AnalyzerServiceImpl.java:180)
       at com.stocktouch.service.AnalyzerServiceImpl.calcClosingPrices(AnalyzerServiceImpl.java:90)
       at com.stocktouch.service.AnalyzerServiceImpl.nightlyRollup(AnalyzerServiceImpl.java:66)
       at com.stocktouch.service.AnalyzerServiceImpl$2.run(AnalyzerServiceImpl.java:55)
       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)
Caused by: org.apache.thrift.transport.TTransportException
       at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
       at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
       at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
       at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
       at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
       at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
       at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
       at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
       at org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:509)
       at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:492)
       at me.prettyprint.cassandra.service.KeyspaceServiceImpl$23.execute(KeyspaceServiceImpl.java:846)
       ... 20 more


thanks,
deno




--------------070902070905010700030402--