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 98A3B9142 for ; Thu, 14 Jun 2012 08:47:00 +0000 (UTC) Received: (qmail 11730 invoked by uid 500); 14 Jun 2012 08:46:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 11468 invoked by uid 500); 14 Jun 2012 08:46:56 -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 11397 invoked by uid 99); 14 Jun 2012 08:46:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 08:46:55 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Dushyant.Tiwari@morganstanley.com designates 205.228.53.73 as permitted sender) Received: from [205.228.53.73] (HELO hqmtaint03.ms.com) (205.228.53.73) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 08:46:46 +0000 Received: from hqmtaint03.ms.com (localhost.ms.com [127.0.0.1]) by hqmtaint03.ms.com (output Postfix) with ESMTP id 58A7FB6CB3C for ; Thu, 14 Jun 2012 04:46:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=morganstanley.com; s=p20110615; t=1339663585; x=1340873185; bh=IEblUplZI7hO5CkXXbmFWr+b0UsfzEzINqWWpfOxd+g=; h=Content-Transfer-Encoding:From:To:Date:Subject:Message-ID: Content-Type:MIME-Version; b=LEyMG6Rcw8t+mqV+ZfIxNbH4z57KI830hNdnQtlgKdmRI5YFnFlTdL1czl+8O67GU EqP7wOuyoNzJfuu7Zlx9qRYnzNfRnjENP3oaVrKjUHDFbiYuuKHuNNrv96jkmaTpWD wEel4TBRRFVrtFR84O5lQA8yfElLEd8pl2SJ2fd4= Received: from ny021bas02.ms.com (ny021bas02.ms.com [10.162.156.34]) by hqmtaint03.ms.com (internal Postfix) with ESMTP id 56BF1A31325 for ; Thu, 14 Jun 2012 04:46:25 -0400 (EDT) Received: from ny021bas02.ms.com (localhost [127.0.0.1]) by ny021bas02.ms.com (msa-out Postfix) with ESMTP id 470BD5401F for ; Thu, 14 Jun 2012 04:46:25 -0400 (EDT) Received: from HNWEXGOB01.msad.ms.com (hn210c1n1 [10.184.121.166]) by ny021bas02.ms.com (mta-in Postfix) with ESMTP id 442D0748034 for ; Thu, 14 Jun 2012 04:46:25 -0400 (EDT) Received: from tiwexcat02.msad.ms.com (161.144.143.23) by HNWEXGOB01.msad.ms.com (10.184.121.166) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 14 Jun 2012 04:46:24 -0400 Received: from TIWEXMBX13.msad.ms.com ([161.144.143.13]) by tiwexcat02.msad.ms.com ([161.144.143.23]) with mapi; Thu, 14 Jun 2012 14:16:22 +0530 Content-Transfer-Encoding: 7bit From: "Tiwari, Dushyant" To: Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Date: Thu, 14 Jun 2012 14:16:19 +0530 Subject: Cassandra error while processing message Thread-Topic: Cassandra error while processing message thread-index: Ac1KCijjYIPkGQcPRd6wMiXIUVHD+A== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A7C1BA1FB68BAA489E8BAF7E7F5889EE01CBEA750109TIWEXMBX13m_" MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: be3bdf5c-71de-49fb-a1b7-ad6a6a1df5e2 --_000_A7C1BA1FB68BAA489E8BAF7E7F5889EE01CBEA750109TIWEXMBX13m_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, Help needed on the following front. In my Cassandra node logs I can see the following error: CustomTThreadPoolServer.java (line 201) Thrift error occurred during = processing of message. org.apache.thrift.protocol.TProtocolException: Missing version in = readMessageBegin, old client? at = org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtoc= ol.java:213) at = org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:28= 77) at = org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(Cus= tomTThreadPoolServer.java:187) at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor= .java:886) at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:908) at java.lang.Thread.run(Thread.java:619) In Hector client : Caused by: me.prettyprint.hector.api.exceptions.HectorException: All = host pools marked down. Retry burden pushed out to client. [gsc][5/8454] at = me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPol= icy(HConnectionManager.java:343) [gsc][5/8454] at = me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailove= r(HConnectionManager.java:225) [gsc][5/8454] at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(= KeyspaceServiceImpl.java:131) [gsc][5/8454] at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.batchMutate(Keyspace= ServiceImpl.java:102) [gsc][5/8454] at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.batchMutate(Keyspace= ServiceImpl.java:108) [gsc][5/8454] at = me.prettyprint.cassandra.model.MutatorImpl$3.doInKeyspace(MutatorImpl.jav= a:248) [gsc][5/8454] at = me.prettyprint.cassandra.model.MutatorImpl$3.doInKeyspace(MutatorImpl.jav= a:245) [gsc][5/8454] at = me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndM= easure(KeyspaceOperationCallback.java:20) [gsc][5/8454] at = me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeysp= ace.java:85) [gsc][5/8454] at = me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:245) After some time a null pointer exception Caused by: java.lang.NullPointerException [gsc][5/8454] at = me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:243) Can someone please explain what is happening and how can I rectify it. Dushyant -------------------------------------------------------------------------= - NOTICE: Morgan Stanley is not acting as a municipal advisor and the = opinions or views contained herein are not intended to be, and do not = constitute, advice within the meaning of Section 975 of the Dodd-Frank = Wall Street Reform and Consumer Protection Act. If you have received = this communication in error, please destroy all electronic and paper = copies and notify the sender immediately. Mistransmission is not = intended to waive confidentiality or privilege. Morgan Stanley reserves = the right, to the extent permitted under applicable law, to monitor = electronic communications. This message is subject to terms available at = the following link: http://www.morganstanley.com/disclaimers. If you = cannot access these links, please notify us by reply message and we will = send the contents to you. By messaging with Morgan Stanley you consent = to the foregoing. --_000_A7C1BA1FB68BAA489E8BAF7E7F5889EE01CBEA750109TIWEXMBX13m_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

 

