Re: pig integration & NoClassDefFoundError TypeParser

2011-06-21 Thread Sasha Dolgy
bang on ... no idea why ... a new day a fresh login ... environment variables gone. working now with cassandra 0.8.0 and pig 0.8.1 went through all my steps and all is working ... except line 45 in the bin/pig_cassandra is not proper when there are multiple pig*.jar files. On Mon, Jun 20, 2011 a

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Jeremy Hanna
I think you might be having environment/classpath issues with an RC of cassandra 0.8 or something. I just downloaded 0.8 and did the following: - Ran the examples/hadoop_word_count/bin/word_count_setup to create some data - Ran contrib/pig/bin/pig_cassandra -x local example_script.pig (with the

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Jeremy Hanna
I seem to recall a last minute issue with 0.8.0 before release that the TypeParser wasn't in there (for the pig support). However, I'm pretty sure that got fixed before release. I'll test it out in a few minutes - stay tuned :). Jeremy On Jun 20, 2011, at 2:23 PM, Sasha Dolgy wrote: > cassa

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
cassandra-0.8.0/src/java/org/apache/cassandra/db/marshal/TypeParser.java : doesn't exist cassandra-0.8.1/src/java/org/apache/cassandra/db/marshal/TypeParser.java : exists... PIG integration with 0.8.0 is no longer working / doesn't work with 0.8.0 release, but will with 0.8.1 .. fair assumption?

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
Yes ... I ran an "ant" in the root directory on a fresh download of 0.8.0 src: /usr/local/src/apache-cassandra-0.8.0-src# ls /usr/local/src/apache-cassandra-0.8.0-src/build/classes/main/org/apache/cassandra/db/marshal/ AbstractCommutativeType.class AbstractType.class LexicalUUIDType.class

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Jeremy Hanna
hmmm, did you build the cassandra src in the root of your cassandra directory with ant? sounds like it can't find that cassandra class. That's required. On Jun 20, 2011, at 2:05 PM, Sasha Dolgy wrote: > Hi ... I still have the same problem with pig-0.8.0-cdh3u0... > > Maybe I'm doing somethin

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
Hi ... I still have the same problem with pig-0.8.0-cdh3u0... Maybe I'm doing something wrong. Where does org/apache/cassandra/db/marshal/TypeParser exist, or should exist? It's not in the $CASSANDRA_HOME/libs or /usr/local/src/pig-0.8.0-cdh3u0/lib or /usr/local/src/apache-cassandra-0.8.0-src/bu

Re: pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Jeremy Hanna
Try running with cdh3u0 version of pig and see if it has the same problem. They backported the patch (to pig 0.9 which should be out in time for the hadoop summit next week) that adds the updated jackson dependency for avro. The download URL for that is - http://archive.cloudera.com/cdh/3/pig

pig integration & NoClassDefFoundError TypeParser

2011-06-20 Thread Sasha Dolgy
Been trying for the past little bit to try and get the PIG integration working with Cassandra 0.8.0 1. Downloaded the src for 0.8.0 and ran ant build 2. went into contrib/pig and ran ant ... gives me: /usr/local/src/apache-cassandra-0.8.0-src/contrib/pig/build/cassandra_storage.jar and is copied