[jira] [Comment Edited] (CASSANDRA-7287) Pig CqlStorage test fails with IAE

2015-02-17 Thread Chhavi Gangwal (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14324200#comment-14324200
 ] 

Chhavi Gangwal edited comment on CASSANDRA-7287 at 2/17/15 2:08 PM:


Same issue persist for MapType as well, MapType objects retrieved are empty 
even for version 2.1.0-rc4


was (Author: chhavigangwal):
Same issue persist for MapType as well, MapType objects retrieved are empty 
even for versions for version 2.1.0-rc4

 Pig CqlStorage test fails with IAE
 --

 Key: CASSANDRA-7287
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7287
 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(Buffer.java:267)
 [junit] at 
 org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:542)
 [junit] at 
 org.apache.cassandra.serializers.CollectionSerializer.readValue(CollectionSerializer.java:117)
 [junit] at 
 org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:97)
 [junit] at 
 org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:28)
 [junit] at 
 org.apache.cassandra.serializers.CollectionSerializer.deserialize(CollectionSerializer.java:48)
 [junit] at 
 org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:66)
 [junit] at 
 org.apache.cassandra.hadoop.pig.AbstractCassandraStorage.cassandraToObj(AbstractCassandraStorage.java:792)
 [junit] at 
 org.apache.cassandra.hadoop.pig.CqlStorage.cqlColumnToObj(CqlStorage.java:195)
 [junit] at 
 org.apache.cassandra.hadoop.pig.CqlStorage.getNext(CqlStorage.java:118)
 {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
(v6.3.4#6332)


[jira] [Comment Edited] (CASSANDRA-7287) Pig CqlStorage test fails with IAE

2015-02-17 Thread Chhavi Gangwal (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14324200#comment-14324200
 ] 

Chhavi Gangwal edited comment on CASSANDRA-7287 at 2/17/15 2:25 PM:


Same issue persist for MapType as well.


was (Author: chhavigangwal):
Same issue persist for MapType as well, MapType objects retrieved are empty 
even for version 2.1.0-rc4

 Pig CqlStorage test fails with IAE
 --

 Key: CASSANDRA-7287
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7287
 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(Buffer.java:267)
 [junit] at 
 org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:542)
 [junit] at 
 org.apache.cassandra.serializers.CollectionSerializer.readValue(CollectionSerializer.java:117)
 [junit] at 
 org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:97)
 [junit] at 
 org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:28)
 [junit] at 
 org.apache.cassandra.serializers.CollectionSerializer.deserialize(CollectionSerializer.java:48)
 [junit] at 
 org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:66)
 [junit] at 
 org.apache.cassandra.hadoop.pig.AbstractCassandraStorage.cassandraToObj(AbstractCassandraStorage.java:792)
 [junit] at 
 org.apache.cassandra.hadoop.pig.CqlStorage.cqlColumnToObj(CqlStorage.java:195)
 [junit] at 
 org.apache.cassandra.hadoop.pig.CqlStorage.getNext(CqlStorage.java:118)
 {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
(v6.3.4#6332)