From user-return-19548-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Aug 4 22:26:50 2011 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 4BBF56C17 for ; Thu, 4 Aug 2011 22:26:50 +0000 (UTC) Received: (qmail 28725 invoked by uid 500); 4 Aug 2011 22:26:47 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28552 invoked by uid 500); 4 Aug 2011 22:26:47 -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 28527 invoked by uid 99); 4 Aug 2011 22:26:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 22:26:46 +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 [208.113.200.5] (HELO homiemail-a54.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 22:26:38 +0000 Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id B2EE33A4058 for ; Thu, 4 Aug 2011 15:26:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=lc7xCbEBgw kGUTwIIliAgrUO+YT9IFVmYBBqH3JcNfcHwiETcPYCu427EDLK9tIa+0D9g+S6PS P8GhwyY33pXdfGA6/4L8YWF2T5g8bWxtYU7wf9DxWjKr7/plxaYg736p7CHbz5v2 g0K/aNRiDaFZACDn1myBl2z9jrZI+jevc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=IubegGIAoyu6gBrY 1XMATJW6/WA=; b=O0cS+ARXblsqO9SgS1BwonTc0IetrBBRqmoikMM7SxImjZXW 4eWICShWfv1JAMpjs+fyOtmx/U+l8BLhPKOLeNNvcGJDO99suk3GhihFwdnGMCz5 4uuq13EsMpTly90z9TD2bSBaRcsntS9cLLfUXg8zau92ZTyO95xWb54CY80= Received: from [192.168.112.38] (115-64-146-148.static.tpgi.com.au [115.64.146.148]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id DF20B3A4057 for ; Thu, 4 Aug 2011 15:26:13 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_7D322A16-AB74-4297-8E8D-97DA7460A153" Subject: Re: Cassandra encountered an internal error processing this request: TApplicationError type: 6 message:Internal error Date: Fri, 5 Aug 2011 08:26:11 +1000 In-Reply-To: To: user@cassandra.apache.org References: <2527FD33-DD03-494D-840D-E163A6322E24@thelastpickle.com> Message-Id: <2E670969-7DC9-4C8A-B303-21E33D61F18A@thelastpickle.com> X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_7D322A16-AB74-4297-8E8D-97DA7460A153 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 The error log will contain a call stack, we need that.=20 e.g.=20 Failed with exception java.io.IOException:java.lang.NullPointerException ERROR 15:22:33,528 Failed with exception = java.io.IOException:java.lang.NullPointerException java.io.IOException: java.lang.NullPointerException at = org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java= :341) at = org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:133) at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1114) at = org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:187) at = org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:241) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39) at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) Caused by: java.lang.NullPointerException at = org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getCurrentKey(ColumnF= amilyRecordReader.java:82) at = org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getCurrentKey(ColumnF= amilyRecordReader.java:53) at = org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFor= mat$2.next(HiveCassandraStandardColumnInputFormat.java:164) at = org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFor= mat$2.next(HiveCassandraStandardColumnInputFormat.java:111) at = org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java= :326) ... 10 more Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 4 Aug 2011, at 15:26, Dikang Gu wrote: > Yes, I do find the error log!=20 >=20 > ERROR [pool-2-thread-63] 2011-08-04 13:23:54,138 Cassandra.java (line = 3210) Internal error processing get_range_slices > java.lang.NullPointerException >=20 > I'm using the cassandra-0.8.1, is this a known bug? >=20 > Thanks. >=20 > --=20 > Dikang Gu > 0086 - 18611140205 > On Wednesday, August 3, 2011 at 7:53 PM, aaron morton wrote: >=20 >> There really should be something logged at the ERROR level in the = server side log, that error is raised when an unhanded exception bubbles = out to the thrift layer on the server.=20 >>=20 >> Double check the logging is configured correctly.=20 >>=20 >> Cheers >>=20 >> ----------------- >> Aaron Morton >> Freelance Cassandra Developer >> @aaronmorton >> http://www.thelastpickle.com >>=20 >> On 3 Aug 2011, at 14:19, Dikang Gu wrote: >>=20 >>> I got this error when processing a lot operations=85. >>>=20 >>> 2011-08-03 11:26:35,786 ERROR = [com.iw.nebula.dao.simpledb.SimpleDBAdapter] - >>>=20 >>> 2011-08-03 11:48:21,998 ERROR = [com.iw.nebula.dao.simpledb.SimpleDBAdapter] - >>>=20 >>> I did not see anything wrong in the cassandra/system.log >>>=20 >>> What's your suggestions? >>>=20 >>> --=20 >>> Dikang Gu >>> 0086 - 18611140205 >=20 --Apple-Mail=_7D322A16-AB74-4297-8E8D-97DA7460A153 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 The = error log will contain a call stack, we need = that. 

e.g. 

Fa= iled with exception = java.io.IOException:java.lang.NullPointerException
ERROR = 15:22:33,528 Failed with exception = java.io.IOException:java.lang.NullPointerException
java.io.IOExc= eption: java.lang.NullPointerException
at = org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java= :341)
= at = org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:133)
= at = org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1114)
at = org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:187)
<= div> = at = org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:241)=
= at = org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:456)
at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method)
at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39)
= at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25)
at = java.lang.reflect.Method.invoke(Method.java:597)
at = org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: = java.lang.NullPointerException
at = org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getCurrentKey(ColumnF= amilyRecordReader.java:82)
at = org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getCurrentKey(ColumnF= amilyRecordReader.java:53)
at = org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFor= mat$2.next(HiveCassandraStandardColumnInputFormat.java:164)
at = org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFor= mat$2.next(HiveCassandraStandardColumnInputFormat.java:111)
at = org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java= :326)
= ... 10 = more

Cheers

http://www.thelastpickle.com

On 4 Aug 2011, at 15:26, Dikang Gu wrote:

Yes, I do find the error = log! 

ERROR [pool-2-thread-63] 2011-08-04 = 13:23:54,138 Cassandra.java (line 3210) Internal error processing = get_range_slices
java.lang.NullPointerException
=
I'm using the cassandra-0.8.1, is this a known = bug?

Thanks.

-- 
Dikang Gu
0086 - = 18611140205
=20

On Wednesday, August 3, 2011 at 7:53 PM, aaron morton = wrote:

There really should be something = logged at the ERROR level in the server side log, that error is raised = when an unhanded exception bubbles out to the thrift layer on the = server.

Double check the logging is configured correctly. =

Cheers

-----------------
Aaron Morton
Freelance = Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 3 Aug 2011, at 14:19, Dikang Gu wrote:

I got this error when processing a lot = operations=85.

2011-08-03 11:26:35,786 ERROR = [com.iw.nebula.dao.simpledb.SimpleDBAdapter] - <Cassandra encountered = an internal error processing this request: TApplicationError type: 6 = message:Internal error processing batch_mutate>

2011-08-03 = 11:48:21,998 ERROR [com.iw.nebula.dao.simpledb.SimpleDBAdapter] - = <Cassandra encountered an internal error processing this request: = TApplicationError type: 6 message:Internal error processing = get_range_slices>

I did not see anything wrong in the = cassandra/system.log

What's your suggestions?

-- =
Dikang Gu
0086 - = 18611140205
=20 =20 =20 =20
=20


= --Apple-Mail=_7D322A16-AB74-4297-8E8D-97DA7460A153--