incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasun Weranga <kas...@wso2.com>
Subject Does Cassandra support IBM JDK?
Date Sat, 09 Feb 2013 09:33:10 GMT
Hi all,

I tested Cassandra 1.1.3 version on IBM JDK 1.6 in Linux. But I got
following issue when inserting data to Cassandra.

This is the exception

 ERROR {org.apache.cassandra.thrift.CustomTThreadPoolServer} -  Error
occurred during processing of message.
java.lang.NullPointerException
at
org.apache.cassandra.utils.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(FastByteComparisons.java:223)
 at
org.apache.cassandra.utils.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(FastByteComparisons.java:110)
at
org.apache.cassandra.utils.FastByteComparisons.compareTo(FastByteComparisons.java:41)
 at
org.apache.cassandra.utils.FBUtilities.compareUnsigned(FBUtilities.java:184)
at
org.apache.cassandra.utils.ByteBufferUtil.compareUnsigned(ByteBufferUtil.java:82)
 at
org.apache.cassandra.db.marshal.BytesType.bytesCompare(BytesType.java:58)
at org.apache.cassandra.db.marshal.BytesType.compare(BytesType.java:48)
 at org.apache.cassandra.db.marshal.BytesType.compare(BytesType.java:30)
at java.util.TreeMap.cmp(TreeMap.java:4467)
 at java.util.TreeMap.putImpl(TreeMap.java:4509)
at java.util.TreeMap.put(TreeMap.java:4489)
at
org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:95)
 at
org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:109)
at
org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:104)
 at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:214)
at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:175)
 at org.apache.cassandra.db.RowMutation.add(RowMutation.java:218)
at
org.apache.cassandra.db.RowMutation.addColumnOrSuperColumn(RowMutation.java:360)
 at
org.apache.cassandra.thrift.CassandraServer.internal_batch_mutate(CassandraServer.java:572)
at
org.apache.cassandra.thrift.CassandraServer.batch_mutate(CassandraServer.java:590)
 at
org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.getResult(Cassandra.java:3176)
at
org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.getResult(Cassandra.java:3164)
 at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
 at
org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:186)
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:735)

In the documentation it says Cassandra supports IBM JDK. But it seems not.
Is there any workaround for this issue?

Thanks,
Kasun.

Mime
View raw message