cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oksana Danylyshyn (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7287) Pig CqlStorage test fails with IAE
Date Wed, 07 Jan 2015 15:12:34 GMT


Oksana Danylyshyn commented on CASSANDRA-7287:

I am having issues with loading set types into Pig, and with reverting changes to this story,
it works as expected.

Values of set types are not loading correctly from Cassandra (cql3 table, Native protocol
v3) into Pig using CqlNativeStorage.  
When using Cassandra version 2.1.0 only empty values are loaded, and for newer versions (2.1.1
and 2.1.2) the following error is received: 
org.apache.cassandra.serializers.MarshalException: Unexpected extraneous bytes after set value
	at org.apache.cassandra.serializers.SetSerializer.deserializeForNativeProtocol(

Note, that it works correctly for version 2.1.0-rc4 and CqlStorage.

> Pig CqlStorage test fails with IAE
> ----------------------------------
>                 Key: CASSANDRA-7287
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop, Tests
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>             Fix For: 2.1 rc1
>         Attachments: 7287.txt
> {noformat}
>     [junit] java.lang.IllegalArgumentException
>     [junit]     at java.nio.Buffer.limit(
>     [junit]     at org.apache.cassandra.utils.ByteBufferUtil.readBytes(
>     [junit]     at org.apache.cassandra.serializers.CollectionSerializer.readValue(
>     [junit]     at org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(
>     [junit]     at org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(
>     [junit]     at org.apache.cassandra.serializers.CollectionSerializer.deserialize(
>     [junit]     at org.apache.cassandra.db.marshal.AbstractType.compose(
>     [junit]     at org.apache.cassandra.hadoop.pig.AbstractCassandraStorage.cassandraToObj(
>     [junit]     at org.apache.cassandra.hadoop.pig.CqlStorage.cqlColumnToObj(
>     [junit]     at org.apache.cassandra.hadoop.pig.CqlStorage.getNext(
> {noformat}
> I'm guessing this is caused by CqlStorage passing an empty BB to BBU, but I don't know
if it's pig that's broken or is a deeper issue.

This message was sent by Atlassian JIRA

View raw message