cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5885) NPE in CqlRecordWriter when sinking null values
Date Wed, 14 Aug 2013 10:56:48 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Eriksson resolved CASSANDRA-5885.
----------------------------------------

    Resolution: Not A Problem
    
> NPE in CqlRecordWriter when sinking null values
> -----------------------------------------------
>
>                 Key: CASSANDRA-5885
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5885
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>         Environment: c*-1.2.8 server, c*-1.2.8 client, cascading-cassandra, cascading,
cascalog
>            Reporter: craig mcmillan
>            Priority: Trivial
>             Fix For: 1.2.8
>
>
> null values cause a Thrift NPE when sinking to CqlRecordWriter (replacing the null values
with an appropriate non-null sentinel works) :
> 	at java.lang.Thread.run(Thread.java:680) ~[na:1.6.0_51]
> java.io.IOException: java.lang.NullPointerException
> 	at org.apache.cassandra.hadoop.cql3.CqlRecordWriter$RangeClient.run(CqlRecordWriter.java:245)
~[cassandra-all-1.2.8.jar:1.2.8]
> java.lang.NullPointerException: null
> 	at org.apache.thrift.protocol.TBinaryProtocol.writeBinary(TBinaryProtocol.java:194)
~[libthrift-0.7.0.jar:0.7.0]
> 	at org.apache.cassandra.thrift.Cassandra$execute_prepared_cql3_query_args.write(Cassandra.java:41253)
~[cassandra-thrift-1.2.8.jar:1.2.8]
> 	at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63) ~[libthrift-0.7.0.jar:0.7.0]
> 	at org.apache.cassandra.thrift.Cassandra$Client.send_execute_prepared_cql3_query(Cassandra.java:1683)
~[cassandra-thrift-1.2.8.jar:1.2.8]
> 	at org.apache.cassandra.thrift.Cassandra$Client.execute_prepared_cql3_query(Cassandra.java:1673)
~[cassandra-thrift-1.2.8.jar:1.2.8]
> 	at org.apache.cassandra.hadoop.cql3.CqlRecordWriter$RangeClient.run(CqlRecordWriter.java:229)
~[cassandra-all-1.2.8.jar:1.2.8]

--
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: http://www.atlassian.com/software/jira

Mime
View raw message