cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3962) CassandraStorage can't cast fields from a CF correctly
Date Mon, 27 Feb 2012 15:48:48 GMT

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

Brandon Williams updated CASSANDRA-3962:
----------------------------------------

         Reviewer: xedin
    Fix Version/s: 1.1.0
                   1.0.9
    
> CassandraStorage can't cast fields from a CF correctly
> ------------------------------------------------------
>
>                 Key: CASSANDRA-3962
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3962
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.0.8
>         Environment: OSX 10.6.latest, Pig 0.9.2.
>            Reporter: Janne Jalkanen
>            Assignee: Brandon Williams
>              Labels: hadoop, pig
>             Fix For: 1.0.9, 1.1.0
>
>         Attachments: 0001-Add-LoadCaster-to-CassandraStorage.txt, 0002-Compose-key-from-marshaller.txt,
test.cli, test.pig
>
>
> Included scripts demonstrate the problem.  Regardless of whether the key is cast as a
chararray or not, the Pig scripts fail with 
> {code}
> java.lang.ClassCastException: org.apache.pig.data.DataByteArray cannot be cast to java.lang.String
> 	at org.apache.pig.backend.hadoop.HDataType.getWritableComparableTypes(HDataType.java:72)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapReduce$Map.collect(PigGenericMapReduce.java:117)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.runPipeline(PigGenericMapBase.java:269)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.map(PigGenericMapBase.java:262)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.map(PigGenericMapBase.java:64)
> 	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message