The error log will contain a call stack, we need that. 

e.g. 

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(DelegatingMethodAccessorImpl.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(ColumnFamilyRecordReader.java:82)
at org.apache.cassandra.hadoop.ColumnFamilyRecordReader.getCurrentKey(ColumnFamilyRecordReader.java:53)
at org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFormat$2.next(HiveCassandraStandardColumnInputFormat.java:164)
at org.apache.hadoop.hive.cassandra.input.HiveCassandraStandardColumnInputFormat$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

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

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

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