Help needed = on the following front.

 

In my = Cassandra node logs I can see the following error:

 

CustomTThreadPoolServer.java (line 201) Thrift error = occurred during processing of message.

org.apache.thrift.protocol.TProtocolException: Missing = version in readMessageBegin, old client?

        at = org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtoc= ol.java:213)

        at = org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:28= 77)

        at = org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(Cus= tomTThreadPoolServer.java:187)

        at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor= .java:886)

        at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:908)

        at = java.lang.Thread.run(Thread.java:619)

 

In Hector = client :

 

Caused by: = me.prettyprint.hector.api.exceptions.HectorException: All host pools = marked down. Retry burden pushed out to client.

[gsc][5/8454]       =     at = me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPol= icy(HConnectionManager.java:343)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailove= r(HConnectionManager.java:225)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(= KeyspaceServiceImpl.java:131)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.batchMutate(Keyspace= ServiceImpl.java:102)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.service.KeyspaceServiceImpl.batchMutate(Keyspace= ServiceImpl.java:108)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.MutatorImpl$3.doInKeyspace(MutatorImpl.jav= a:248)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.MutatorImpl$3.doInKeyspace(MutatorImpl.jav= a:245)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndM= easure(KeyspaceOperationCallback.java:20)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeysp= ace.java:85)

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:245)<= o:p>

 

 

After some = time a null pointer exception

Caused = by: java.lang.NullPointerException

[gsc][5/8454]       =     at = me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:243)<= o:p>

 

Can someone please explain what is happening and how = can I rectify it.

 

 

Dushyant


NOTICE: Morgan Stanley is not acting as a municipal advisor and the = opinions or views contained herein are not intended to be, and do not = constitute, advice within the meaning of Section 975 of the Dodd-Frank = Wall Street Reform and Consumer Protection Act. = If you = have received this communication in error, please destroy all electronic = and paper copies and notify the sender immediately. Mistransmission is = not intended to waive confidentiality or privilege. Morgan Stanley = reserves the right, to the extent permitted under applicable law, to = monitor electronic communications. This message is subject to terms = available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please = notify us by reply message and we will send the contents to you. By = messaging with Morgan Stanley you consent to the = foregoing.
--_000_A7C1BA1FB68BAA489E8BAF7E7F5889EE01CBEA750109TIWEXMBX13m_--