cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheetal Gosrani (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5488) CassandraStorage throws NullPointerException (NPE) when widerows is set to 'true'
Date Wed, 17 Apr 2013 19:53:17 GMT
Sheetal Gosrani created CASSANDRA-5488:

             Summary: CassandraStorage throws NullPointerException (NPE) when widerows is
set to 'true'
                 Key: CASSANDRA-5488
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
    Affects Versions: 1.2.4
         Environment: Ubuntu 12.04.1 x64, Cassandra 1.2.4
            Reporter: Sheetal Gosrani

CassandraStorage throws NPE when widerows is set to 'true'. 

2 problems in getNextWide:
1. Creation of tuple without specifying size
2. Calling addKeyToTuple on lastKey instead of key

    at org.apache.cassandra.utils.ByteBufferUtil.string(
    at org.apache.cassandra.utils.ByteBufferUtil.string(
    at org.apache.cassandra.cql.jdbc.JdbcUTF8.getString(
    at org.apache.cassandra.cql.jdbc.JdbcUTF8.compose(
    at org.apache.cassandra.db.marshal.UTF8Type.compose(
    at org.apache.cassandra.db.marshal.UTF8Type.compose(
    at org.apache.cassandra.hadoop.pig.CassandraStorage.addKeyToTuple(
    at org.apache.cassandra.hadoop.pig.CassandraStorage.getNextWide(
    at org.apache.cassandra.hadoop.pig.CassandraStorage.getNext(
    at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(
    at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(
    at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(
    at org.apache.hadoop.mapred.MapTask.runNewMapper(
    at org.apache.hadoop.mapred.Child$
    at Method)
    at org.apache.hadoop.mapred.Child.main(
2013-04-16 12:28:03,671 INFO org.apache.hadoop.mapred.Task: Runnning cleanup for the task

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message